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 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-beanutils Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-cli Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-codec java/apache-commons-codec: update to 1.16.0 release 2023-06-23 10:48:41 +02:00
apache-commons-collections math/scilab: drop maintainership 2023-11-08 21:43:07 +03:00
apache-commons-collections4 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-dbcp Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-httpclient Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-lang Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
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 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
aparapi Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
avis */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-06 11:03:47 +01:00
berkeley-db Remove WWW lines that have been moved into Makefiles 2022-09-08 17:46:38 +02:00
bluej audio/opus: bump consumers after update to 1.4 2023-04-25 17:17:15 +02:00
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 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
bouncycastle15 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
cos Remove WWW lines that have been moved into Makefiles 2022-09-08 17:46:38 +02:00
dbvis Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse */*: Bump consumers of x11-toolkits/gtk30 2023-12-23 18:14:14 +00:00
eclipse-cdt */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
eclipse-drjava Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-ecj Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-EPIC Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-findbugs */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
eclipse-pydev java/eclipse-pydev: update to 10.2.1 2023-07-03 23:53:12 +03:00
eclipse-shelled Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
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 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
intellij Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
intellij-fsnotifier java/intellij-fsnotifier: Update to 20230112 2023-07-25 17:10:15 +02:00
intellij-pty4j Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
intellij-ultimate java/intellij-ultimate: fix fsnotifier path 2023-09-26 13:47:54 +02:00
jad java: remove 'Created by' lines 2022-07-20 16:22:12 +02:00
jai Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jakarta-oro Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jasmin */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
jattach java/jattach: update to 2.1 2022-12-12 09:42:33 +03:00
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 java: remove 'Created by' lines 2022-07-20 16:22:12 +02:00
java3d Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
javahelp math/scilab: drop maintainership 2023-11-08 21:43:07 +03:00
javamail Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
javavmwrapper MAN?PREFIX: eleminate its usage and move man to share/man 2024-01-10 14:13:03 +01:00
jaxen Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jcalendar Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jcckit */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
jcommon Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jd-gui Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jdk8-doc Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jdk11-doc Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jdom Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jflex */*: Return to pool as per maintainer's request 2023-09-16 03:27:19 +09:00
jfreechart Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jgraph Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jgraphx math/scilab: drop maintainership 2023-11-08 21:43:07 +03:00
jikes */*: Fix build with llvm16 on 13.2-STABLE 2023-07-26 02:48:20 +02:00
jlex Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jlint java/jlint: Fix build with llvm16 2023-07-23 20:45:16 +02:00
jmf Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
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 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jtiger Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
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 */*: Refactor java/openjdk7 removal 2023-04-04 13:10:53 -05:00
linux-oracle-jdk18 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
linux-oracle-jre18 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
linux-oracle-serverjre10 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
mmake Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
mx4j */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-01 23:11:47 +01:00
netbeans java/netbeans: Update to 17. 2023-04-23 14:16:47 +02:00
netcomponents java/netcomponents: Mark DEPRECATED 2024-01-19 16:14:11 +01:00
netrexx Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
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 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
proguard Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
sablevm Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
sablevm-classpath */*: Fix build with llvm16 on 13.2-STABLE 2023-07-26 02:48:20 +02:00
servingxml */*: Update WWW to use HTTPS for sourceforge.net projects 2023-11-06 11:03:47 +01:00
sigar Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
springframework Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
springframework31 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
sqlitejdbc Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
trove4j Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
veditor java/veditor: remove expired VHDL support. 2023-11-21 15:07:40 +01:00
visualvm */*: Adopt ports from swills@ 2023-04-11 15:46:12 -05:00
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