Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2024 10:09:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 276519] java/openjdk19: build fails - linker issues - undefined symbols on 15-current
Message-ID:  <bug-276519-8522-uI1RWM45T1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276519-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276519-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D276519



--- 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 def=
ined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN12JvmtiEnvBase27check_for_periodic_clean_upEvE28ThreadInsideIteratio=
nClo
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_pointersEvE22ResetForwardedMar=
kWor
d'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16SATBMarkQueueSet22set_active_all_threadsEbbE22SetThreadActiveClosu=
re'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16SATBMarkQueueSet23abandon_partial_markingEvE25AbandonThreadQueueCl=
osur
e'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16java_lang_Thread21async_get_stack_traceEP7oopDescP10JavaThreadE20G=
etSt
ackTraceClosure'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN18G1ConcurrentRefine30get_and_reset_refinement_statsEvE12CollectStat=
s'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN19G1DirtyCardQueueSet12abandon_logsEvE23AbandonThreadLogClosure' fai=
led:
symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN19G1DirtyCardQueueSet16concatenate_logsEvE27ConcatenateThreadLogClos=
ure'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN19G1DirtyCardQueueSet30get_and_reset_refinement_statsEvE12CollectSta=
ts'
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 invocatio=
n)
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=3D CUPS GNUPG ICONV MMX OPTIMIZED_CFLAGS SEM SIMD HTTP2 OPENMP =
LTO
BROTLI
OPTIONS_UNSET=3D AALIB ALSA ARTS ESOUND ESPEAK IDN KDE3 NAS NOUVEAU PORTAUD=
IO
PROFILE PULSEAUDIO X11 OPENGL V4L VAAPI VDPAU XVIDEO PROFILE VULKAN
devel_qt6-base_SET_FORCE=3DX11
DEFAULT_VERSIONS+=3Dbdb=3D5+ java=3D11+ pgsql=3D15 imagemagick=3D7-nox11
WITH_PIE=3Dyes
WITH_RELRO=3Dyes
WITH_BIND_NOW=3Dyes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276519-8522-uI1RWM45T1>