b39 build problems on Ubuntu 8.10

Mark Wielaard mark at klomp.org
Fri Nov 21 13:25:38 UTC 2008


On Fri, 2008-11-21 at 11:59 +0000, Andrew John Hughes wrote:
> On 21/11/2008, niwi at sics.se <niwi at sics.se> wrote:
> >  I am trying to build the open JDK from source (using the b39 snapshot
> >  release) on Ubuntu 8.10, but I get the following error message:
> >
> >  In file included from ../generated/incls/_precompiled.incl:286:
> >  /home1/niwi/record-replay/java/openJava/fifth-try/hotspot/src/share/vm/libadt/port.hpp:
> >  In function 'void bcopy(const void*, void*, size_t)':
> >  /home1/niwi/record-replay/java/openJava/fifth-try/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
> >
> >  Any suggestions?
> Use IcedTea.  We've patched this.

Although factually correct, somewhat less than helpful without some

GNU/Linux distros often use newer versions of GCC, some of these have
stricter standards conforming semantics making the plain openjdk build
fail without tweaks. Also GNU/Linux distros want to be able to build
code through only packaged free software without depending on any
proprietary (bootstrapping) tools. We are pulling together fixes to make
building openjdk easier and more flexible in the IcedTea project. Not
all these fixes have (yet) been picked up. So if you currently want an
easy build on your favorite GNU/Linux distribution then checkout
IcedTea, which also comes with a configure script for detecting various
build dependencies. See http://icedtea.classpath.org/ for the full
overview, code and build instructions.



More information about the build-dev mailing list