Subject: Re: USE_NEW_TOOLCHAIN explosion in gnu/lib/libgcc
To: Bill Sommerfeld <>
From: Chris Gilbert <>
List: tech-toolchain
Date: 09/23/2001 01:53:36
On Sunday 23 September 2001  1:31 am, Bill Sommerfeld wrote:
> /usr/tool/bin/i386--netbsdelf-gcc -O2  -Werror
> -I/usr/src/gnu/lib/libgcc/../..\ /usr.bin/gcc/arch/i386
> -I/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/cp/inc\ -DIN_GCC
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I/usr/src/gnu/lib/libgcc/../..\
> /dist/toolchain/gcc
> -I/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/config -I\
> /usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/../include -nostdinc
> -idirafter\ /usr/include -c -o exception.o
> /usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc\ /cp/
> /usr/src/gnu/lib/libgcc/../../dist/gcc/cp/ i386--netbsdelf-gcc:
> cannot specify -o with -c or -S and multiple compilations *** Error code 1
> turns up in both SRCS in that directory and in the "this
> file is automatically generated, do not edit" file.
> Deleting from the SRCS+= .. in gnu/lib/libgcc fixed it
> for me.

I noted this on current-users.  You need to physically delete the old .depend 
file for libgcc, appears it's not caught by cleandir.