Subject: building netbsd-3 fails
To: None <current-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 04/07/2005 21:18:05
Hi,
building a release from netbsd-3 fails with:
--- ramdiskbin ---
# link ramdisk-big/ramdiskbin
[...]
/local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)(.text+0x26c4): In function `setpassent':
: multiple definition of `_setpassent'
libhack.o(.text+0x1331): first defined here
/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/netbsd-3/src/tooldir/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol `_setpassent' changed from 31 in libhack.o to 89 in /local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)
/local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)(.text+0x2720): In function `_setpwent':
: multiple definition of `_setpwent'
libhack.o(.text+0x1325): first defined here
/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/netbsd-3/src/tooldir/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol `_setpwent' changed from 12 in libhack.o to 60 in /local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)
/local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)(.text+0x24e0): In function `getpwnam':
: multiple definition of `_getpwnam'
libhack.o(.text+0x1209): first defined here
/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/netbsd-3/src/tooldir/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol `_getpwnam' changed from 47 in libhack.o to 89 in /local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)
/local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)(.text+0x2688): In function `_endpwent':
: multiple definition of `_endpwent'
libhack.o(.text+0x1350): first defined here
/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/netbsd-3/src/tooldir/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol `_endpwent' changed from 41 in libhack.o to 60 in /local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)
/local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)(.text+0x25b4): In function `_getpwuid':
: multiple definition of `_getpwuid'
libhack.o(.text+0x1297): first defined here
/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/netbsd-3/src/tooldir/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol `_getpwuid' changed from 47 in libhack.o to 89 in /local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)
/local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)(.text+0x2488): In function `_getpwent':
: multiple definition of `_getpwent'
libhack.o(.text+0x11c8): first defined here
/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/netbsd-3/src/tooldir/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol `_getpwent' changed from 65 in libhack.o to 85 in /local/pop1/bouyer/tmp/i386/dest/usr/lib/libc.a(getpwent.o)
collect2: ld returned 1 exit status
Any idea ? I started from a empty destdir and objdir ...
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--