Subject: re: Softfloat and GCC
To: Ben Harris <firstname.lastname@example.org>
From: matthew green <email@example.com>
Date: 09/16/2003 17:40:32
>. when I tried to build sh3 libc with -DSOFTFLOAT_NEED_FIXUNS
> I've got linkage conflicts while building gprof
>/usr/nb/distrib/hpcsh/usr/lib/libc.a(softfloat.o): In function `__fixunsdfsi':
>softfloat.o(.text+0x257c): multiple definition of `__fixunsdfsi'
>/usr/nb/distrib/hpcsh/usr/lib/libgcc.a(_fixunsdfsi.o)(.text+0x0): first defined here
>/usr/nb/tools/shle--netbsdelf/bin/ld: Warning: size of symbol `__fixunsdfsi' changed from 100 to 220 in /usr/nb/distrib/hpcsh/usr/lib/libc.a(softfloat.o)
So that considers that libgcc version to be "first", and then explodes on
the libc one. As I understand it, the tail of the linker invocation goes
something like "-lc -lgcc -lc", so what's happened here is that the main
looking at "gcc -v" output, that's "-lgcc -lc -lgcc".