This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hidden symbol `__divsf3'


On Monday 14 March 2005 08:01 am, Manfred Gruber wrote:
> solved it with adding: -lgcc_s when building shared libs.
> Is this correct ?

it depends on your definition of 'correct' :)

i think this is born from the binutils' --as-needed support ... previous 
versions of gcc on arm would always force -lgcc_s when building shared 
objects, but with newer binutils, gcc & binutils are supposed to link in 
-lgcc_s only 'as needed' ...

one hack around this i use is to just go back to the old behavior of forcing 
-lgcc_s on all shared objects via gcc's spec file ... not the best solution 
by far, but it works
-mike

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]