Subject: Problems doing make build with new toolchain
To: None <current-users@netbsd.org>
From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
List: current-users
Date: 09/05/2001 14:05:31
Having successfully done a make build from the current sources of a
couple of days ago, I tried to repeat the process with the new
toolchain.
I created /etc/mk.conf with
TOOLDIR=/usr/src/tooldir
USE_NEW_TOOLCHAIN=yes
MKTOOLS=yes
Compilation proceeded OK until:
cc -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 -c -DL_divdi3
-o _divdi3.o /usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/libgcc2.c
cc -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 -c -fexceptions
-DL_eh -o _eh.o /usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/libgcc2.c
cc1: warnings being treated as errors
/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/libgcc2.c: In function `__throw':
/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/libgcc2.c:3918: warning: assignment makes pointer from integer without a cast
/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/libgcc2.c: In function `__rethrow':
/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/libgcc2.c:3969: warning: assignment makes pointer from integer without a cast
*** Error code 1
Stop.
make: stopped in /usr/src/gnu/lib/libgcc
*** Error code 1
Stop.
make: stopped in /usr/src/gnu/lib/libgcc
*** Error code 1
Stop.
make: stopped in /usr/src/gnu/lib
*** Error code 1
Stop.
make: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
Any clues as to where the problem lies would be welcome
Dave
--
=====================================================================
Computing Services Dept Phone/Fax: 0151-794-3731/3759
The University of Liverpool Email: dtyson@liv.ac.uk
Chadwick Tower, Peach Street WWW: http://www.liv.ac.uk/~dtyson
Liverpool L69 7ZF NetBSD it's a star
=====================================================================