Subject: Build problem
To: None <tech-toolchain@netbsd.org>
From: Robert Swindells <rjs@fdy2.demon.co.uk>
List: tech-toolchain
Date: 01/09/2004 12:26:26
Is anyone else having problems cross building the toolchain ?

Something seems to be failing to pass MACHINE_ARCH to configure.

Running build.sh tools fails with the following error:

checking for clock_t... yes
checking for .preinit_array/.init_array/.fini_array support... no
checking if mkdir takes one argument... no
checking for main in -lunwind... no
*** Configuration unknown-unknown-netbsd1.6ZE not supported
Configure in /u31/src/tools/gcc/obj/build/gcc failed, exiting.

*** Failed target:  .configure_done
*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/u31/build/test-tools/bin/nbinstall\ -c\ \ -r LDFLAGS= LEX=/u31/build/test-tools/bin/nblex PATH="/u31/build/test-tools/bin:$PATH" YACC=/u31/build/test-tools/bin/nbyacc sh /u31/src/tools/gcc/../../gnu/dist/gcc/configure --target=i386--netbsdelf --disable-nls --enable-long-long --disable-multilib --enable-threads --program-transform-name="s,^,i386--netbsdelf-," --enable-languages="c c++ objc f77" --prefix=/u31/build/test-tools --disable-shared)
*** Error code 1

Stop.
nbmake: stopped in /u31/src/tools/gcc

*** Failed target:  dependall
*** Failed command: cd /u31/src/tools/gcc; /u31/build/test-tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /u31/src/tools/gcc

*** Failed target:  dependall-gcc
*** Failed command: targ=dependall;dir=gcc; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /u31/build/test-tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/u31/src/tools/$dir"; /u31/build/test-tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /u31/src/tools

ERROR: Failed to make tools
*** BUILD ABORTED ***

Any ideas ?

Robert Swindells