maintainer-feedback requested: [Bug 276519] java/openjdk19: build fails - linker issues - undefined symbols on 15-current
Date: Mon, 22 Jan 2024 10:09:08 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody) <java@FreeBSD.org> for maintainer-feedback: Bug 276519: java/openjdk19: build fails - linker issues - undefined symbols on 15-current https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276519 --- Description --- The poudriere build on 15-current OSVERSION 1500011 fails with the following linker errors: gmake[5]: Entering directory '/wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.2-7-1/make' Updating support/src.zip c++: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument] c++: warning: argument unused during compilation: '-static-libgcc' [-Wunused-command-line-argument] 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_upEvE28ThreadInsideIterationClo sure' 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 '_ZTVZN16DefNewGeneration26remove_forwarding_pointersEvE22ResetForwardedMarkWor d' 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_markingEvE25AbandonThreadQueueClosur e' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN16java_lang_Thread21async_get_stack_traceEP7oopDescP10JavaThreadE20GetSt ackTraceClosure' 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 ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN9G1CardSet14num_containersEvE21GetNumberOfContainers' failed: symbol not defined c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[4]: *** [lib/CompileJvm.gmk:165: /wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.2-7-1/build/bsd-x86_64-s erver-release/support/modules_libs/java.base/server/libjvm.so] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/openjdk19/work/jdk19u-jdk-19.0.2-7-1/make/hotspot' Relevant make.conf vars: OPTIONS_SET= CUPS GNUPG ICONV MMX OPTIMIZED_CFLAGS SEM SIMD HTTP2 OPENMP LTO BROTLI OPTIONS_UNSET= AALIB ALSA ARTS ESOUND ESPEAK IDN KDE3 NAS NOUVEAU PORTAUDIO PROFILE PULSEAUDIO X11 OPENGL V4L VAAPI VDPAU XVIDEO PROFILE VULKAN devel_qt6-base_SET_FORCE=X11 DEFAULT_VERSIONS+=bdb=5+ java=11+ pgsql=15 imagemagick=7-nox11 WITH_PIE=yes WITH_RELRO=yes WITH_BIND_NOW=yes