This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: static linking -> binarie segfaults
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."