static linking -> binarie segfaults

Jörg Maisenbacher joerg@maisenbachers.de
Wed Oct 1 15:41:00 GMT 2003


Andrew Haley wrote:
> Jörg Maisenbacher writes:
>  > compile it with:
>  > $ gcj -v -o test.static --main=Test Test.java -static
>  > and run
>  > 
>  > $ ./test.static
>  > Segmentation fault
> 
> It works for me.
> 
> cuddles:~ $ gcj -o test.static --main=Test Test.java -static
> cuddles:~ $ ./test.static 
> static testing


I did some research and it seems to be a bug in glibc / binutils
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212048.
So nothing to do at my side besides waiting for a bugfix...

joerg


-- 
Jörg Maisenbacher
    "There are only 10 types of people in the world:
     Those who understand binary and those who don't."



More information about the Java mailing list