Subject: toolchain/22300: libgcc3 does not compile, missing gthr-default.h
To: None <gnats-bugs@gnats.netbsd.org>
From: Anders Hjalmarsson <hjalmar@hjalmar.to>
List: netbsd-bugs
Date: 07/30/2003 00:51:58
>Number:         22300
>Category:       toolchain
>Synopsis:       libgcc3 does not compile, missing gthr-default.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 29 22:27:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Anders Hjalmarsson
>Release:        NetBSD 1.6U
>Organization:
>Environment:
System: NetBSD bigbox.hjalmar.to 1.6U NetBSD 1.6U (BIGBOX-$Revision: 1.25 $) #228: Mon Jul 21 23:05:34 CEST 2003 hjalmar@bigbox.hjalmar.to:/usr/SRC/config/i386/compile/BIGBOX i386
Architecture: i386
Machine: i386
>Description:
	libgcc3 does not compile, missing gthr-default.h
	libobjc3 has the same problem
>How-To-Repeat:
	cd /usr/src/gnu/lib/libgcc3; make dependall

mkdep -f unwind-dw2.d    -I/usr/src/gnu/lib/libgcc3 -I/usr/SRC/netbsd/gnu/usr.bin/gcc3/arch/i386 -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I/usr/SRC/netbsd/gnu/dist/gcc/gcc -I/usr/SRC/netbsd/gnu/dist/gcc/gcc/. -I/usr/SRC/netbsd/gnu/dist/gcc/gcc/config -I/usr/SRC/netbsd/gnu/dist/gcc/gcc/../include  -I/usr/SRC/netbsd/gnu/dist/gcc/gcc/cp -I.     /usr/SRC/netbsd/gnu/dist/gcc/gcc/unwind-dw2.c
In file included from /usr/SRC/netbsd/gnu/dist/gcc/gcc/unwind-dw2.c:28:
/usr/SRC/netbsd/gnu/dist/gcc/gcc/gthr.h:98:26: gthr-default.h: No such file or directory
mkdep: compile failed.
*** Error code 1

>Fix:
	Add gthr-default.h ?
>Release-Note:
>Audit-Trail:
>Unformatted:
 	Current 20030729