1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/java
Dimitry Andric a1f91b22f1 java/openjdk{19,20,21}: fix build with lld 17
Building java/openjdk{19,20,21} 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 '_ZTVZ24WB_HandshakeReadMonitorsE19ReadMonitorsClosure' 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 '_ZTVZL20reinitialize_itablesvE18ReinitTableClosure' 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

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:		276425
Approved by:	otis (mentor), dim
MFH:		2024Q1
Differential Revision:	https://reviews.freebsd.org/D43620
2024-01-26 23:23:12 +01:00
..
apache-bcel
apache-commons-beanutils
apache-commons-cli
apache-commons-codec
apache-commons-collections math/scilab: drop maintainership 2023-11-08 21:43:07 +03:00
apache-commons-collections4
apache-commons-dbcp
apache-commons-httpclient
apache-commons-lang
apache-commons-lang3 java/apache-commons-lang3: Upgrade to version 3.14.0 2023-12-17 17:34:07 -08:00
apache-commons-logging math/scilab: drop maintainership 2023-11-08 21:43:07 +03:00
apache-commons-pool
aparapi
avis */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-06 11:03:47 +01:00
berkeley-db
bluej
bootstrap-openjdk8 java/bootstrap-openjdk8: remove ELFv1 support 2024-01-05 22:01:06 +01:00
bootstrap-openjdk11 java/bootstrap-openjdk11: remove ELFv1 support 2024-01-05 22:00:54 +01:00
bootstrap-openjdk17 java/bootstrap-openjdk17: drop ELFv1 support 2024-01-05 22:01:03 +01:00
bouncycastle
bouncycastle15
cos
dbvis
eclipse */*: Bump consumers of x11-toolkits/gtk30 2023-12-23 18:14:14 +00:00
eclipse-cdt
eclipse-drjava
eclipse-ecj
eclipse-EPIC
eclipse-findbugs */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
eclipse-pydev
eclipse-shelled
hamcrest */*: Use only HTTPS to fetch ports from Maven Central 2023-09-17 14:30:09 +09:00
icedtea-web java/icedtea-web: Sanitize MANPREFIX 2024-01-22 21:26:42 +01:00
infobus
intellij
intellij-fsnotifier
intellij-pty4j
intellij-ultimate java/intellij-ultimate: fix fsnotifier path 2023-09-26 13:47:54 +02:00
jad
jai
jakarta-oro
jasmin */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
jattach
java3d
java-cup */*: Return to pool as per maintainer's request 2023-09-16 03:27:19 +09:00
java-getopt */*: Update WWW to use HTTPS 2023-11-01 23:13:06 +01:00
java-subversion devel/subversion: and devel/subversion-lts update to latest release 1.14.3. 2024-01-08 18:01:28 +01:00
java-zoneinfo
javahelp math/scilab: drop maintainership 2023-11-08 21:43:07 +03:00
javamail
javavmwrapper MAN?PREFIX: eleminate its usage and move man to share/man 2024-01-10 14:13:03 +01:00
jaxen
jcalendar
jcckit */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
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 math/scilab: drop maintainership 2023-11-08 21:43:07 +03:00
jikes
jlex
jlint
jmf
jode */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-06 11:03:47 +01:00
jrosetta math/scilab: drop maintainership 2023-11-08 21:43:07 +03:00
jta
jtiger
jump */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
junit */*: Use only HTTPS to fetch ports from Maven Central 2023-09-17 14:30:09 +09:00
jxgrabkey */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-06 11:03:47 +01:00
lightweight-java-profiler
linux-oracle-jdk18
linux-oracle-jre18
linux-oracle-serverjre10
mmake
mx4j */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
netbeans
netcomponents java/netcomponents: Mark DEPRECATED 2024-01-19 16:14:11 +01:00
netrexx
netty */*: Sunset 12.4-RELEASE/12-STABLE from ports tree 2023-12-31 01:37:05 +01:00
openjdk8 java/openjdk8: allow using DSCR on powerpc64 2024-01-02 14:35:31 +01:00
openjdk8-jre
openjdk11 java/openjdk11: drop ELFv1 support 2024-01-05 22:01:01 +01:00
openjdk11-jre
openjdk17 java/openjdk17: drop ELFv1 support 2024-01-05 22:00:51 +01:00
openjdk17-jre
openjdk18 java/openjdk18: drop ELFv1 support 2024-01-05 22:01:09 +01:00
openjdk19 java/openjdk{19,20,21}: fix build with lld 17 2024-01-26 23:23:12 +01:00
openjdk20 java/openjdk{19,20,21}: fix build with lld 17 2024-01-26 23:23:12 +01:00
openjdk21 java/openjdk{19,20,21}: fix build with lld 17 2024-01-26 23:23:12 +01:00
openjfx14 */*: Bump consumers of x11-toolkits/gtk30 2023-12-23 18:14:14 +00:00
phpeclipse
proguard
sablevm
sablevm-classpath
servingxml */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-06 11:03:47 +01:00
sigar
springframework
springframework31
sqlitejdbc
trove4j
veditor java/veditor: remove expired VHDL support. 2023-11-21 15:07:40 +01:00
visualvm
wildfly java/wildfly: Update version 27.0.1=>28.0.1 2024-01-23 10:57:25 +01:00
Makefile java/wildfly10: Remove expired port 2023-12-31 01:06:26 +01:00