[Bug 273845] emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum
Date: Wed, 20 Sep 2023 12:53:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273845 --- 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 deprecated 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. -- You are receiving this mail because: You are the assignee for the bug.