Subject: Re: amd64 build failure
To: Paul Goyette <paul@whooppee.com>
From: Andreas Burghardt <a-burghardt@gmx.de>
List: current-users
Date: 05/29/2007 22:00:42
Hello again,
the build now broke again (with the patich for libhack).
# uname -a
compile amd64/savenewlabel.o
link amd64/sysinst.ro
compile ramdisk/ramdiskbin.o
link ramdisk/ramdiskbin
mount_nfs.cro: In function `getnfsargs$$from$$mount_nfs':
: undefined reference to `__memcpy_chk'
shutdown.cro: In function `_crunched_shutdown_stub':
shutdown.c:(.text+0x799): undefined reference to `__fgets_chk'
ftp.cro: In function `doproxy$$from$$ftp':
: undefined reference to `__memmove_chk'
ftp.cro: In function `fetch_url':
fetch.c:(.text+0x64b3): undefined reference to `__fgets_chk'
fetch.c:(.text+0x66b7): undefined reference to `__fgets_chk'
ftp.cro: In function `hookup$$from$$ftp':
: undefined reference to `__memcpy_chk'
ftp.cro: In function `getline$$from$$ftp':
: undefined reference to `__fgets_chk'
ftp.cro: In function `remglob$$from$$ftp':
: undefined reference to `__fgets_chk'
gzip.cro: In function `gz_uncompress':
gzip.c:(.text+0x752): undefined reference to `__memmove_chk'
gzip.cro: In function `check_outfile':
gzip.c:(.text+0x1aa7): undefined reference to `__fgets_chk'
/usr/obj/dest/usr/lib/libbz2.a(bzlib.o): In function `BZ2_bzWriteOpen':
bzlib.c:(.text+0xc40): undefined reference to `__strcat_chk'
bzlib.c:(.text+0xc52): undefined reference to `__strcat_chk'
ollect2: ld returned 1 exit status
--- ramdiskbin ---
*** [ramdiskbin] Error code 1
1 error
nbmake: stopped in /usr/src/distrib/amd64/ramdisks/ramdisk
--- ramdiskbin.strip ---
*** [ramdiskbin.strip] Error code 2
1 error
nbmake: stopped in /usr/src/distrib/amd64/ramdisks/ramdisk
--- ramdiskbin ---
*** [ramdiskbin] Error code 2
1 error
nbmake: stopped in /usr/src/distrib/amd64/ramdisks/ramdisk
--- all-ramdisk ---
*** [all-ramdisk] Error code 2
1 error
nbmake: stopped in /usr/src/distrib/amd64/ramdisks
--- all-ramdisks ---
*** [all-ramdisks] Error code 2
1 error
nbmake: stopped in /usr/src/distrib/amd64
--- all-amd64 ---
*** [all-amd64] Error code 2
1 error
nbmake: stopped in /usr/src/distrib
--- snap_post ---
*** [snap_post] Error code 2
1 error
nbmake: stopped in /usr/src/etc
--- release ---
*** [release] Error code 2
1 error
nbmake: stopped in /usr/src
ERROR: Failed to make release
*** BUILD ABORTED ***
On Tue, May 29, 2007 at 11:39:07AM -0700, Paul Goyette wrote:
> Fixed already - re-update your sources.
>
> On Tue, 29 May 2007, Andreas Burghardt wrote:
>
> >Hello,
> >
> >I made a build,release 1 hour ago (with the code 1 hour ago):
> >
> >`rtsol.ro' is up to date.
> > link ramdisk/ramdiskbin
> > /usr/obj/dest/usr/lib/libc.a(multibyte_amd1.o): In function `wctob':
> > multibyte_amd1.c:(.text+0x0): multiple definition of `wctob'
> > libhack.o:: first defined here
> > /usr/obj/tools/lib/gcc/x86_64--netbsd/4.1.2/../../../../x86_64--netbsd/bin/ld: Warning: size of symbol `wctob' changed from 3 in libhack.o to 60 in /usr/obj/dest/usr/lib/libc.a(multibyte_amd1.o)
> > /usr/obj/dest/usr/lib/libc.a(multibyte_amd1.o): In function
> > `wcrtomb':
> > multibyte_amd1.c:(.text+0x40): multiple definition of `wcrtomb'
> > libhack.o:: first defined here
> > /usr/obj/tools/lib/gcc/x86_64--netbsd/4.1.2/../../../../x86_64--netbsd/bin/ld: Warning: size of symbol `wcrtomb' changed from 9 in libhack.o to 175 in /usr/obj/dest/usr/lib/libc.a(multibyte_amd1.o)
> > /usr/obj/dest/usr/lib/libc.a(multibyte_amd1.o): In function
> > `mbrtowc':
> > multibyte_amd1.c:(.text+0x300): multiple definition of `mbrtowc'
> > libhack.o:: first defined here
> > /usr/obj/tools/lib/gcc/x86_64--netbsd/4.1.2/../../../../x86_64--netbsd/bin/ld: Warning: size of symbol `mbrtowc' changed from 14 in libhack.o to 203 in /usr/obj/dest/usr/lib/libc.a(multibyte_amd1.o)
> > mount_nfs.cro: In function `getnfsargs$$from$$mount_nfs':
> > : undefined reference to `__memcpy_chk'
> > shutdown.cro: In function `_crunched_shutdown_stub':
> > shutdown.c:(.text+0x799): undefined reference to `__fgets_chk'
> > ftp.cro: In function `doproxy$$from$$ftp':
> > : undefined reference to `__memmove_chk'
> > ftp.cro: In function `fetch_url':
> > fetch.c:(.text+0x64b3): undefined reference to `__fgets_chk'
> > fetch.c:(.text+0x66b7): undefined reference to `__fgets_chk'
> > ftp.cro: In function `hookup$$from$$ftp':
> > : undefined reference to `__memcpy_chk'
> > ftp.cro: In function `getline$$from$$ftp':
> > : undefined reference to `__fgets_chk'
> > ftp.cro: In function `remglob$$from$$ftp':
> > : undefined reference to `__fgets_chk'
> > gzip.cro: In function `gz_uncompress':
> > gzip.c:(.text+0x752): undefined reference to `__memmove_chk'
> > gzip.cro: In function `check_outfile':
> > gzip.c:(.text+0x1aa7): undefined reference to `__fgets_chk'
> > /usr/obj/dest/usr/lib/libbz2.a(bzlib.o): In function
> > `BZ2_bzWriteOpen':
> > bzlib.c:(.text+0xc40): undefined reference to `__strcat_chk'
> > bzlib.c:(.text+0xc52): undefined reference to `__strcat_chk'
> > collect2: ld returned 1 exit status
> > --- ramdiskbin ---
> > *** [ramdiskbin] Error code 1
> > 1 error
> >
> > nbmake: stopped in /usr/src/distrib/amd64/ramdisks/ramdisk
> > --- ramdiskbin.strip ---
> > *** [ramdiskbin.strip] Error code 2
> > 1 error
> >
> > nbmake: stopped in /usr/src/distrib/amd64/ramdisks/ramdisk
> > --- ramdiskbin ---
> > *** [ramdiskbin] Error code 2
> > 1 error
> >
> > nbmake: stopped in /usr/src/distrib/amd64/ramdisks/ramdisk
> > --- all-ramdisk ---
> > *** [all-ramdisk] Error code 2
> > 1 error
> >
> > nbmake: stopped in /usr/src/distrib/amd64/ramdisks
> > --- all-ramdisks ---
> > *** [all-ramdisks] Error code 2
> > 1 error
> >
> > nbmake: stopped in /usr/src/distrib/amd64
> > --- all-amd64 ---
> > *** [all-amd64] Error code 2
> > 1 error
> >
> > nbmake: stopped in /usr/src/distrib
> > --- snap_post ---
> > *** [snap_post] Error code 2
> > 1 error
> >
> > nbmake: stopped in /usr/src/etc
> > --- release ---
> > *** [release] Error code 2
> > 1 error
> >
> > nbmake: stopped in /usr/src
> >
> > ERROR: Failed to make release
> > *** BUILD ABORTED ***
> >
> >Regards,
> >
> > Andreas Burghardt
> >
>
> ----------------------------------------------------------------------
> | Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
> | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul@whooppee.com |
> | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
> ----------------------------------------------------------------------