You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically we will see the error /usr/bin/ld: cannot find -lmmtk_openjdk: No such file or directory, if the build script attempts to link with libmmtk_openjdk.so before it is built. It happens if it takes long to build the Rust crate.
We also noticed this in our CI build:
gmake[2]: *** [make/Main.gmk:272: hotspot-server-libs] Error 2ERROR: Build failed for target 'default (exploded-image)' in configuration 'linux-x86_64-normal-server-release' (exit code 2) Stopping sjavac server=== Output from failing command(s) repeated here ===* For target hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:/usr/bin/ld: cannot find -lmmtk_openjdk: No such file or directorycollect2: error: ld returned 1 exit status* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link:/usr/bin/ld: cannot find -lmmtk_openjdk: No such file or directorycollect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
See the discussion here: https://mmtk.zulipchat.com/#narrow/stream/262674-mmtk-openjdk/topic/Link.20before.20ready.3F/near/367539761
Basically we will see the error
/usr/bin/ld: cannot find -lmmtk_openjdk: No such file or directory
, if the build script attempts to link withlibmmtk_openjdk.so
before it is built. It happens if it takes long to build the Rust crate.We also noticed this in our CI build:
The text was updated successfully, but these errors were encountered: