dev-libs/elfutils fails to build specifically on aarch64/musl with error: invalid operands to binary & (have 'long double' and 'unsigned int') WindRiver released a very small and simple patch for this 2 years ago for OpenEmbedded, which applies and fixes the build: http://cgit.openembedded.org/openembedded-core/plain/meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch