Skip to content

Commit eae7059

Browse files
committed
mokapot: Remove requirement for --undefined-version by removing unused symbols
1 parent b887c36 commit eae7059

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

espresso/mx.espresso/suite.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@
321321
"ldflags": [
322322
"-Wl,-soname,libjvm.so",
323323
"-Wl,--version-script,<path:espresso:com.oracle.truffle.espresso.mokapot>/mapfile-vers",
324-
# newer LLVM versions default to --no-undefined-version
325-
"-Wl,--undefined-version",
326324
],
327325
"toolchain": "sulong:SULONG_BOOTSTRAP_TOOLCHAIN",
328326
},
@@ -333,8 +331,6 @@
333331
"ldflags": [
334332
"-Wl,-soname,libjvm.so",
335333
"-Wl,--version-script,<path:espresso:com.oracle.truffle.espresso.mokapot>/mapfile-vers",
336-
# newer LLVM versions default to --no-undefined-version
337-
"-Wl,--undefined-version",
338334
],
339335
"toolchain": "sulong:SULONG_BOOTSTRAP_TOOLCHAIN",
340336
},

espresso/src/com.oracle.truffle.espresso.mokapot/mapfile-vers

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,6 @@ SUNWprivate_1.1 {
340340
JVM_SetStackWalkContinuation;
341341
JVM_ReportFinalizationComplete;
342342
JVM_IsFinalizationEnabled;
343-
JVM_VirtualThreadMountBegin;
344-
JVM_VirtualThreadMountEnd;
345-
JVM_VirtualThreadUnmountBegin;
346-
JVM_VirtualThreadUnmountEnd;
347343

348344
# JDK 20
349345
JVM_VirtualThreadHideFrames;
@@ -378,19 +374,9 @@ SUNWprivate_1.1 {
378374

379375
# miscellaneous functions
380376
jio_fprintf;
381-
jio_printf;
382377
jio_snprintf;
383378
jio_vfprintf;
384379
jio_vsnprintf;
385-
fork1;
386-
numa_warn;
387-
numa_error;
388-
389-
# Needed because there is no JVM interface for this.
390-
sysThreadAvailableStackWithSlack;
391-
392-
# This is for Forte Analyzer profiling support.
393-
AsyncGetCallTrace;
394380

395381
# INSERT VTABLE SYMBOLS HERE
396382

0 commit comments

Comments
 (0)