<external>: JDK8 build fails in hotspot (hsx/hotspot-main/hotspot/rev/a297b0e14605 patch?)

Mikael Gerdin mikael.gerdin at oracle.com
Wed Jun 13 17:12:38 UTC 2012


Lana,

This is indeed an issue with HotSpot and GCC 4.7.
It's fixed by
http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/a297b0e14605
I'm not sure when this will end up in jdk8 master but I think the change 
will be in hs24-b14.

/Mikael

On 2012-06-13 18:51, Lana Steuck wrote:
> Forwarding Mario's email:
>
> First, he got a build failure in 8/awt, then he tried building 8/jdk8 -
> same problem.
> JDK8 build fails in hotspot.
>
>>> ompiling
>>> /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/blockOffsetTable.cpp
>>>
>>> /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:
>>> In instantiation of ‘TreeList<Chunk>*
>>> TreeList<Chunk>::remove_chunk_replace_if_needed(TreeChunk<Chunk>*)
>>> [with Chunk = FreeChunk]’:
>>>
>>> /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1342:16:
>>>  required from here
>>>
>>> /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:173:7:
>>> error: ‘link_tail’ was not declared in this scope, and no declarations
>>> were found by argument-dependent lookup at the point of instantiation
>>> [-fpermissive]
>
>
> He thinks:
>
>>> I guess the tree needs to be integrated with this patch:
>>>
>>>http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/a297b0e14605
>
> Could this be a problem in his build environment?
>
> - Lana
>
> -------- Original Message --------
> Subject: 	Re: JDK8 tree fails to compile
> Date: 	Wed, 13 Jun 2012 14:17:05 +0200
> From: 	Mario Torre <neugens.limasoftware at gmail.com>
> To: 	Anthony Petrov <anthony.petrov at oracle.com>
> CC: 	awt-dev at openjdk.java.net, Lana Steuck <lana.steuck at oracle.com>
>
>
> Hi Anthony, Lana,
>
> Thanks for taking a look at it.
>
> I got the same problem with the very latest jdk8 repository. It seems
> that this patch is missing there too.
>
> I'm on a Fedora 17 machine, gcc version 4.7.0 20120507 (Red Hat
> 4.7.0-5) (GCC), perhaps this would explain why you don't see this?
> (It's the first time I tried to compile directly from the OpenJDK
> since I updated, so I can't say when this started to happen).
>
> Cheers,
> Mario
>
>
>> On 6/13/2012 2:19 PM, Mario Torre wrote:
>>>
>>> Hi all!
>>>
>>> I'm trying to compile the latest http://hg.openjdk.java.net/jdk8/awt
>>> but I got this error:
>>>
>>> ompiling
>>> /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/blockOffsetTable.cpp
>>>
>>> /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:
>>> In instantiation of ‘TreeList<Chunk>*
>>> TreeList<Chunk>::remove_chunk_replace_if_needed(TreeChunk<Chunk>*)
>>> [with Chunk = FreeChunk]’:
>>>
>>> /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1342:16:
>>>  required from here
>>>
>>> /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:173:7:
>>> error: ‘link_tail’ was not declared in this scope, and no declarations
>>> were found by argument-dependent lookup at the point of instantiation
>>> [-fpermissive]
>>>
>>> I guess the tree needs to be integrated with this patch:
>>>
>>> http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/a297b0e14605
>>>
>>> Any ideas?
>>>
>>> Cheers,
>>> Mario
>
>
>
> --
> pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
> Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF
>
> IcedRobot: www.icedrobot.org
> Proud GNU Classpath developer: http://www.classpath.org/
> Read About us at: http://planet.classpath.org
> OpenJDK: http://openjdk.java.net/projects/caciocavallo/
>
> Please, support open standards:
> http://endsoftpatents.org/
>





More information about the build-dev mailing list