Subject: Re: Building NetBSD 4.99.2 Broken ... :(
To: None <current-users@netbsd.org>
From: KlinT <klint@klintcentral.net>
List: current-users
Date: 09/20/2006 12:57:09
I've tryied to build the release with HAVE_GCC=3D3 ...

The same error occur :(

Any idea ?

Best Regards.

Le 20 sept. 06 =E0 12:13, KlinT a =E9crit :

> Hi all,
>
> I'm trying to build NetBSD Current i386 ( Sources Updated this =20
> morning ) and it fails on the BUILD RELEASE ... :(
>
> I'm running 4.99.2 i386 ( 18 Sept 2006 ) / GENERIC.MP kernel on an =20
> Athlon64 X2.
> I've the option HAVE_GCC=3D4 in my MK.CONF
>
>
> I've found many errors like the following :
>
> ----------------------------------------------------------------------=20=

> --------------------------------------------------------------
> i386--netbsdelf-gcc: .: linker input file unused because linking =20
> not done
> ----------------------------------------------------------------------=20=

> --------------------------------------------------------------
>
> and then the build process stops :
>
> ----------------------------------------------------------------------=20=

> --------------------------------------------------------------
> dependall =3D=3D=3D> games/dm
>     compile  msgfmt/msgfmt.o
>      create  dm/dm.d
>      create  dm/utmpentry.d
>     compile  bfd/section.o
>      create  dm/.depend
>      format  dm/dm.cat8
>      format  dm/dm.conf.cat5
>     compile  dm/dm.o
> In file included from /sata2/BUILD/src/games/dm/dm.c:61:
> /sata2/BUILD/src/usr.bin/who/utmpentry.h:53: error: '_UTX_USERSIZE' =20=

> undeclared here (not in a function)
> /sata2/BUILD/src/usr.bin/who/utmpentry.h:54: error: '_UTX_LINESIZE' =20=

> undeclared here (not in a function)
> /sata2/BUILD/src/usr.bin/who/utmpentry.h:55: error: '_UTX_HOSTSIZE' =20=

> undeclared here (not in a function)
> --- dm.o ---
> *** [dm.o] Error code 1
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src/games/dm
> --- dependall ---
> *** [dependall] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src/games/dm
> --- dependall-dm ---
> *** [dependall-dm] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src/games
> --- dependall-games ---
> *** [dependall-games] Error code 2
> A failure has been detected in another branch of the parallel make
>
> nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gdb53/bfd
> --- dependall ---
> *** [dependall] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gdb53/bfd
> --- dependall-bfd ---
> *** [dependall-bfd] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gdb53
> --- dependall-gdb53 ---
> *** [dependall-gdb53] Error code 2
> A failure has been detected in another branch of the parallel make
>
> nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gettext/msgfmt
> --- dependall ---
> *** [dependall] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gettext/msgfmt
> --- dependall-msgfmt ---
> *** [dependall-msgfmt] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gettext
> --- dependall-gettext ---
> *** [dependall-gettext] Error code 2
> 2 errors
>
> nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin
> --- dependall-usr.bin ---
> *** [dependall-usr.bin] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src/gnu
> --- dependall-gnu ---
> *** [dependall-gnu] Error code 2
> 2 errors
>
> nbmake: stopped in /sata2/BUILD/src
> --- do-build ---
> *** [do-build] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src
> --- build ---
> *** [build] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src
> --- distribution ---
> *** [distribution] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src
> --- release ---
> *** [release] Error code 2
> 1 error
>
> nbmake: stopped in /sata2/BUILD/src
>
> ERROR: Failed to make release
> *** BUILD ABORTED ***
>
> ----------------------------------------------------------------------=20=

> --------------------------------------------------------------
>
> Here is my command line for the BUILD RELEASE Step :
>
> ----------------------------------------------------------------------=20=

> --------------------------------------------------------------
> =3D=3D=3D> build.sh command: ./build.sh -N 1 -j 3 -m i386 -O =
/sata2/BUILD/=20
> obj.i386 -T /sata2/BUILD/tools.i386 -D /sata2/BUILD/dest.i386 -R
> /sata2/BUILD/release.i386 -X /sata2/BUILD/xsrc -U -x -u release
> ----------------------------------------------------------------------=20=

> --------------------------------------------------------------
>
> Please note that I've experienced such error a few months ago when =20
> switching to GCC4 ...
>
> Any idea or workarround ?
>
> Many Thanks,
>
> Arnaud.