Comment 3 for bug 1883343

Revision history for this message
nyanpasu64 (nyanpasu64) wrote :

Same error.

ubuntu@pi-ubuntu:~/bin$ apt-cache policy systemtap
systemtap:
  Installed: 4.3-2-g7a7016a12+20.04.20200612040454
  Candidate: 4.3-2-g7a7016a12+20.04.20200612040454
  Version table:
 *** 4.3-2-g7a7016a12+20.04.20200612040454 500
        500 http://ppa.launchpad.net/ubuntu-support-team/systemtap/ubuntu focal/main arm64 Packages
        100 /var/lib/dpkg/status
     4.2-3 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages

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]