summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/glibc-cross-objdump.patch
AgeCommit message (Collapse)Author
2021-07-04gnu: glibc: Fix cross-compilation to aarch64-linux-gnu.Ludovic Courtès
Fixes <https://bugs.gnu.org/49113>. Reported by Maxime Devos <maximedevos@telenet.be>. Previously, the cross-compiled libc.so linker script would read: OUTPUT_FORMAT(elf64-little) instead of: OUTPUT_FORMAT(elf64-littleaarch64) This is because glibc 2.33 runs "objdump -f" instead of "aarch64-linux-gnu-objdump -f" to determine the output format. * gnu/packages/patches/glibc-cross-objdump.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc)[source]: Use it.