Summary: | dev-java/openjdk-21.0.1_p12: ld.lld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZ21WB_HandshakeWalkStackE16TraceSelfClosure' failed: symbol not defined | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nvinson234 |
Component: | Current packages | Assignee: | Java team <java> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | chris, contyk, java, mark.j, nvinson234, onigino, StormByte |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/openjdk/jdk21u-dev/pull/166 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.xz
openjdk-17.0.10_p7-fix-lld-symbols.patch openjdk-21.0.2_p13-fix-lld-symbols.patch openjdk-21.0.2_p13 build.log after patch openjdk-17.0.10_p7 build.log after patch |
Description
nvinson234
2024-01-15 02:57:31 UTC
Created attachment 882304 [details]
build.log.xz
upstream PR: https://github.com/openjdk/jdk21u-dev/pull/166 The upstream patch gets through that error, but now I've got a new error when trying to build (clang/libcxx-18). Additionally, a slight tweak to the upstream patch is needed to build openjdk-17. https://paste.gentoo.zip/ok7oOREq - build.log for openjdk-21.0.2_p13 https://paste.gentoo.zip/hfRwPiWX - build.log for openjdk-17.0.10_p7 https://paste.gentoo.zip/nXBJACiY - openjdk-21.0.2_p13 patch https://paste.gentoo.zip/1N14U7fz - openjdk-17.0.10_p7 patch (also needs building with -Wl,--undefined-version in LDFLAGS) (In reply to Chris Pritchard from comment #3) Please always use attachments, compressed if necessary. Pastebins expire or may not be accessible behind firewalls. Created attachment 887834 [details, diff]
openjdk-17.0.10_p7-fix-lld-symbols.patch
Created attachment 887835 [details, diff]
openjdk-21.0.2_p13-fix-lld-symbols.patch
Created attachment 887836 [details]
openjdk-21.0.2_p13 build.log after patch
Created attachment 887837 [details]
openjdk-17.0.10_p7 build.log after patch
Looks very similar to my issue I'm on llvm-17 https://bugs.gentoo.org/show_bug.cgi?id=928656 |