Subject: toolchain/22975: libsupc++ fails to build with USETOOLS=never
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kwellsch@tampabay.rr.com>
List: netbsd-bugs
Date: 09/27/2003 10:32:19
>Number:         22975
>Category:       toolchain
>Synopsis:       When doing a native build (USETOOLS=never), libsupc++ fails.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 27 14:33:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ken Wellsch
>Release:        NetBSD 1.6ZC
>Organization:
>Environment:
System: NetBSD u667 1.6ZC NetBSD 1.6ZC (U667) #0: Sat Sep 27 09:18:32 EDT 2003 r
oot@u667:/sys/arch/i386/compile/U667 i386
Architecture: i386
Machine: i386
>Description:
        
dependall ===> libsupc++
rm -f cxa_demangle.c
ln -s /usr/src/gnu/dist/gcc/libiberty/cp-demangle.c cxa_demangle.c
mkdep -f cxa_demangle.d    -nostdinc++ -I/usr/src/gnu/dist/gcc/gcc -I/usr/src/gn
u/dist/gcc/include -I/usr/src/gnu/dist/gcc/libstdc++-v3/libsupc++ -I/usr/src/gnu
/lib/libsupc++/../libstdc++-v3/arch/i386 -DHAVE_STDLIB_H -DHAVE_STRING_H     -DI
N_GLIBCPP_V3 cxa_demangle.c
mkdep -f del_op.d       -nostdinc++ -I/usr/src/gnu/dist/gcc/gcc -I/usr/src/gnu/d
ist/gcc/include -I/usr/src/gnu/dist/gcc/libstdc++-v3/libsupc++ -I/usr/src/gnu/li
b/libsupc++/../libstdc++-v3/arch/i386 -DHAVE_STDLIB_H -DHAVE_STRING_H     /usr/s
rc/gnu/dist/gcc/libstdc++-v3/libsupc++/del_op.cc
In file included from /usr/src/gnu/dist/gcc/libstdc++-v3/libsupc++/del_op.cc:31:
/usr/src/gnu/dist/gcc/libstdc++-v3/libsupc++/new:41:19: cstddef: No such file or
 directory
mkdep: compile failed.
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/lib/libsupc++
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/lib
*** Error code 1

>How-To-Repeat:

echo "USETOOLS=never" > /etc/mk.conf

cd /usr/src/gnu/lib/libsupc++
make dependall

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: