Debug build still fail on Linux 64bit with GCC 4.7.2

David Holmes david.holmes at oracle.com
Tue Dec 4 21:21:54 PST 2012


Hi Henry,

There is a further follow up fix for the debug failure:

  8003722: More gcc 4.7 compilation errors

This hasn't made its way out of the hotspot forest yet - hs25-b11

http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/19c1bd641922

David
-----

On 5/12/2012 12:50 PM, Henry Jen wrote:
> Hi,
>
> The current tip of TL/build-infra still fail debug build after fix of
> 8003259[1].
>
> Attached is a full port of changeset a297b0e14605[2], which fixes the
> debug build as well.
>
> Not sure if there is other reason to go with 'this->' fix. Ignore this
> patch if there was.
>
> [1]
> changeset:   3895:0400886d2613
> summary:     8003259: NPG: Build with gcc 4.7.2 broken by 7045397
>
> [2]
> changeset:   3415:a297b0e14605
> summary:     7172226: HotSpot fails to build with GCC 4.7 because of
> stricter c++ argument dependent lookup
>
> Cheers,
> Henry
>
>
> Compiling
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/blockOffsetTable.cpp
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:
> In instantiation of ‘void TreeList<Chunk_t,
> FreeList_t>::return_chunk_at_head(TreeChunk<Chunk_t, FreeList_t>*) [with
> Chunk_t = Metablock; FreeList_t = FreeList]’:
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1407:16:
>    required from here
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> error: ‘verify_chunk_in_free_list’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> note: declarations in dependent base ‘FreeList<Metablock>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> note: use ‘this->verify_chunk_in_free_list’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> error: ‘increment_returned_bytes_by’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> note: declarations in dependent base ‘FreeList<Metablock>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> note: use ‘this->increment_returned_bytes_by’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:
> In instantiation of ‘void TreeList<Chunk_t,
> FreeList_t>::return_chunk_at_tail(TreeChunk<Chunk_t, FreeList_t>*) [with
> Chunk_t = Metablock; FreeList_t = FreeList]’:
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1407:16:
>    required from here
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> error: ‘verify_chunk_in_free_list’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> note: declarations in dependent base ‘FreeList<Metablock>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> note: use ‘this->verify_chunk_in_free_list’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> error: ‘increment_returned_bytes_by’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> note: declarations in dependent base ‘FreeList<Metablock>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> note: use ‘this->increment_returned_bytes_by’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:
> In instantiation of ‘void TreeList<Chunk_t,
> FreeList_t>::return_chunk_at_head(TreeChunk<Chunk_t, FreeList_t>*) [with
> Chunk_t = Metachunk; FreeList_t = FreeList]’:
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1411:16:
>    required from here
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> error: ‘verify_chunk_in_free_list’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> note: declarations in dependent base ‘FreeList<Metachunk>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> note: use ‘this->verify_chunk_in_free_list’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> error: ‘increment_returned_bytes_by’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> note: declarations in dependent base ‘FreeList<Metachunk>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> note: use ‘this->increment_returned_bytes_by’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:
> In instantiation of ‘void TreeList<Chunk_t,
> FreeList_t>::return_chunk_at_tail(TreeChunk<Chunk_t, FreeList_t>*) [with
> Chunk_t = Metachunk; FreeList_t = FreeList]’:
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1411:16:
>    required from here
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> error: ‘verify_chunk_in_free_list’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> note: declarations in dependent base ‘FreeList<Metachunk>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> note: use ‘this->verify_chunk_in_free_list’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> error: ‘increment_returned_bytes_by’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> note: declarations in dependent base ‘FreeList<Metachunk>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> note: use ‘this->increment_returned_bytes_by’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:
> In instantiation of ‘void TreeList<Chunk_t,
> FreeList_t>::return_chunk_at_head(TreeChunk<Chunk_t, FreeList_t>*) [with
> Chunk_t = FreeChunk; FreeList_t = AdaptiveFreeList]’:
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1418:16:
>    required from here
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> error: ‘verify_chunk_in_free_list’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> note: declarations in dependent base ‘FreeList<FreeChunk>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:317:8:
> note: use ‘this->verify_chunk_in_free_list’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> error: ‘increment_returned_bytes_by’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> note: declarations in dependent base ‘AdaptiveFreeList<FreeChunk>’ are
> not found by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:331:3:
> note: use ‘this->increment_returned_bytes_by’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:
> In instantiation of ‘void TreeList<Chunk_t,
> FreeList_t>::return_chunk_at_tail(TreeChunk<Chunk_t, FreeList_t>*) [with
> Chunk_t = FreeChunk; FreeList_t = AdaptiveFreeList]’:
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1418:16:
>    required from here
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> error: ‘verify_chunk_in_free_list’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> note: declarations in dependent base ‘FreeList<FreeChunk>’ are not found
> by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:293:8:
> note: use ‘this->verify_chunk_in_free_list’ instead
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> error: ‘increment_returned_bytes_by’ was not declared in this scope, and
> no declarations were found by argument-dependent lookup at the point of
> instantiation [-fpermissive]
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> note: declarations in dependent base ‘AdaptiveFreeList<FreeChunk>’ are
> not found by unqualified lookup
> /home/hjen/ws/build-infra/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:303:3:
> note: use ‘this->increment_returned_bytes_by’ instead
> make[7]: *** [binaryTreeDictionary.o] Error 1
> make[7]: *** Waiting for unfinished jobs....
> make[7]: Leaving directory
> `/home/hjen/ws/build-infra/build/linux-x86_64-normal-server-fastdebug/hotspot/linux_amd64_compiler2/fastdebug'



More information about the build-infra-dev mailing list