Subject: Re: building 2.0.2/sparc64 on 3.0_BETA/i386 fails
To: Matthias Scheler <tron@zhadum.de>
From: Stefan Schumacher <stefan@net-tex.de>
List: current-users
Date: 06/25/2005 18:58:05
--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Also sprach Matthias Scheler (tron@zhadum.de)
> In article <20050621072944.GA1688@aragorn.net-tex.de>,
> 	Stefan Schumacher <stefan@net-tex.de> writes:
>=20
> That is obviously not the command line used to build the kernel. Could
> you please provide the correct one?



-------------------------
# ./build.sh -O /ramdisk/ -T /ramdisk/ -m sparc64 kernel=3DULTRA5


=3D=3D=3D> build.sh command: ./build.sh -O /ramdisk/ -T /ramdisk/ -m sparc64
kernel=3DULTRA5=20
=3D=3D=3D> build.sh started: Fri Jun 24 14:19:30 CEST 2005=20
=3D=3D=3D> MACHINE:          sparc64=20
=3D=3D=3D> MACHINE_ARCH:     sparc64=20
=3D=3D=3D> TOOLDIR path:     /ramdisk=20
=3D=3D=3D> DESTDIR path:     /ramdisk/destdir.sparc64=20
=3D=3D=3D> RELEASEDIR path:  /ramdisk/releasedir=20
=3D=3D=3D> makewrapper:      /ramdisk/bin/nbmake-sparc64=20
=3D=3D=3D> Updated /ramdisk/bin/nbmake-sparc64=20
=3D=3D=3D> Building kernel without building new tools=20
=3D=3D=3D> Building kernel:  ULTRA5=20
=3D=3D=3D> Build directory:  /ramdisk/sys/arch/sparc64/compile/ULTRA5


-------------------------
[...]
-------------------------

#    create  kern/__assert.d

CC=3D/ramdisk/bin/sparc--netbsdelf-gcc /ramdisk/bin/nbmkdep -f
__assert.d --     -I/usr/home/unenc/202/src/sys/lib/libkern/arch/sparc
-Dsparc64 -D__sparc64__ -m32 -Wa,-Av8plusa -mcpu=3Dultrasparc -I../../.
-I/usr/home/unenc/202/src/sys/arch -I/usr/home/unenc/202/src/sys
-nostdinc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT    -nostdinc
-isystem /ramdisk/destdir.sparc64/usr/include
/usr/home/unenc/202/src/sys/lib/libkern/__assert.c

nbmkdep: /ramdisk/bin/sparc--netbsdelf-gcc: not found: No such file or
directory


*** Failed target:  __assert.d

*** Failed command: CC=3D/ramdisk/bin/sparc--netbsdelf-gcc
/ramdisk/bin/nbmkdep -f __assert.d --
-I/usr/home/unenc/202/src/sys/lib/libkern/arch/sparc -Dsparc64
-D__sparc64__ -m32 -Wa,-Av8plusa -mcpu=3Dultrasparc -I../../.
-I/usr/home/unenc/202/src/sys/arch -I/usr/home/unenc/202/src/sys
-nostdinc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -nostdinc
-isystem /ramdisk/destdir.sparc64/usr/include
/usr/home/unenc/202/src/sys/lib/libkern/__assert.c

*** Error code 1


Stop.

nbmake: stopped in /ramdisk/sys/arch/sparc64/compile/ULTRA5/lib/kern


*** Failed target:  dependkernlib

*** Failed command: cd
/ramdisk/sys/arch/sparc64/compile/ULTRA5/lib/kern &&
/ramdisk/bin/nbmake -f
/usr/home/unenc/202/src/sys/lib/libkern/Makefile
KERNDIR=3D/usr/home/unenc/202/src/sys/lib/libkern
CC=3D/ramdisk/bin/sparc--netbsdelf-gcc CFLAGS=3D\ -mno-fpu\ \ \ \ \
-ffreestanding\ \ \ -O2\ -Werror\ -Wall\ -Wno-main\
-Wno-format-zero-length\ -Wpointer-arith\ -Wmissing-prototypes\
-Wstrict-prototypes\ -Wno-sign-compare\ -fno-zero-initialized-in-bss
AS=3D/ramdisk/bin/sparc--netbsdelf-as AFLAGS=3D\ -Wa,-Av8plusa\ -x\
assembler-with-cpp\ -traditional-cpp\ \ -D_LOCORE
LORDER=3DNM=3D/ramdisk/bin/sparc--netbsdelf-nm\
MKTEMP=3D/ramdisk/bin/nbmktemp\ /ramdisk/bin/nblorder
TSORT=3D/ramdisk/bin/nbtsort\ -q LD=3D/ramdisk/bin/sparc--netbsdelf-ld
STRIP=3D/ramdisk/bin/sparc--netbsdelf-strip
AR=3D/ramdisk/bin/sparc--netbsdelf-ar
NM=3D/ramdisk/bin/sparc--netbsdelf-nm
RANLIB=3D/ramdisk/bin/sparc--netbsdelf-ranlib
SIZE=3D/ramdisk/bin/sparc--netbsdelf-size MACHINE=3Dsparc64
MACHINE_ARCH=3Dsparc KERNCPPFLAGS=3D-Dsparc64\ -D__sparc64__\ -m32\
-Wa,-Av8plusa\ -mcpu=3Dultrasparc\ -I../../.\
-I/usr/home/unenc/202/src/sys/arch\ -I/usr/home/unenc/202/src/sys\
-nostdinc\ -DLKM\ -DMAXUSERS=3D32\ -D_KERNEL\ -D_KERNEL_OPT
KERNMISCCPPFLAGS=3D LINTFLAGS=3D-bcehnxzFS depend

*** Error code 1

Stop.

nbmake: stopped in /ramdisk/sys/arch/sparc64/compile/ULTRA5

ERROR: Failed to make depend in
/ramdisk/sys/arch/sparc64/compile/ULTRA5

*** BUILD ABORTED ***

-------------------------


Same happens with ./build.sh -m sparc64 tools kernel=3DGENERIC32



--=20
PGP FPR: CF74 D5F2 4871 3E5C FFFE 0130 11F4 C41E B3FB AE33
--=20
I wish I had an angel / For one moment of love=20
I wish I had your angel Your Virgin Mary undone=20
I`m in love with my lust Burning angelwings to dust=20
I wish I had your angel tonight  --- Nightwish

--yrj/dFKFPuw6o+aM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFCvY0dEfTEHrP7rjMRAps5AJ9RgcMy5yoIigjdX5LfJ/ECStI0LgCfXqCe
bcEIvw4SSw1C5/kzbJ5Sn/E=
=1Kzq
-----END PGP SIGNATURE-----

--yrj/dFKFPuw6o+aM--