[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Blackdown JDK and sid (was: Re: java 1.4 for ppc)



Hi,

Two things:

1. Mozilla is C++ and as such Mozilla and Blackdown JDK (has C+ in it also) 
must both either be compiled with gcc 2.95.X or both compiled with gcc 3.X
since the C++ ABI changed.

2. The current JDK *does* work with a properly compiled glibc-2.3.1
compiled with the same compiler.  For example Blackdown JDK works fine with 
YDL 3.0 which uses glibc-2.3.1 and everything was compiled with gcc 3.2.X. 

So the only solution I can offer:

- upgrade to the very latest gcc 3.2.X
- rebuild glibc 2.3.1 with it
- rebuild Mozilla with it

Then grab the Blackdown JDK wich was built with the same compiler
gcc 3.2.X from

http://crunch.ivey.uwo.ca/khendricks/openoffice/

Then you should have a working Blackdown JDK, a working Mozilla and you 
should not be seeing any __dividi3 relocation errors if the proper glibc 
compatibility patches are in place.

I realize all of this is a mess but the number of changes in compilers, c++ 
abis, and glibc versions (and it matters which gcc cmpiles which glibc due 
to an earlier issue of some symbols sneaking in to the glibc builds from 
gcc) have made it very hard to keep a working Blackdown JDK (especially 
one that works with a recent Mozilla).

Hope that helps,

Kevin

On April 21, 2003 03:59 pm, Wes Morgan wrote:
> Is there any way to get the Blackdown JDK for PowerPC to work with Debian 
sid? 
> It seems to be a combination of a couple things. Prior to 02c, it seemed 
to 
> be a gcc-2.95 vs. gcc-3.2 issue, but now it seems to be a libc-2.3 issue 
(but 
> the compiler issue might still be there). One error in particular I keep 
> running into is this:
> 
> /usr/local/j2sdk1.3.1/bin/ppc/native_threads/jar: relocation error: 
> /usr/local/j2sdk1.3.1/jre/lib/ppc/classic/libjvm.so: symbol __divdi3, 
version 
> GLIBC_2.0 not defined in file libc.so.6 with link time reference
> 
> libc.so.6 is pointing to libc-2.3.1.so in /lib. I also cannot get the 
plugin 
> to work with current versions of the Mozilla package. If I download 
Mozilla 
> 1.3 compiled with gcc-2.95, then the plugin works, so that makes me think 
> that there are still compiler version issues with 02c. But I could be 
totally 
> off on all of this... :)
> 
> Wes Morgan
> 
> On Monday 21 April 2003 8:04 am, Kevin B. Hendricks wrote:
> > Hi,
> >
> > AFAIK, none exists.  I am basically the Blackdown JDK for ppc porting 
team
> > and I simply have not had the time to start working on JDK 1.4 yet.  My
> > real need is for help from someone who understands PPC assmebler and
> > instruction set well and can help implement HotSpot for 1.4.
> >
> > IBM has a wonderful JDK with a fast JIT that I have used but it seems 
to be
> > a JDK 1.3.1 version only.  As far as I know they have not even released 
an
> > alpha or beta of JDK 1.4 for ppc linux.
> >
> > Sorry I can't be more help.
> >
> > Kevin
> >
> > On April 21, 2003 07:18 am, florian wrote:
> > > hi!
> > >
> > > does anybody know of a java 1.4 implementation for
> > > ppc? i searched around quite a bit. but didnt find anything..
> > >
> > > anybody knows more?
> > >
> > > ciao!
> > > florian
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact
> >
> > listmaster@lists.debian.org
> 
> -- 
> The most subversive thing you can do is assign full humanity to each and 
every 
> individual on this planet.
> 
> 



Reply to: