tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sun2 vs. gcc48



On Sun, Feb 01, 2015 at 02:02:58PM -0800, Chuck Silvers wrote:
> I'm pretty sure that's not correct but I don't know what would be better.
> without that change I get this error trying to link libc.so:
> 
> /home/chs/netbsd/trees/sun2-shlib/destdir/sun2/usr/lib/libgcc.a(_float.o): In function `__negsf2':
> (.text+0x686): multiple definition of `__negsf2'
> libc_pic.a(negsf2.pico):(.text+0x0): first defined here
> /home/chs/netbsd/trees/sun2-shlib/destdir/sun2/usr/lib/libgcc.a(_double.o): In function `__negdf2':
> (.text+0x8ce): multiple definition of `__negdf2'
> libc_pic.a(negdf2.pico):(.text+0x0): first defined here
> collect2: error: ld returned 1 exit status
> *** [libc.so.12.197] Error code 1

Can you check the spec, please? libc.so should need nothing from
libgcc.a that libgcc_s.so doesn't already provide.

Joerg


Home | Main Index | Thread Index | Old Index