space.inline.hpp build failure (original) (raw)
Erik Joelsson erik.joelsson at oracle.com
Tue Apr 3 17:30:48 UTC 2018
- Previous message (by thread): a.out left in root directory when configuring --with-toolchain-type=clang
- Next message (by thread): RFR: JDK-8200375: Change to GCC 7.3.0 for building Linux at Oracle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Peter,
Forwarding this to hotspot-dev as it's an issue with hotspot.
/Erik
On 2018-03-29 23:36, Peter Johnson wrote:
When cross compiling either 9 or 10 to ARM with gcc 5.5.0, I get the following linker error: /tmp/cc7TKVtK.ltrans2.ltrans.o: In function
OffsetTableContigSpace::blockstartconst(void const*) const':_ _<artificial>:(.text+0x26e4): undefined reference to_ _
BlockOffsetTable::blockstart(void const*) const' /tmp/cc7TKVtK.ltrans13.ltrans.o: In functionOffsetTableContigSpace::verify() const':_ _<artificial>:(.text+0x2ca6): undefined reference to_ _
BlockOffsetTable::blockstart(void const*) const' collect2: error: ld returned 1 exit statusThis appears to be due to a missing include in space.inline.hpp. Applying the following patch fixes the build for me. Thanks, Peter diff -r 5ab7a67bc155 src/share/vm/gc/shared/space.inline.hpp --- a/src/share/vm/gc/shared/space.inline.hpp Fri Sep 08 18:24:18 2017 +0000 +++ b/src/share/vm/gc/shared/space.inline.hpp Thu Mar 29 23:25:25 2018 -0700 @@ -26,6 +26,7 @@ #define SHAREVMGCSHAREDSPACEINLINEHPP #include "gc/serial/markSweep.inline.hpp" +#include "gc/shared/blockOffsetTable.inline.hpp" #include "gc/shared/collectedHeap.hpp" #include "gc/shared/generation.hpp" #include "gc/shared/space.hpp"
- Previous message (by thread): a.out left in root directory when configuring --with-toolchain-type=clang
- Next message (by thread): RFR: JDK-8200375: Change to GCC 7.3.0 for building Linux at Oracle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]