Subject: problem cross-compiling i386 -> amiga
To: None <tech-toolchain@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-toolchain
Date: 02/01/2002 22:35:40
--+g7M9IMkV8truYOl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I'm trying to cross-build on i386 for Amiga.

After cvs updating from anoncvs.netbsd.org in the afternoon CET, that is
about 7 hours ago, I still get the error below.

Full logfile available from http://kleinbus.org/~is/logfile.gz (364 kB=20
gzipped, I think 1.2 MB original size).

Regards,
	-is


=3D=3D=3D> DESTDIR path: /usr/src/cur/src/../da
=3D=3D=3D> TOOLDIR path: /usr/src/cur/src/../ta
Build started at: Fri Feb  1 14:28:12 UTC 2002
cleandir =3D=3D=3D> tools
cleandir =3D=3D=3D> tools/host-mkdep
rm -f a.out [Ee]rrs mklog core *.core     config.cache config.log config.st=
atus host-mkdep
cleandir =3D=3D=3D> tools/compat
rm -r -f include
rm -f config.cache config.h
rm -f a.out [Ee]rrs mklog core *.core  libnbcompat.a basename.lo dirname.lo=
 fgetln.lo flock.lo fparseln.lo getmode.lo getopt_long.lo pread.lo pwcache.=
lo pwrite.lo pw_scan.lo setenv.lo setgroupent.lo setpassent.lo setprogname.=
lo snprintf.lo strlcat.lo strlcpy.lo strmode.lo strsep.lo unvis.lo vis.lo _=
err.lo _errx.lo _verr.lo _verrx.lo _vwarn.lo _vwarnx.lo _warn.lo _warnx.lo =
__fts13.lo bt_close.lo bt_conv.lo bt_debug.lo bt_delete.lo bt_get.lo bt_ope=
n.lo bt_overflow.lo bt_page.lo bt_put.lo bt_search.lo bt_seq.lo bt_split.lo=
 bt_utils.lo db.lo hash.lo hash_bigkey.lo hash_buf.lo hash_func.lo hash_log=
2.lo hash_page.lo mpool.lo rec_close.lo rec_delete.lo rec_get.lo rec_open.l=
o rec_put.lo rec_search.lo rec_seq.lo rec_utils.lo config.log config.status=
 confdefs.h includedir.stamp defs.mk =20
rm -f .depend /usr/src/cur/src/tools/compat/tags=20
cleandir =3D=3D=3D> tools/binstall
rm -f a.out [Ee]rrs mklog core *.core  xinstall xinstall.lo  xinstall.ln =
=20
rm -f .depend /usr/src/cur/src/tools/binstall/tags=20
cleandir =3D=3D=3D> tools/crunchgen
rm -f a.out [Ee]rrs mklog core *.core  crunchgen crunchgen.lo crunched_skel=
.lo  crunchgen.ln crunched_skel.ln crunched_skel.c =20
rm -f .depend /usr/src/cur/src/tools/crunchgen/tags=20
cleandir =3D=3D=3D> tools/gencat
rm -f a.out [Ee]rrs mklog core *.core  gencat gencat.lo  gencat.ln =20
rm -f .depend /usr/src/cur/src/tools/gencat/tags=20

[...]

/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/regmove.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/reload.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/reload1.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/reorg.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/resource.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/rtl.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/rtlanal.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/sbitmap.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/sched.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/sdbout.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/libiberty/spla=
y-tree.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/stmt.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/stor-layou=
t.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/stupid.c
/usr/src/cur/src/../ta/bin/m68k--netbsdelf-gcc -O2   -Werror  -I. -I/usr/sr=
c/cur/src/gnu/usr.bin/gcc/backend/../arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/=
usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc -I/usr/=
src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/config -I/u=
sr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/../inclu=
de  -DTARGET_NAME=3D\"m68k-netbsd\" -DLOCALEDIR=3D\"/usr/share/locale\" -DN=
ETBSD_NATIVE -nostdinc -isystem /usr/src/cur/src/../da/usr/include  -c /usr=
/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/toplev.c
/usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/toplev=
.c:1168: `TARGET_CPU_DEFAULT' undeclared here (not in a function)
/usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/toplev=
.c:1168: initializer element is not constant
/usr/src/cur/src/gnu/usr.bin/gcc/backend/../../../dist/toolchain/gcc/toplev=
.c:1168: (near initialization for `target_switches[42].value')
*** Error code 1

Stop.
nbmake: stopped in /usr/src/cur/src/gnu/usr.bin/gcc/backend
*** Error code 1

Stop.
nbmake: stopped in /usr/src/cur/src/gnu/usr.bin/gcc/backend
*** Error code 1

Stop.
nbmake: stopped in /usr/src/cur/src/gnu/usr.bin/gcc
*** Error code 1

Stop.
nbmake: stopped in /usr/src/cur/src/gnu/usr.bin
*** Error code 1

Stop.
nbmake: stopped in /usr/src/cur/src/gnu
*** Error code 1

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

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

Stop.
nbmake: stopped in /usr/src/cur/src

--+g7M9IMkV8truYOl
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

iD8DBQE8WwosPCRcZ/VMtk4RApV8AJ4hm8STnsojg+IrdYoMYSdJFevEaQCeKqZG
d4CynorrX4ZzAg2E2kx1s5s=
=2ZYt
-----END PGP SIGNATURE-----

--+g7M9IMkV8truYOl--