This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
segfault if static linked
- From: "Clemens Eisserer" <linuxhippy at web dot de>
- To: java at gcc dot gnu dot org
- Date: Fri, 11 Jun 2004 12:44:13 +0200
- Subject: segfault if static linked
- Organization: http://freemail.web.de/
hi there!
If I link an app with the -static flag ( a simple one-line app with no lexternal libs...), I get the following warnings:
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../libgcj.a(natRuntime.o)(.text+0xced): In function `java::lang::Runtime::insertSystemProperties(java::util::Properties*)':
: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../libgcj.a(natInetAddress.o)(.text+0x34f): In function `java::net::InetAddress::lookup(java::lang::String*, java::net::InetAddress*, bool)':
: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../libgcj.a(natInetAddress.o)(.text+0x244): In function `java::net::InetAddress::lookup(java::lang::String*, java::net::InetAddress*, bool)':
: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
If I start the resulting executable now, I get a segfault :-(
I've already set up all gcc stuff again (uninstalled all rpms and reinstalled them), and I know that some time ago this worked fine...
Any ideas?
Thx Clemens
_____________________________________________________________________
Wenn Worte allein nicht ausreichen: WEB.DE Video-Mail -
Die E-Mail der nächsten Generation! http://freemail.web.de/?mc=021197