ubuntu_kvm_unit_test failed to build on Focal PowerPC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Compilation failed with:
ld: ld: powerpc/
ld: powerpc/rtas.elf: error: PHDR segment not covered by LOAD segment
ld: powerpc/
ld: powerpc/sprs.elf: error: PHDR segment not covered by LOAD segment
ld: powerpc/tm.elf: error: PHDR segment not covered by LOAD segment
Full build log:
$ sudo make -j156 standalone
gcc -std=gnu99 -ffreestanding -O2 -msoft-float -mabi=no-altivec -mno-altivec -I /home/ubuntu/
-DPROGNAME=
gcc -std=gnu99 -ffreestanding -O2 -msoft-float -mabi=no-altivec -mno-altivec -I /home/ubuntu/
-DPROGNAME=
gcc -std=gnu99 -ffreestanding -O2 -msoft-float -mabi=no-altivec -mno-altivec -I /home/ubuntu/
-DPROGNAME=
gcc -std=gnu99 -ffreestanding -O2 -msoft-float -mabi=no-altivec -mno-altivec -I /home/ubuntu/
-DPROGNAME=
gcc -std=gnu99 -ffreestanding -O2 -msoft-float -mabi=no-altivec -mno-altivec -I /home/ubuntu/
-DPROGNAME=
gcc -std=gnu99 -ffreestanding -O2 -msoft-float -mabi=no-altivec -mno-altivec -I /home/ubuntu/
-DPROGNAME=
ld -EL -nostdlib -pie -n -o powerpc/
-T /home/ubuntu/
powerpc/selftest.o powerpc/cstart64.o powerpc/reloc64.o lib/libcflat.a lib/libfdt/libfdt.a powerpc/
ld -EL -nostdlib -pie -n -o powerpc/rtas.elf \
-T /home/ubuntu/
powerpc/rtas.o powerpc/cstart64.o powerpc/reloc64.o lib/libcflat.a lib/libfdt/libfdt.a powerpc/rtas.aux.o
ld -EL -nostdlib -pie -n -o powerpc/
-T /home/ubuntu/
powerpc/
ld -EL -nostdlib -pie -n -o powerpc/
-T /home/ubuntu/
powerpc/emulator.o powerpc/cstart64.o powerpc/reloc64.o lib/libcflat.a lib/libfdt/libfdt.a powerpc/
ld -EL -nostdlib -pie -n -o powerpc/tm.elf \
-T /home/ubuntu/
powerpc/tm.o powerpc/cstart64.o powerpc/reloc64.o lib/libcflat.a lib/libfdt/libfdt.a powerpc/tm.aux.o
ld -EL -nostdlib -pie -n -o powerpc/sprs.elf \
-T /home/ubuntu/
powerpc/sprs.o powerpc/cstart64.o powerpc/reloc64.o lib/libcflat.a lib/libfdt/libfdt.a powerpc/sprs.aux.o
ld: ld: powerpc/
ld: powerpc/rtas.elf: error: PHDR segment not covered by LOAD segment
ld: powerpc/
ld: powerpc/sprs.elf: error: PHDR segment not covered by LOAD segment
ld: powerpc/tm.elf: error: PHDR segment not covered by LOAD segment
make: *** [/home/
make: *** Waiting for unfinished jobs....
make: *** [/home/
make: *** [/home/
make: *** [/home/
make: *** [/home/
make: *** [/home/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-29-generic ppc64le
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 May 18 12:17 seq
crw-rw---- 1 root audio 116, 33 May 18 12:17 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu27
Architecture: ppc64el
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CasperMD5CheckR
CurrentDmesg:
Date: Mon May 18 12:23:21 2020
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0451:80ff Texas Instruments, Inc.
Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd
Bus 001 Device 002: ID 0557:7000 ATEN International Co., Ltd Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB: 0 astdrmfb
ProcKernelCmdLine: root=UUID=
ProcLoadAvg: 0.99 0.76 0.34 1/1414 17784
ProcLocks:
1: POSIX ADVISORY WRITE 3553 00:18:618 0 EOF
2: POSIX ADVISORY WRITE 3235 00:18:507 0 EOF
3: FLOCK ADVISORY WRITE 3525 00:18:600 0 EOF
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 8388544 0 -2
ProcVersion: Linux version 5.4.0-29-generic (buildd@
RelatedPackageV
linux-
linux-
linux-firmware 1.187
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDump_list: total 0
cpu_cores: Number of cores present = 40
cpu_coreson: Number of cores online = 39
cpu_dscr: DSCR is 16
cpu_freq:
min: 2.863 GHz (cpu 79)
max: 2.946 GHz (cpu 81)
avg: 2.903 GHz
cpu_runmode:
Could not retrieve current diagnostics mode,
No kernel interface to firmware
cpu_smt: SMT=4
tags: | added: sru-20200518 |
tags: | added: sru-20200608 |
tags: | added: sru-20200921 |
tags: | added: sru-20210125 |
tags: | added: sru-20210222 |
tags: | added: 5.8 hwe-5.8 |
tags: | added: 5.4 sru-20210315 |
tags: | added: sru-20210412 |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in ubuntu-kernel-tests: | |
status: | New → In Progress |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1879328
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.