maintainer-feedback requested: [Bug 273845] emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum
Date: Sat, 16 Sep 2023 07:39:16 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-emulation (Nobody) <emulation@FreeBSD.org> for maintainer-feedback: Bug 273845: emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273845 --- Description --- On recent CURRENT (FreeBSD 15.0-CURRENT #29 main-n265348-03bfee175269: Fri Sep 15 07:01:12 CEST 2023 amd64) port emulators/qemu-user-static fails to build due to the following linker error: [...] ld: error: undefined symbol: elf_getphnum >>> referenced by core.c >>> core.o:(procstat_core_open) in archive /usr/lib/libprocstat.a >>> did you mean: elf_getshnum >>> defined in: /usr/local/lib/libelf.a(elf_getshdrnum.o) c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:201: qemu-i386] Error 1 gmake[2]: Leaving directory '/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-527096e0c8/i386-bsd-u ser' gmake[1]: *** [Makefile:483: subdir-i386-bsd-user] Error 2 ld: error: undefined symbol: elf_getphnum >>> referenced by core.c >>> core.o:(procstat_core_open) in archive /usr/lib/libprocstat.a >>> did you mean: elf_getshnum >>> defined in: /usr/local/lib/libelf.a(elf_getshdrnum.o) c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:201: qemu-arm] Error 1 gmake[2]: Leaving directory '/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-527096e0c8/arm-bsd-us er' gmake[1]: *** [Makefile:483: subdir-arm-bsd-user] Error 2