Subject: cross-build breakage...
To: None <tech-toolchain@netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: tech-toolchain
Date: 03/19/2002 05:47:36
--xYEXny2b0/vlBQCR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hey, all. I'm wondering if anyone can shed light on this for me.

The host system is NetBSD 1.5.3_RC1 / i386, and the builds I'm trying for
are macppc and sparc, both -current. The same source tree builds fine if my
MACHINE target is i386, but it dies "here and here" for macppc and sparc,
respectively. (Thanks in advance for clues. I'd love to have this i386
system building for my slower architectures.)

(macppc)

/usr/obj/tools/bin/powerpc--netbsd-gcc -Os -mmultiple -msoft-float -Wno-mai=
n   -
Werror -I/usr/src/sys/arch/macppc/stand/ofwboot/../../../../lib/libkern/arc=
h/pow
erpc -D_STANDALONE -DSUPPORT_DHCP -I/usr/src/sys/arch/macppc/stand/ofwboot =
-I../
=2E./. -I/usr/src/sys/arch/macppc/stand/ofwboot/../../.. -I/usr/src/sys/arc=
h/macpp
c/stand/ofwboot/../../../.. -DRELOC=3D0x640000 -DRELOC_FLATFILE=3D0x600000 =
-nostdinc
 -isystem /usr/obj/DEST-20020318-src-macppc/usr/include  -nostdinc -isystem=
 /usr
/obj/DEST-20020318-src-macppc/usr/include  -c /usr/src/sys/arch/macppc/stan=
d/ofw
boot/../../../../lib/libkern/arch/powerpc/syncicache.c
/usr/src/sys/arch/macppc/stand/ofwboot/../../../../lib/libkern/arch/powerpc=
/sync
icache.c:49: parse error before `32'
cc1: warnings being treated as errors
/usr/src/sys/arch/macppc/stand/ofwboot/../../../../lib/libkern/arch/powerpc=
/sync
icache.c:49: warning: no semicolon at end of struct or union
/usr/src/sys/arch/macppc/stand/ofwboot/../../../../lib/libkern/arch/powerpc=
/sync
icache.c: In function `__syncicache':
/usr/src/sys/arch/macppc/stand/ofwboot/../../../../lib/libkern/arch/powerpc=
/sync
icache.c:106: `_cache_info' undeclared (first use in this function)
/usr/src/sys/arch/macppc/stand/ofwboot/../../../../lib/libkern/arch/powerpc=
/sync
icache.c:106: (Each undeclared identifier is reported only once
/usr/src/sys/arch/macppc/stand/ofwboot/../../../../lib/libkern/arch/powerpc=
/sync
icache.c:106: for each function it appears in.)
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/src-macppc/sys/arch/macppc/stand/ofwboot.macppc=
/lib/
kern
*** Error code 1

Stop.




(and sparc)


STRIP=3D/usr/obj/tools/bin/sparc--netbsdelf-strip /usr/obj/tools/bin/nbinst=
all -r=20
-o root -g wheel -m 444  revisions /usr/obj/DEST-20020318-src-sparc/usr/sha=
re/me
/revisions
nbinstall: revisions: stat: No such file or directory
*** Error code 1

Stop.
nbmake: stopped in /usr/src/share/me
*** Error code 1

Stop.


--=20
Mason Loring Bliss          awake ? sleep : random() & 2 ? dream : sleep;
mason@acheron.middleboro.ma.us      https://acheron.ne.client2.attbi.com/


--xYEXny2b0/vlBQCR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8lxdHykMMY715wXIRAs5jAKDINe48G2q4W+vzZgaa/ls29iMx9wCg2Ora
0F1Hk2XSzdfbKKIBoU9ffGM=
=wNmP
-----END PGP SIGNATURE-----

--xYEXny2b0/vlBQCR--