Date: Wed, 20 Sep 2023 12:53:59 +0000 From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: [Bug 273845] emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum Message-ID: <bug-273845-4077-uuGNCEUEBT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273845-4077@https.bugs.freebsd.org/bugzilla/> References: <bug-273845-4077@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273845 --- Comment #4 from John Hein <jcfyecrayz@liamekaens.com> --- elf_getphnum() is deprecated (as is elf_getshnum()) according to /usr/include/libelf.h. This deprecation is noted in the base source tree in contrib/elftoolchain and in elfutils source as well. It has been deprecate= d in elfutils since 2009. elf_getphdrnum() is identical to elf_getphnum in both implementations (elftoolchain and elfutils). I would patch emulators/qemu-user-static to use elf_getphdrnum(). And look into submitting report and/or patch upstream. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273845-4077-uuGNCEUEBT>