scrashme failed to build on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Medium
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
This test case failed to build on LPAR Ubuntu (s2lp4)
Maybe we should disable it from the test suite.
cc -Wall -W -Wshadow -g -O2 -o scrashme.o -c scrashme.c
Makefile:13: recipe for target 'scrashme.o' failed
stderr:
scrashme.c: In function 'mkcall':
scrashme.c:150:13: error: 'NR_SYSCALLS' undeclared (first use in this function)
if (call > NR_SYSCALLS)
^~~~~~~~~~~
scrashme.c:150:13: note: each undeclared identifier is reported only once for each function it appears in
scrashme.c: In function 'do_syscall':
scrashme.c:258:27: error: 'NR_SYSCALLS' undeclared (first use in this function)
cl = rand() / (RAND_MAX/
^~~~~~~~~~~
scrashme.c: In function 'syscall_list':
scrashme.c:293:15: error: 'NR_SYSCALLS' undeclared (first use in this function)
for (i=0; i<=NR_SYSCALLS; i++) {
^~~~~~~~~~~
scrashme.c: In function 'parse_args':
scrashme.c:337:18: error: 'NR_SYSCALLS' undeclared (first use in this function)
for (i=0; i<=NR_SYSCALLS; i++) {
^~~~~~~~~~~
scrashme.c:371:13: error: 'KERNEL_ADDR' undeclared (first use in this function)
regval = KERNEL_ADDR;
^~~~~~~~~~~
scrashme.c: In function 'run_mode':
scrashme.c:522:15: error: 'NR_SYSCALLS' undeclared (first use in this function)
if (rep > NR_SYSCALLS) {
^~~~~~~~~~~
scrashme.c: In function 'main':
scrashme.c:588:13: error: 'syscalls_i386' undeclared (first use in this function)
syscalls = syscalls_i386;
^~~~~~~~~~~~~
scrashme.c: In function 'run_setup':
scrashme.c:467:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
seteuid(65536);
^~~~~~~~~~~~~~
scrashme.c:468:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
seteuid(65536);
^~~~~~~~~~~~~~
scrashme.c:469:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
(void)setgid(
^~~~~~~~~~~~~~~~~~~
scrashme.c:470:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
seteuid(65536);
^~~~~~~~~~~~~~
scrashme.c:486:2: warning: ignoring return value of 'chroot', declared with attribute warn_unused_result [-Wunused-result]
chroot("tmp");
^~~~~~~~~~~~~
make: *** [scrashme.o] Error 1
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.8.0-52-generic s390x
NonfreeKernelMo
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: s390x
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Mon May 8 03:25:31 2017
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=
RelatedPackageV
linux-
linux-
linux-firmware 1.161.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- scrashme failed to build on LPAR Ubuntu + scrashme failed to build on s390x |
tags: | added: artful boinic xenial |
Changed in linux (Ubuntu): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu): | |
assignee: | Po-Hsu Lin (cypressyew) → nobody |
This change was made by a bot.