Subject: build failiure in src/gnu/lib/libgcc
To: None <current-users@netbsd.org>
From: None <itojun@iijlab.net>
List: current-users
Date: 11/19/2001 18:38:17
	sorry for bothering.  during the build, i have experienced the
	following error.

	note that there are two exception.cc referenced from the command line:
/home/itojun/NetBSD/src/gnu/lib/libgcc/../../dist/toolchain/gcc/cp/exception.cc
/usr/home/itojun/NetBSD/src/gnu/lib/libgcc/../../dist/gcc/cp/exception.cc

	i believe the correct one is the former one.
	i'm sure i have the latest /usr/bin/make as well as /usr/share/mk.
	any comments/suggetions?

itojun

--
# cd src/gnu/lib/libgcc
# make
/usr/tool/bin/i386--netbsdelf-gcc -O2  -Werror   -I/home/itojun/NetBSD/src/gnu/lib/libgcc/../../usr.bin/gcc/arch/i386 -I/home/itojun/NetBSD/src/gnu/lib/libgcc/../../dist/toolchain/gcc/cp/inc -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I/home/itojun/NetBSD/src/gnu/lib/libgcc/../../dist/toolchain/gcc -I/home/itojun/NetBSD/src/gnu/lib/libgcc/../../dist/toolchain/gcc/config -I/home/itojun/NetBSD/src/gnu/lib/libgcc/../../dist/toolchain/gcc/../include -nostdinc -isystem /usr/include  -c -o exception.o /home/itojun/NetBSD/src/gnu/lib/libgcc/../../dist/toolchain/gcc/cp/exception.cc /usr/home/itojun/NetBSD/src/gnu/lib/libgcc/../../dist/gcc/cp/exception.cc
i386--netbsdelf-gcc: cannot specify -o with -c or -S and multiple compilations
*** Error code 1

Stop.
make: stopped in /home/itojun/NetBSD/src/gnu/lib/libgcc