b39 build problems on Ubuntu 8.10
Kelly O'Hair
Kelly.Ohair at Sun.COM
Fri Nov 21 18:55:37 UTC 2008
Sorry, I meant to explicitly call out the 3 "WARNING:" messages.
The bcopy problem is a separate thing, more serious and needs to be
fix in OpenJDK sources. Glad to hear that IcedTea has them fixed.
The 3 "WARNING:"s are coming from the jdk/make/common/shared/Sanity.gmk
file but they are surrounded with "ifndef OPENJDK" and by default
the variable OPENJDK should be set.
These messages were for the closed or JRL built JDK, and will be deleted soon.
So my concern is, how did they come out in a OPENJDK=true build?
-kto
Andrew John Hughes wrote:
> 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 :)
>
>> -kto
>>
>>
>> niwi at sics.se wrote:
>>> Hi,
>>> 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
>>>
>>>
>>> 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:
>>> /usr/bin/
>>>
>>>
>>> Any suggestions?
>>>
>>> Thanks
>>> /Niklas
>>>
>
>
>
More information about the build-dev
mailing list