This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]