Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Greg A. Woods <woods@planix.ca>
List: netbsd-bugs
Date: 05/31/2007 18:05:08
The following reply was made to PR toolchain/36409; it has been noted by GNATS.
From: "Greg A. Woods" <woods@planix.ca>
To: NetBSD GNATS <gnats-bugs@NetBSD.org>
Cc: NetBSD toolchain manager <toolchain-manager@netbsd.org>
Subject: Re: toolchain/36409: cannot cross-build netbsd-4 for amd64 on i386
Date: Thu, 31 May 2007 14:02:33 -0400
--pgp-sign-Multipart_Thu_May_31_14:02:32_2007-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
This is of course netbsd-4 building netbsd-4 on i386 targeting alpha:
$ cd gnu/lib/libobjc4/
$ nbmake-alpha dependall
# build libobjc4/libobjc.a
rm -f libobjc.a
/build/woods/once/netbsd-4-i386-alpha-tools/bin/alpha--netbsd-ar cq libobjc=
.a `NM=3D/build/woods/once/netbsd-4-i386-alpha-tools/bin/alpha--netbsd-nm N=
M=3D/build/woods/once/netbsd-4-i386-alpha-tools/bin/alpha--netbsd-nm MKTEMP=
=3D/build/woods/once/netbsd-4-i386-alpha-tools/bin/nbmktemp /build/woods/on=
ce/netbsd-4-i386-alpha-tools/bin/nblorder archive.o class.o encoding.o gc.o=
hash.o init.o misc.o nil_method.o objects.o sarray.o selector.o sendmsg.o =
thr.o thr-objc.o exception.o hash_compat.o NXConstStr.o Object.o Protocol.o=
linking.o | /build/woods/once/netbsd-4-i386-alpha-tools/bin/nbtsort -q`
/build/woods/once/netbsd-4-i386-alpha-tools/bin/alpha--netbsd-ranlib libobj=
c.a
# compile libobjc4/hash.go
/build/woods/once/netbsd-4-i386-alpha-tools/bin/alpha--netbsd-gcc -O2 -mno-=
soft-float -mcpu=3D21164a -g -Werror -mieee -O2 -mno-soft-float -mcpu=3D21=
164a -pipe -fno-strict-aliasing -fexceptions -I. -I/building/work/woods/m=
-NetBSD-4/gnu/usr.bin/gcc4/arch/alpha -DIN_GCC -DIN_TARGET_LIBS -I/building=
/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc -I/building/work/woods/m-NetBS=
D-4/gnu/dist/gcc4/libobjc/objc -I/building/work/woods/m-NetBSD-4/gnu/dist/g=
cc4/libobjc/../gcc -I/building/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc/=
../gcc/config -I/building/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc/../in=
clude -I/building/work/woods/m-NetBSD-4/gnu/lib/libstdc++-v3_4/arch/alpha =
-nostdinc -isystem /build/woods/once/netbsd-4-alpha-21164a-destdir/usr/inc=
lude -c -DDEBUG -g /building/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc=
/hash.c -o hash.go
cc1: warnings being treated as errors
/building/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc/hash.c: In function '=
objc_hash_add':
/building/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc/hash.c:156: warning: =
cast from pointer to integer of different size
*** Failed target: hash.go
*** Failed command: /build/woods/once/netbsd-4-i386-alpha-tools/bin/alpha--=
netbsd-gcc -O2 -mno-soft-float -mcpu=3D21164a -g -Werror -mieee -O2 -mno-so=
ft-float -mcpu=3D21164a -pipe -fno-strict-aliasing -fexceptions -I. -I/buil=
ding/work/woods/m-NetBSD-4/gnu/usr.bin/gcc4/arch/alpha -DIN_GCC -DIN_TARGET=
_LIBS -I/building/work/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc -I/building/w=
ork/woods/m-NetBSD-4/gnu/dist/gcc4/libobjc/objc -I/building/work/woods/m-Ne=
tBSD-4/gnu/dist/gcc4/libobjc/../gcc -I/building/work/woods/m-NetBSD-4/gnu/d=
ist/gcc4/libobjc/../gcc/config -I/building/work/woods/m-NetBSD-4/gnu/dist/g=
cc4/libobjc/../include -I/building/work/woods/m-NetBSD-4/gnu/lib/libstdc++-=
v3_4/arch/alpha -nostdinc -isystem /build/woods/once/netbsd-4-alpha-21164a-=
destdir/usr/include -c -DDEBUG -g /building/work/woods/m-NetBSD-4/gnu/dist/=
gcc4/libobjc/hash.c -o hash.go
*** Error code 1
Stop.
nbmake: stopped in /building/work/woods/m-NetBSD-4/gnu/lib/libobjc4
*** Failed target: dependall
*** Failed command: cd /building/work/woods/m-NetBSD-4/gnu/lib/libobjc4; /b=
uild/woods/once/netbsd-4-i386-alpha-tools/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /building/work/woods/m-NetBSD-4/gnu/lib/libobjc4
--=20
Greg A. Woods
Planix, Inc.
<woods@planix.com> +1 416 489-5852 x122 http://www.planix.com/
--pgp-sign-Multipart_Thu_May_31_14:02:32_2007-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: wSDQ9LZ+4ycfJSFgNDz+h0107n6YewNi
iQA/AwUBRl8NuGZ9cbd4v/R/EQJl8wCguaV5LqCAztAAmxLlU+caJrjXqtYAoPYD
gk+fjE4lOzUf5tIwwrHVxAyl
=B+Jl
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Thu_May_31_14:02:32_2007-1--