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
Mandrel ships with libjvm.a and liblibchelper.a but not their sources.
As a result gdb (as well as other tools) fail to show the source code.
How To Reproduce
native-image -g HelloWorld
gdb helloworld
(gdb) b determineCPUFeatures
Breakpoint 1 at 0x6c12c0: file /usr/lib/gcc/x86_64-redhat-linux/8/include/cpuid.h, line 241.
(gdb) r
Starting program: /home/zakkak/code/graal/helloworld
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Breakpoint 1, determineCPUFeatures (features=0x7fffffffd328) at /home/jenkins/jenkins/workspace/mandrel-linux-build/mandrel/substratevm/src/com.oracle.svm.native.libchelper/src/cpuid.c:121
121 /home/jenkins/jenkins/workspace/mandrel-linux-build/mandrel/substratevm/src/com.oracle.svm.native.libchelper/src/cpuid.c: No such file or directory.
Additional context
In order to fix this we need to:
Ship the sources along the binaries
Find a way for gdb to detect the sources. Currently it's looking in the directory where the sources were built from:
Description
Mandrel ships with
libjvm.a
andliblibchelper.a
but not their sources.As a result gdb (as well as other tools) fail to show the source code.
How To Reproduce
Additional context
In order to fix this we need to:
The text was updated successfully, but these errors were encountered: