[klibc] [PATCH] do not use -R on ppc to link shared objects

Olaf Hering olh at suse.de
Thu Nov 27 17:59:07 PST 2003


 On Thu, Nov 27, H. Peter Anvin wrote:

> Olaf Hering wrote:
> >The *.shared targets require -shared on powerpc, and -R leads to linker
> >errors.
> >This patch makes the -R an arch define. ia64 at least requires -R.
> 
> Hmmm... *both* of those sounds like linker bugs.  Unless there is a 
> specific reason for it I'd rather try to get binutils fixed.  I'm not 
> sure what consequences -shared has, and in *particular* what 
> consequences it will have in future linker versions.

I talked to Alan Modra and he said -R is wrong. the current result is a
'cant read symbols' if -R is specified.

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG



More information about the klibc mailing list