Subject: toolchain/23444: gcc -shared -static-libgcc does not work as expected.
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/15/2003 00:05:28
>Number:         23444
>Category:       toolchain
>Synopsis:       gcc -shared -static-libgcc does not work as expected.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 15 05:06:00 UTC 2003
>Originator:     Christos Zoulas
>Release:        NetBSD 1.6ZF
	Pissed Off, Inc.
System: NetBSD 1.6ZF NetBSD 1.6ZF (TWOSIGMA) #102: Fri Nov 14 11:32:14 EST 2003 i386
Architecture: i386
Machine: i386
	Java stopped working because gcc -shared -static-libgcc does not
	include libgcc_pic.a in the link line, so has undefined
	symbols for _Unwind_protect and friends, and fails during dynamic
	Revert the change.