This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: segfault if static linked
- From: Tom Tromey <tromey at redhat dot com>
- To: "Clemens Eisserer" <linuxhippy at web dot de>
- Cc: java at gcc dot gnu dot org
- Date: 11 Jun 2004 10:41:56 -0600
- Subject: Re: segfault if static linked
- References: <702190422@web.de>
- Reply-to: tromey at redhat dot com
>>>>> "Clemens" == Clemens Eisserer <linuxhippy@web.de> writes:
Clemens> If I link an app with the -static flag ( a simple one-line
Clemens> app with no lexternal libs...), I get the following warnings:
Clemens> : Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
There's not much we can do about this.
As I understand it, glibc doesn't really support static linking.
Neither do we, really :-)
Perhaps you could hack your copy of libgcj to avoid the offending
calls, at the cost of some loss of information.
Tom