b39 build problems on Ubuntu 8.10
Andrew John Hughes
gnu_andrew at member.fsf.org
Fri Nov 21 18:46:51 UTC 2008
2008/11/21 Kelly O'Hair <Kelly.Ohair at sun.com>:
> You can ignore the 3 WARNINGS, they will be removed soon.
I have to admit I've never seen those warnings. I'm sure I don't need
to say I'm not running a 2.4 copy of Linux.
> However, I'm 99.9% sure that these error messages should not be seen
> at all when building the OpenJDK sources.
We've patched bcopy and friends out in IcedTea, so clearly others have
run into them. Matthias Koch, who packages IcedTea for Debian/Ubuntu,
added the patch so you'd have to ask him. Maybe a newer gcc promotes
them from warnings to errors?
> Exactly where did you get the sources from?
Probably http://openjdk.java.net, that's where I get mine :)
> 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:
>> In function 'void bcopy(const void*, void*, size_t)':
>> 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
>> The sanity test passes, but with the following warnings:
>> WARNING: The official linux builds use OS version 2.4.9-e.3.
>> You appear to be using OS version 2.6.27-7-generic.
>> WARNING: The build is being done on Linux Unknown linux.
>> The official linux builds use Linux Advanced Server,
>> specifically Linux Advanced Server release 2.1AS.
>> The version found was '2.6.27-7-generic'.
>> WARNING: The linux compiler is not version 3.2
>> Specifically the GCC compiler.
>> You appear to be using compiler version: 4.3
>> The compiler was obtained from the following location:
>> Any suggestions?
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the build-dev