This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: SIGSEGV in jc1
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Subject: Re: SIGSEGV in jc1
- From: Tom Tromey <tromey at redhat dot com>
- Date: 21 Apr 2001 18:31:36 -0600
- Cc: "'apbianco at cygnus dot com'" <apbianco at cygnus dot com>, "'Per Bothner'" <per at bothner dot com>, java at gcc dot gnu dot org
- References: <140D21516EC2D3119EE7009027876644049B5D8E@hplex1.hpl.hp.com>
- Reply-To: tromey at redhat dot com
>>>>> "Hans" == Boehm, Hans <hans_boehm@hp.com> writes:
Hans> 1) The source files contain copyright (C in a circle, code 251)
Hans> symbols in comments. I have no idea by what rules that's
Hans> legal/illegal. But javac seems to accept it, but gcj doesn't.
Hans> (This stuff was written by real lawyers, not language lawyers.)
This has to do with your locale and the encoding of the source file.
javac by default assumes your locale uses Latin-1. In this case the
copyright symbol is perfectly fine.
By default on Linux your locale uses ASCII. The iconv implementation
on Linux is picky and will reject non-ASCII characters like the
copyright symbol.
You can work around this using `--encoding=ISO-8859-1' or something
like that.
A lot of people run into this. Maybe we should address this before
3.0. Anybody have a suggestion for a fix?
Hans> 2) I saw strange (IO related ?) failures when I tried to link
Hans> statically.
Send the error messages.
Tom