segfault if static linked
Clemens Eisserer
linuxhippy@web.de
Fri Jun 11 10:44:00 GMT 2004
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
More information about the Java
mailing list