Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920459 - app-emulation/qemu-8.2.0 - /.../ld: libcommon.fa.p/net_af-xdp.c.o: undefined reference to symbol bpf_xdp_detach@@LIBBPF_0.7.0
Summary: app-emulation/qemu-8.2.0 - /.../ld: libcommon.fa.p/net_af-xdp.c.o: undefined ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-21 09:45 UTC by Toralf Förster
Modified: 2024-04-28 11:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.98 KB, text/plain)
2023-12-21 09:45 UTC, Toralf Förster
Details
app-emulation:qemu-8.2.0:20231221-015829.log.xz (app-emulation:qemu-8.2.0:20231221-015829.log.xz,68.27 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,75.65 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details
environment (environment,177.57 KB, text/plain)
2023-12-21 09:45 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.30 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,80.10 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-21 09:45:02 UTC
too long lines were shrinked:

[1741/2855] x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemu-x86_64-softmmu.fa.p -I. -I.. -Itarget/i386 -I../target/i386 -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -fstack-prot
[1742/2855] x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemu-x86_64-softmmu.fa.p -I. -I.. -Itarget/i386 -I../target/i386 -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -fstack-prot
[1743/2855] x86_64-pc-linux-gnu-gcc -m64 -mcx16 -Ilibqemu-x86_64-softmmu.fa.p -I. -I.. -Itarget/i386 -I../target/i386 -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -fstack-prot
[1744/2855] x86_64-pc-linux-gnu-gcc -m64 -mcx16  -o qemu-system-i386 libcommon.fa.p/hw_core_cpu-common.c.o libcommon.fa.p/hw_core_machine-smp.c.o libcommon.fa.p/gdbstub_syscalls.c.o libcommon.fa.p/cpu-common.c.o libcommon.fa.p/page-vary-common.c.o libcommon.fa.p/disas_disas.c.o libcommon.fa.p/accel_
FAILED: qemu-system-i386 
x86_64-pc-linux-gnu-gcc -m64 -mcx16  -o qemu-system-i386 libcommon.fa.p/hw_core_cpu-common.c.o libcommon.fa.p/hw_core_machine-smp.c.o libcommon.fa.p/gdbstub_syscalls.c.o libcommon.fa.p/cpu-common.c.o libcommon.fa.p/page-vary-common.c.o libcommon.fa.p/disas_disas.c.o libcommon.fa.p/accel_tcg_cpu-exec
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: libcommon.fa.p/net_af-xdp.c.o: undefined reference to symbol 'bpf_xdp_detach@@LIBBPF_0.7.0'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libbpf.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231214-171515

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-1.72.0
  [2]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 9fe03b6f1f4d9dee641d773f31f9584e8a1bdf46
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 21 00:31:54 2023 +0000

    Merge updates from master

emerge -qpvO app-emulation/qemu
[ebuild     U ] app-emulation/qemu-8.2.0 [8.1.3] USE="aio bzip2 curl fdt filecaps gnutls jemalloc ncurses oss pam pin-upstream-blobs png python sasl seccomp slirp vhost-net vnc xattr -accessibility -alsa -bpf -capstone -debug -doc -fuse -glusterfs -gtk -infiniband -io-uring -iscsi -jack -jpeg -keyutils -lzo -multipath -nfs -nls -numa -opengl -pipewire -plugins -pulseaudio -rbd -sdl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static-user -systemtap -test -udev -usb -usbredir -vde -virgl -virtfs -vte -xen -zstd" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -xtensa -xtensaeb"
Comment 1 Toralf Förster gentoo-dev 2023-12-21 09:45:03 UTC
Created attachment 880128 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-21 09:45:05 UTC
Created attachment 880129 [details]
app-emulation:qemu-8.2.0:20231221-015829.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-21 09:45:06 UTC
Created attachment 880130 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-21 09:45:07 UTC
Created attachment 880131 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-21 09:45:08 UTC
Created attachment 880132 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-21 09:45:09 UTC
Created attachment 880133 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-21 09:45:10 UTC
The file size of ./files/logs.tar.xz is too big (11M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1-20231214-171515/var/tmp/tb/issues/20231221-020455-app-emulation_qemu-8.2.0/files/logs.tar.xz is valid.
Comment 8 Toralf Förster gentoo-dev 2023-12-21 09:45:11 UTC
Created attachment 880134 [details]
qlist-info.txt.xz
Comment 9 berte 2024-02-11 18:31:30 UTC
Hello Toralf,

Can you please try to re-emerge using the bpf flag enabled?

Cheers,
berte.