The configure check in 0.180 behind "checking whether the compiler generates build-ids" uses plain readelf, even after it checked for a proper cross-readelf before. It should use that one instead.
You are right. It has been fixed in git already: commit 9698a399292fbc5e07eac17217af2de8bf5cb4b0 Author: Sergei Trofimovich <slyfox@gentoo.org> Date: Sun Jun 14 20:28:07 2020 +0100 elfutils/configure.ac: use $READELF, not readelf Allow user to specify own readelf. Use detected readelf, not 'readelf'. Noticed when was building elfutils on tuple-prefixed toolchain: ``` checking whether the compiler generates build-ids... ./configure: line 5197: readelf: command not found no ``` Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>