Subject: Can't run build.sh -- gas configure fails
To: None <port-sgimips@netbsd.org>
From: sgimips NetBSD list <sgimips@mrynet.com>
List: port-sgimips
Date: 09/04/2003 21:43:57
Hi all,

Now that Chris succeeded in causing me to obsess once again, I'm trying to
do a build of all sources on an O2 R10K.  However, the following is preventing
the toolchain from building.  Anyone have a resolution for this?

cheers,
-scott

Configuring gas...
loading cache ../config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... mipseb-unknown-netbsd1.6X
checking target system type... mipseb--netbsd
checking build system type... mipseb-unknown-netbsd1.6X
checking for gcc... (cached) cc
checking whether the C compiler (cc -O ) works... yes
checking whether the C compiler (cc -O ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /home/src/tooldir.NetBSD-1.6X-mipseb/bin/nbinstall -c  -r
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) match_pattern /lib[^/\.]+\.so$
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
loading cache ../config.cache within ltconfig
checking for objdir... .libs
checking for cc option to produce PIC...  -fPIC -DPIC
checking if cc PIC flag  -fPIC -DPIC works... (cached) yes
checking if cc static flag -static works... (cached) yes
checking if cc supports -c -o file.o... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
loading cache ../config.cache
configure: error: GAS does not support target CPU mips
Configure in /usr/obj/home/src/tools/toolchain/build/gas failed, exiting.

*** Failed target:  .configure_done
*** Failed command: (cd build && LANGUAGES="c c++ objc f77" CC=cc  CFLAGS=-O  CPPFLAGS=  CXX=c++  CXXFLAGS=-O  INSTALL=/home/src/tooldir.NetBSD-1.6X-mipseb/bin/nbinstall\ -c\ \ -r  LDFLAGS=  LEX=/home/src/tooldir.NetBSD-1.6X-mipseb/bin/nblex  PATH="/home/src/tooldir.NetBSD-1.6X-mipseb/bin:$PATH"  YACC=/home/src/tooldir.NetBSD-1.6X-mipseb/bin/nbyacc sh /home/src/tools/toolchain/../../gnu/dist/toolchain/configure --target=mipseb--netbsd --disable-nls  --program-transform-name="s,^,mipseb--netbsd-," --prefix=/home/src/tooldir.NetBSD-1.6X-mipseb --disable-shared)
*** Error code 1