Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2023 07:39:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 273845] emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum
Message-ID:  <bug-273845-4077-ejW125Qqrc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273845-4077@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273845-4077-ejW125Qqrc>