Build error on jdk8/tl project - Thread.o:(.data.rel+0xbc): undefined reference to JVM_SetNativeThreadName
Martijn Verburg
martijnverburg at gmail.com
Sun Mar 25 15:54:39 UTC 2012
> On 25 March 2012 13:11, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>> On 25/03/2012 13:01, Martijn Verburg wrote:
>>>
>>> Hi Sean/Alan/Max,
>>>
>>> Sean - Your solution did the trick, and I'll probably use this for now as
>>> it means a smaller VM for the members to work with
>>> Alan/Max - I did get the full build going, but then my VM ran out of
>>> space.
>>
>> I see Seán suggestion is to use a 7u4 build as the import JDK but since you
>> are building jdk8 (jdk8/tl/jdk is jdk8) then your import JDK has to be jdk8
>> too, otherwise you'll end up combining 7u4 and 8 bits in the build so there
>> is no guarantee that you'll get consistent bits. In general partial builds
>> are fragile and one needs to take great care to ensure that the import JDK
>> matches exact the repositories that you are building.
>
> Hi Alan,
>
> Understood, I'll try with a purely 8 approach.
>
> Cheers,
> Martijn
Hi Alan/all,
Apologies for top posting before, I'll try to follow along properly now.
I've started from scratch and wanted to make sure I have my
environment variables correct for building the jdk8/tl project. I've
currently got my two JDK related environment variables set up as
follows:
export ALT_BOOTDIR=/home/openjdk/opt/jdk1.7.0_04
export ALT_JDK_IMPORT_PATH=/home/openjdk/opt/jdk1.7.0_04
Alan, I think you were suggesting that these ALT_BOOTDIR &
ALT_JDK_IMPORT_PATH should to point to a jdk8 install of some sort.
So my question in return is:
Q: Should I install an openjdk-8 binary to reference, or should I
reference back to something that I've built from source?
The 2nd option would be the most up to date I guess but seems a bit
chicken and egg..
As an aside I'm writing this all up to add to Cecelia's documentation
efforts. The README-build.html is really helpful, but is a little
outdated in that it seems to be talking about building openjdk6
Cheers,
Martijn
More information about the build-dev
mailing list