Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 693772

Summary: [musl overlay] dev-libs/elfutils - fix build for aarch64/musl (invalid operands to binary & (have 'long double' and 'unsigned int'))
Product: Gentoo Linux Reporter: Marvin Vek <laen>
Component: OverlaysAssignee: Gentoo musl team <musl>
Status: UNCONFIRMED ---    
Severity: normal CC: gentoo, lucas.yamanishi
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marvin Vek 2019-09-08 10:20:40 UTC
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