-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make all failing #129
Comments
I just tried on the latest arch linux with
|
I'm having the same issue. Looks like the issue is the [user@desktop dtrace-1.155]$ pacman -Q | grep 'elf\|dwarf'
elfutils 0.168-1
libdwarf 20161124-1
libelf 0.168-1
[user@desktop dtrace-1.155]$ make all
BUILD_DIR=build-4.9.8-1-ARCH \
tools/mkdriver.pl driver-kmem ; \
tools/build.pl build-4.9.8-1-ARCH `uname -m`
Executing: /home/user/Downloads/dtrace/dtrace-1.155/tools/make-me
ERROR: /lib/modules/4.9.8-1-ARCH/build does not exist.
gcc -o build-4.9.8-1-ARCH/kcore tools/kcore.c
tools/check_dep.pl
tools/mkport.pl
/tmp/user.dwarf.c: In function 'main':
/tmp/user.dwarf.c:5:2: warning: implicit declaration of function 'dwarf_loclist' [-Wimplicit-function-declaration]
dwarf_loclist();
^~~~~~~~~~~~~
/tmp/ccnNJ1IH.o: In function `main':
user.dwarf.c:(.text+0x1f): undefined reference to `dwarf_loclist'
collect2: error: ld returned 1 exit status
|
This seems to be related to Changes to support CentOS 7: The script seems check if
|
The same error occurs on a Centos7 system
but builds continues successfully |
Have the same problem on Void Linux Kernel 5.8.16_1
|
I have the same problem on Parrot OS Linux Kernel 5.9.0-2parrot1-amd64
|
Hi
I am trying to build dtrace.
I have installed libdwarf and elfutils-libs
make all is failing with below error -
Any idea what may be going wrong.
BUILD_DIR=build-4.4.5-0.1.fm.221.49.316.metal1.x86_64
tools/mkdriver.pl driver-kmem ;
tools/build.pl build-4.4.5-0.1.fm.221.49.316.metal1.x86_64
uname -m
Executing: /tmp/dtrace/dtrace-20160613/tools/make-me
make -C /lib/modules/4.4.5-0.1.fm.221.49.316.metal1.x86_64/build M=/tmp/dtrace/dtrace-20160613/build-4.4.5-0.1.fm.221.49.316.metal1.x86_64/driver-kmem
Building modules, stage 2.
MODPOST 1 modules
gcc -o build-4.4.5-0.1.fm.221.49.316.metal1.x86_64/kcore tools/kcore.c
tools/check_dep.pl
tools/mkport.pl
/tmp/ccXV3VX4.o: In function
main': root.dwarf.c:(.text+0x1f): undefined reference to
dwarf_loclist'collect2: ld returned 1 exit status
Failed to find offset
Use of uninitialized value $old_rsp in concatenation (.) or string at tools/mkport.pl line 144.
old_rsp=
We cannot find old_rsp or per_cpu__old_rsp in your kernel.
Additionally, it looks like /proc/kcore is broken on your kernel,
meaning we cannot poke to find this variable, which helps identify
kernel thread offsets.
FATAL ERROR: cannot find old_rsp
FATAL ERROR: build.pl aborting
make: *** [all] Error 25
The text was updated successfully, but these errors were encountered: