This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Trouble building gcj 4.8.1
- From: Andrew Haley <aph at redhat dot com>
- To: Mike Hearn <mike at plan99 dot net>
- Cc: GCC Java <java at gcc dot gnu dot org>
- Date: Tue, 25 Jun 2013 15:07:05 +0100
- Subject: Re: Trouble building gcj 4.8.1
- References: <CANEZrP3wxTPvx5Ky2O1qds427t9LxtSt0Bm3GntjcN63_0+3rw at mail dot gmail dot com> <CANEZrP0vTN_MAe4jOamUqKnkyXgNYJ-bsUnovANV36evGdJWPA at mail dot gmail dot com> <51C87C22 dot 9030201 at redhat dot com> <CANEZrP2woCNh4P+a-xTWqqz+PKEi01C0PU+D_TVu1jn2CeDaNw at mail dot gmail dot com> <51C88147 dot 8060508 at redhat dot com> <CANEZrP0WwGL40Vguonwb2CLvpvYmCaRTkO+wZqZ6uTGvtGxu0w at mail dot gmail dot com> <CANEZrP2_wVtgjM8VTT8U1bvL0B44XE0U1X4XP32DuDL1J9nFeA at mail dot gmail dot com>
On 06/25/2013 02:53 PM, Mike Hearn wrote:
>> Any idea why it's not building? Perhaps this is why the class file
>> didn't get refreshed last time ....
>
> Ah, it seems libjava/java/lang/String.java takes precedence over
> libjava/classpath/java/lang/String.java
>
> Looks like the libjava version is several years old. I tried a simple
> replacement and it didn't build, probably because String depends on
> various runtime internal things.
Indeed.
> I feel like I am reaching the limits of what I can figure out by
> myself. I'm trying to get the c'tors that include Charset so I might
> try a surgical patch to the libjava/java/lang version, but there's
> obviously several years of fixes and optimizations to the Classpath
> version which would be nice to have. And I see that there are older
> versions of other java.lang files in there too.
>
> What's involved in syncing those core classes up to the latest
> classpath versions?
It's ninja stuff, really. What is your goal in all of this?
Andrew.