compile error of openjdk 7 on ubuntu 8.10
yinglcs at gmail.com
Mon Dec 8 15:09:04 PST 2008
I tried icetea 7.
But i get the following error:
checking for eclipse-ecj.jar... no
configure: error: "A ECJ jar was not found."
And then I setup the classpath and stuff, it still complains the same error.
/media/olddata/icedtea> ls -la
lrwxrwxrwx 1 ying ying 13 2008-12-08 16:58
On Mon, Dec 8, 2008 at 5:03 AM, Mark Wielaard <mark at klomp.org> wrote:
> Hi Ying,
> On Sat, 2008-12-06 at 11:53 -0600, ying lcs wrote:
>> I am trying to compile openjdk 7 on ubuntu 8.10. I get the source
>> bundle of dec 4, 2008.
>> I pass the 'make sanity'
>> but when I 'make all',it fails to compile :
>> In file included from ../generated/incls/_precompiled.incl:286:
>> /media/olddata/openjdk/hotspot/src/share/vm/libadt/port.hpp: In
>> function 'void bcopy(const void*, void*, size_t)':
>> /media/olddata/openjdk/hotspot/src/share/vm/libadt/port.hpp:40: error:
>> 'void bcopy(const void*, void*, size_t)' redeclared inline without
>> 'gnu_inline' attribute
>> /usr/include/bits/string3.h:90: error: 'void bcopy(const void*, void*,
>> size_t)' previously defined here
> That is an old issue on modern GNU/Linux installs. Not yet fixed in
> jdk7. You might want to try out IcedTea http://icedtea.classpath.org/
> which is OpenJDK with fixes for these kind of issues (slowly making
> their way upstream, but seeing there are more than 100+ patches now, it
> is taking its time). There are two variants, one tracking jdk6:
> http://icedtea.classpath.org/hg/icedtea6 and one tracking jdk7:
> (You particular issue is address by patches/icedtea-no-bcopy.patch)
> IcedTea also helps detecting a free toolchain and set that up for
> bootstrapping through a simple ./autogen.sh && ./configure && make
> You can ask on distro-pkg-dev at openjdk.java.net where maintainers of the
> various GNU/Linux distros collaborate to make sure OpenJDK works as
> intended with the various different toolchains for any help needed.
More information about the jdk7-dev