mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
2bd641cc19
Building java/openjdk17 with lld 17 results in the following link errors: ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZ21WB_HandshakeWalkStackE16TraceSelfClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZ26WB_AsyncHandshakeWalkStackE16TraceSelfClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN12JvmtiEnvBase27check_for_periodic_clean_upEvE28ThreadInsideIterationClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN15G1RemSetSummary6updateEvE11CollectData' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN16SATBMarkQueueSet22set_active_all_threadsEbbE22SetThreadActiveClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN16SATBMarkQueueSet23abandon_partial_markingEvE25AbandonThreadQueueClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN18G1ConcurrentRefine30get_and_reset_refinement_statsEvE12CollectStats' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN19G1DirtyCardQueueSet12abandon_logsEvE23AbandonThreadLogClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN19G1DirtyCardQueueSet16concatenate_logsEvE27ConcatenateThreadLogClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN19G1DirtyCardQueueSet30get_and_reset_refinement_statsEvE12CollectStats' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN7Threads25change_thread_claim_tokenEvE11ResetClaims' failed: symbol not defined c++: error: linker command failed with exit code 1 (use -v to see invocation) This is because lld 17 defaults to errors when undefined symbols are referenced in linker version scripts. The problem is due to the Makefile JvmMapfile.gmk, which generates a linker version script. It uses "nm --defined-only" to dump symbols in object files, but this also includes local (hidden) symbols. Add "--extern-only" to make it only dump global symbols. PR: 274109 Approved by: maintainer timeout (10 days) MFH: 2023Q4 |
||
---|---|---|
.. | ||
apache-bcel | ||
apache-commons-beanutils | ||
apache-commons-cli | ||
apache-commons-codec | ||
apache-commons-collections | ||
apache-commons-collections4 | ||
apache-commons-dbcp | ||
apache-commons-httpclient | ||
apache-commons-lang | ||
apache-commons-lang3 | ||
apache-commons-logging | ||
apache-commons-pool | ||
aparapi | ||
avis | ||
berkeley-db | ||
bluej | ||
bootstrap-openjdk8 | ||
bootstrap-openjdk11 | ||
bootstrap-openjdk17 | ||
bouncycastle | ||
bouncycastle15 | ||
cos | ||
dbvis | ||
eclipse | ||
eclipse-cdt | ||
eclipse-drjava | ||
eclipse-ecj | ||
eclipse-EPIC | ||
eclipse-findbugs | ||
eclipse-pydev | ||
eclipse-shelled | ||
hamcrest | ||
icedtea-web | ||
infobus | ||
intellij | ||
intellij-fsnotifier | ||
intellij-pty4j | ||
intellij-ultimate | ||
jad | ||
jai | ||
jakarta-oro | ||
jasmin | ||
jattach | ||
java3d | ||
java-cup | ||
java-getopt | ||
java-subversion | ||
java-zoneinfo | ||
javahelp | ||
javamail | ||
javavmwrapper | ||
jaxen | ||
jcalendar | ||
jcckit | ||
jcommon | ||
jd-gui | ||
jdk8-doc | ||
jdk11-doc | ||
jdom | ||
jflex | ||
jfreechart | ||
jgraph | ||
jgraphx | ||
jikes | ||
jlex | ||
jlint | ||
jmf | ||
jode | ||
jrosetta | ||
jta | ||
jtiger | ||
jump | ||
junit | ||
jxgrabkey | ||
lightweight-java-profiler | ||
linux-oracle-jdk18 | ||
linux-oracle-jre18 | ||
linux-oracle-serverjre10 | ||
mmake | ||
mx4j | ||
netbeans | ||
netcomponents | ||
netrexx | ||
netty | ||
openjdk8 | ||
openjdk8-jre | ||
openjdk11 | ||
openjdk11-jre | ||
openjdk17 | ||
openjdk17-jre | ||
openjdk18 | ||
openjdk19 | ||
openjdk20 | ||
openjfx14 | ||
phpeclipse | ||
proguard | ||
sablevm | ||
sablevm-classpath | ||
servingxml | ||
sigar | ||
springframework | ||
springframework31 | ||
sqlitejdbc | ||
trove4j | ||
veditor | ||
visualvm | ||
wildfly10 | ||
wildfly11 | ||
wildfly12 | ||
wildfly13 | ||
wildfly14 | ||
wildfly15 | ||
wildfly16 | ||
wildfly17 | ||
wildfly18 | ||
wildfly24 | ||
wildfly25 | ||
wildfly26 | ||
wildfly90 | ||
Makefile |