1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/java
Dimitry Andric 2bd641cc19 java/openjdk17: fix build with lld 17
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
2023-10-06 19:48:54 +02:00
..
apache-bcel
apache-commons-beanutils
apache-commons-cli
apache-commons-codec java/apache-commons-codec: update to 1.16.0 release 2023-06-23 10:48:41 +02:00
apache-commons-collections
apache-commons-collections4
apache-commons-dbcp
apache-commons-httpclient
apache-commons-lang
apache-commons-lang3 java/apache-commons-lang3: Upgrade to 3.13.0 2023-09-11 03:49:49 -07:00
apache-commons-logging
apache-commons-pool
aparapi
avis
berkeley-db
bluej audio/opus: bump consumers after update to 1.4 2023-04-25 17:17:15 +02:00
bootstrap-openjdk8
bootstrap-openjdk11
bootstrap-openjdk17
bouncycastle
bouncycastle15
cos
dbvis
eclipse java/eclipse: fix build 2023-08-30 09:56:52 +02:00
eclipse-cdt */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
eclipse-drjava
eclipse-ecj
eclipse-EPIC
eclipse-findbugs
eclipse-pydev java/eclipse-pydev: update to 10.2.1 2023-07-03 23:53:12 +03:00
eclipse-shelled
hamcrest */*: Use only HTTPS to fetch ports from Maven Central 2023-09-17 14:30:09 +09:00
icedtea-web lang/rust: Bump revisions after 1.72.0 2023-09-08 11:06:24 +02:00
infobus
intellij
intellij-fsnotifier java/intellij-fsnotifier: Update to 20230112 2023-07-25 17:10:15 +02:00
intellij-pty4j
intellij-ultimate java/intellij-ultimate: fix fsnotifier path 2023-09-26 13:47:54 +02:00
jad
jai
jakarta-oro
jasmin
jattach
java3d
java-cup */*: Return to pool as per maintainer's request 2023-09-16 03:27:19 +09:00
java-getopt
java-subversion
java-zoneinfo
javahelp
javamail
javavmwrapper
jaxen
jcalendar
jcckit
jcommon
jd-gui
jdk8-doc
jdk11-doc
jdom
jflex */*: Return to pool as per maintainer's request 2023-09-16 03:27:19 +09:00
jfreechart
jgraph
jgraphx
jikes */*: Fix build with llvm16 on 13.2-STABLE 2023-07-26 02:48:20 +02:00
jlex
jlint java/jlint: Fix build with llvm16 2023-07-23 20:45:16 +02:00
jmf
jode
jrosetta
jta
jtiger
jump
junit */*: Use only HTTPS to fetch ports from Maven Central 2023-09-17 14:30:09 +09:00
jxgrabkey
lightweight-java-profiler */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
linux-oracle-jdk18
linux-oracle-jre18
linux-oracle-serverjre10
mmake
mx4j
netbeans java/netbeans: Update to 17. 2023-04-23 14:16:47 +02:00
netcomponents
netrexx
netty java/netty: Fix buils with llvm15 2023-06-12 21:45:17 +02:00
openjdk8 java/openjdk8: fix build with lld 17 2023-10-06 19:48:54 +02:00
openjdk8-jre
openjdk11 */*: Bump jpeg-turbo users treewide 2023-07-28 19:13:17 +02:00
openjdk11-jre
openjdk17 java/openjdk17: fix build with lld 17 2023-10-06 19:48:54 +02:00
openjdk17-jre
openjdk18 */*: Bump jpeg-turbo users treewide 2023-07-28 19:13:17 +02:00
openjdk19 java/openjdk19: Fix build with llvm16 2023-08-08 00:00:19 +02:00
openjdk20 java/openjdk20: fix build on powerpc64 2023-10-02 16:02:15 +02:00
openjfx14 */*: Bump jpeg-turbo users treewide 2023-07-28 19:13:17 +02:00
phpeclipse
proguard
sablevm
sablevm-classpath */*: Fix build with llvm16 on 13.2-STABLE 2023-07-26 02:48:20 +02:00
servingxml
sigar
springframework
springframework31
sqlitejdbc
trove4j
veditor *: Bump PORTREVISIONs for math/mpc update to 1.3.1 2023-04-23 09:09:58 +00:00
visualvm */*: Adopt ports from swills@ 2023-04-11 15:46:12 -05:00
wildfly10
wildfly11
wildfly12
wildfly13
wildfly14 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
wildfly15 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
wildfly16 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
wildfly17 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
wildfly18 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
wildfly24 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
wildfly25 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
wildfly26 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
wildfly90
Makefile java/openjdk20: Add a port of JDK 20 2023-10-01 11:42:49 -07:00