-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b02
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8214630 | 8u211 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-8220883 | emb-8u211 | Kevin Walls | P3 | Resolved | Fixed | master |
Linux builds with gcc7.3 are failing on some machines as they create adlc with a dependency on a specific libstdc++ version which may not be that of the installed OS.
Build failure looks like:
...
Making adlc
/opt/jprt/products/P1/gcc7.3.0-Fedora9+1.0/bin/g++ -Xlinker -O1 -Xlinker -export-dynamic -o ../generated/adfiles/adlc ../generated/adfiles/adlparse.o ../generated/adfiles/archDesc.o ../generated/adfiles/arena.o ../generated/adfiles/dfa.o ../generated/adfiles/dict2.o ../generated/adfiles/filebuff.o ../generated/adfiles/forms.o ../generated/adfiles/formsopt.o ../generated/adfiles/formssel.o ../generated/adfiles/main.o ../generated/adfiles/adlc-opcodes.o ../generated/adfiles/output_c.o ../generated/adfiles/output_h.o
../generated/adfiles/adlc -DLINUX -D_GNU_SOURCE -DAMD64 -q -T -L/opt/jprt/products/P1/gcc7.3.0-Fedora9+1.0/lib -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -g -D_LP64 ../generated/adfiles/linux_x86_64.ad \
-c../generated/adfiles/mktmp25629/ad_x86_64.cpp -h../generated/adfiles/mktmp25629/ad_x86_64.hpp -a../generated/adfiles/mktmp25629/dfa_x86_64.cpp -v../generated/adfiles/mktmp25629/adGlobals_x86_64.hpp \
|| { rm -rf ../generated/adfiles/mktmp25629; exit 1; }
../generated/adfiles/adlc: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ../generated/adfiles/adlc)
gmake[6]: Leaving directory `/opt/jprt/T/P1/102349.kwalls/s/build/linux-x86_64-normal-server-release/hotspot
Build failure looks like:
...
Making adlc
/opt/jprt/products/P1/gcc7.3.0-Fedora9+1.0/bin/g++ -Xlinker -O1 -Xlinker -export-dynamic -o ../generated/adfiles/adlc ../generated/adfiles/adlparse.o ../generated/adfiles/archDesc.o ../generated/adfiles/arena.o ../generated/adfiles/dfa.o ../generated/adfiles/dict2.o ../generated/adfiles/filebuff.o ../generated/adfiles/forms.o ../generated/adfiles/formsopt.o ../generated/adfiles/formssel.o ../generated/adfiles/main.o ../generated/adfiles/adlc-opcodes.o ../generated/adfiles/output_c.o ../generated/adfiles/output_h.o
../generated/adfiles/adlc -DLINUX -D_GNU_SOURCE -DAMD64 -q -T -L/opt/jprt/products/P1/gcc7.3.0-Fedora9+1.0/lib -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -g -D_LP64 ../generated/adfiles/linux_x86_64.ad \
-c../generated/adfiles/mktmp25629/ad_x86_64.cpp -h../generated/adfiles/mktmp25629/ad_x86_64.hpp -a../generated/adfiles/mktmp25629/dfa_x86_64.cpp -v../generated/adfiles/mktmp25629/adGlobals_x86_64.hpp \
|| { rm -rf ../generated/adfiles/mktmp25629; exit 1; }
../generated/adfiles/adlc: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ../generated/adfiles/adlc)
gmake[6]: Leaving directory `/opt/jprt/T/P1/102349.kwalls/s/build/linux-x86_64-normal-server-release/hotspot
- backported by
-
JDK-8214630 [8u] hotspot adlc needs to link statically with libstdc++ for gcc7.3
- Resolved
-
JDK-8220883 [8u] hotspot adlc needs to link statically with libstdc++ for gcc7.3
- Resolved