Subject: toolchain/23444: gcc -shared -static-libgcc does not work as expected.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Christos.Zoulas@twosigma.com>
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
>Closed-Date:
>Last-Modified:
>Originator:     Christos Zoulas
>Release:        NetBSD 1.6ZF
>Organization:
	Pissed Off, Inc.
>Environment:
System: NetBSD gw2.twosigma.com 1.6ZF NetBSD 1.6ZF (TWOSIGMA) #102: Fri Nov 14 11:32:14 EST 2003 christos@gw2.twosigma.com:/usr/src/sys/arch/i386/compile/TWOSIGMA i386
Architecture: i386
Machine: i386
>Description:
	Java stopped working because gcc -shared -static-libgcc does not
	include libgcc_pic.a in the link line, so libjvm.so has undefined
	symbols for _Unwind_protect and friends, and fails during dynamic
	linking.
>How-To-Repeat:
>Fix:
	Revert the change.
>Release-Note:
>Audit-Trail:
>Unformatted: