ubuntu@pi-ubuntu:~/bin$ sudo stap empty.stap
In file included from /tmp/stapbLlwIo/stap_3d7839d377ce54c81f0c86b1126e5e95_60512_src.c:31:
/usr/share/systemtap/runtime/linux/compat_unistd.h:1876: error: "__NR_compat_clock_getres" redefined [-Werror]
1876 | #define __NR_compat_clock_getres __NR_clock_getres
|
In file included from /tmp/stapbLlwIo/stap_3d7839d377ce54c81f0c86b1126e5e95_60512_src.c:30:
./arch/arm64/include/asm/unistd.h:29: note: this is the location of the previous definition
29 | #define __NR_compat_clock_getres 264
|
In file included from /tmp/stapbLlwIo/stap_3d7839d377ce54c81f0c86b1126e5e95_60512_src.c:31:
/usr/share/systemtap/runtime/linux/compat_unistd.h:1877: error: "__NR_compat_clock_gettime" redefined [-Werror]
1877 | #define __NR_compat_clock_gettime __NR_clock_gettime
|
In file included from /tmp/stapbLlwIo/stap_3d7839d377ce54c81f0c86b1126e5e95_60512_src.c:30:
./arch/arm64/include/asm/unistd.h:28: note: this is the location of the previous definition
28 | #define __NR_compat_clock_gettime 263
|
In file included from /tmp/stapbLlwIo/stap_3d7839d377ce54c81f0c86b1126e5e95_60512_src.c:31:
/usr/share/systemtap/runtime/linux/compat_unistd.h:1958: error: "__NR_compat_gettimeofday" redefined [-Werror]
1958 | #define __NR_compat_gettimeofday __NR_gettimeofday
|
In file included from /tmp/stapbLlwIo/stap_3d7839d377ce54c81f0c86b1126e5e95_60512_src.c:30:
./arch/arm64/include/asm/unistd.h:25: note: this is the location of the previous definition
25 | #define __NR_compat_gettimeofday 78
|
cc1: all warnings being treated as errors
make[1]: *** [scripts/Makefile.build:273: /tmp/stapbLlwIo/stap_3d7839d377ce54c81f0c86b1126e5e95_60512_src.o] Error 1
make: *** [Makefile:1722: /tmp/stapbLlwIo] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
Same error.
ubuntu@ pi-ubuntu: ~/bin$ apt-cache policy systemtap 2+20.04. 20200612040454 2+20.04. 20200612040454 2+20.04. 20200612040454 500 ppa.launchpad. net/ubuntu- support- team/systemtap/ ubuntu focal/main arm64 Packages dpkg/status ports.ubuntu. com/ubuntu- ports focal/universe arm64 Packages
systemtap:
Installed: 4.3-2-g7a7016a1
Candidate: 4.3-2-g7a7016a1
Version table:
*** 4.3-2-g7a7016a1
500 http://
100 /var/lib/
4.2-3 500
500 http://
ubuntu@ pi-ubuntu: ~/bin$ sudo stap empty.stap /stap_3d7839d37 7ce54c81f0c86b1 126e5e95_ 60512_src. c:31: systemtap/ runtime/ linux/compat_ unistd. h:1876: error: "__NR_compat_ clock_getres" redefined [-Werror] clock_getres __NR_clock_getres /stap_3d7839d37 7ce54c81f0c86b1 126e5e95_ 60512_src. c:30: arm64/include/ asm/unistd. h:29: note: this is the location of the previous definition clock_getres 264 /stap_3d7839d37 7ce54c81f0c86b1 126e5e95_ 60512_src. c:31: systemtap/ runtime/ linux/compat_ unistd. h:1877: error: "__NR_compat_ clock_gettime" redefined [-Werror] clock_gettime __NR_clock_gettime /stap_3d7839d37 7ce54c81f0c86b1 126e5e95_ 60512_src. c:30: arm64/include/ asm/unistd. h:28: note: this is the location of the previous definition clock_gettime 263 /stap_3d7839d37 7ce54c81f0c86b1 126e5e95_ 60512_src. c:31: systemtap/ runtime/ linux/compat_ unistd. h:1958: error: "__NR_compat_ gettimeofday" redefined [-Werror] gettimeofday __NR_gettimeofday /stap_3d7839d37 7ce54c81f0c86b1 126e5e95_ 60512_src. c:30: arm64/include/ asm/unistd. h:25: note: this is the location of the previous definition gettimeofday 78 Makefile. build:273: /tmp/stapbLlwIo /stap_3d7839d37 7ce54c81f0c86b1 126e5e95_ 60512_src. o] Error 1
In file included from /tmp/stapbLlwIo
/usr/share/
1876 | #define __NR_compat_
|
In file included from /tmp/stapbLlwIo
./arch/
29 | #define __NR_compat_
|
In file included from /tmp/stapbLlwIo
/usr/share/
1877 | #define __NR_compat_
|
In file included from /tmp/stapbLlwIo
./arch/
28 | #define __NR_compat_
|
In file included from /tmp/stapbLlwIo
/usr/share/
1958 | #define __NR_compat_
|
In file included from /tmp/stapbLlwIo
./arch/
25 | #define __NR_compat_
|
cc1: all warnings being treated as errors
make[1]: *** [scripts/
make: *** [Makefile:1722: /tmp/stapbLlwIo] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]