Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2024 15:15:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 276425] java/openjdk21: does not compile on main-70445a8061
Message-ID:  <bug-276425-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276425

            Bug ID: 276425
           Summary: java/openjdk21: does not compile on main-70445a8061
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: matteo@FreeBSD.org
          Assignee: java@FreeBSD.org
             Flags: maintainer-feedback?(java@FreeBSD.org)

Here's the error I got:

Compiling up to 2774 files for java.desktop
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[4]: Entering directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
Compiling up to 11 files for jdk.jstatd
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
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=
nClosure'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN14ClassLoaderExt20process_module_tableEP10JavaThreadP16ModuleEntryTa=
bleE19ModulePathsGatherer'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN15ClassLoaderData19demote_strong_rootsEvE25TransitionRootsOopClosure'
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=
kWord'
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=
osure'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16java_lang_Thread21async_get_stack_traceEP7oopDescP10JavaThreadE20G=
etStackTraceClosure'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN17BarrierSetNMethod21nmethod_entry_barrierEP7nmethodE19OopKeepAliveC=
losure'
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
'_ZTVZN19G1DirtyCardQueueSet22abandon_logs_and_statsEvE23AbandonThreadLogCl=
osure'
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:155:
/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/build/bsd-x86_64-serv=
er-release/support/modules_libs/java.base/server/libjvm.so]
Error 1
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make/hotspot'
gmake[3]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2
gmake[3]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[4]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make'
gmake[3]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1'

ERROR: Build failed for target 'images' in configuration
'bsd-x86_64-server-release' (exit code 2)=20
gmake[3]: Entering directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1'

=3D=3D=3D Output from failing command(s) repeated here =3D=3D=3D
* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:
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=
nClosure'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN14ClassLoaderExt20process_module_tableEP10JavaThreadP16ModuleEntryTa=
bleE19ModulePathsGatherer'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN15ClassLoaderData19demote_strong_rootsEvE25TransitionRootsOopClosure'
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=
kWord'
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=
osure'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16java_lang_Thread21async_get_stack_traceEP7oopDescP10JavaThreadE20G=
etStackTraceClosure'
failed: symbol not defined
ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN17BarrierSetNMethod21nmethod_entry_barrierEP7nmethodE19OopKeepAliveC=
losure'
failed: symbol not defined
   ... (rest of output omitted)

* All command lines available in
/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/build/bsd-x86_64-serv=
er-release/make-support/failure-logs.
=3D=3D=3D End of repeated output =3D=3D=3D

No indication of failed target found.
HELP: Try searching the build log for '] Error'.
HELP: Run 'make doctor' to diagnose build problems.

gmake[3]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1'
gmake[2]: ***
[/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make/Init.gmk:323: m=
ain]
Error 2
gmake[2]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1'
gmake[1]: ***
[/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/make/Init.gmk:189:
images] Error 2
gmake[1]: Leaving directory
'/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1'
*** Error code 1

Stop.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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