- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo,
I try to build it at /opt/intel/oneapi/vtune/2025.8/sepdk/src
using: sudo ./build-driver
but have the the following errors:
C compiler to use: [ /bin/gcc ] /usr/bin/x86_64-linux-gnu-gcc-13
C compiler version: 13.3.0
Make command to use: [ /bin/make ]
Make version: 4.3
Kernel source directory: [ /lib/modules/6.14.0-37-generic/build ]
Kernel version: 6.14.0-37-generic
Cleaning workspaces ...
Done
Building sep driver ...
sys64.o: warning: objtool: .text+0x35: unreachable instruction
sys64.o: warning: objtool: .text+0x36: unreachable instruction
/bin/sh: 1: pahole: not found
make[4]: *** [/usr/src/linux-headers-6.14.0-37-generic/scripts/Makefile.modfinal:57: sep5.ko] Error 127
make[4]: *** Deleting file 'sep5.ko'
make[3]: *** [/usr/src/linux-headers-6.14.0-37-generic/Makefile:1928: modules] Error 2
make[2]: *** [/usr/src/linux-headers-6.14.0-37-generic/Makefile:251: __sub-make] Error 2
Could you pls help me by solving this problem? Thanks, Binh
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try installing dwarves package and try the build again?
sudo apt update
sudo apt install dwarves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks you for your info.
Unfortunately, I also have errors after successfully installing dwarves like:
sys64.o: error: objtool: .text+0xf9: unreachable instruction
make[4]: *** [/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:430: sys64.o] Error 1
make[4]: *** Deleting file 'sys64.o'
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:2016: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:248: __sub-make] Error 2
make[1]: *** [Makefile:248: __sub-make] Error 2
Thanks again. Binh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There might have been 2 issues with your build.
and one of them was resolved by installing dwarvs.
to resolve the another issue, add --make-args="OBJECT_FILES_NON_STANDARD_sys64.o:=y" in the build command like below
./build-driver -ni --make-args="OBJECT_FILES_NON_STANDARD_sys64.o:=y"
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page