summary refs log tree commit diff
path: root/gnu/packages/emulators.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-07-04 22:10:06 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-04 22:10:06 +0200
commit949ed7aae1e9418ea99f569efe6cb03349485508 (patch)
tree5e2f2ff230c3387585a46cc47fcd4dc9c156f845 /gnu/packages/emulators.scm
parent9d9a8b079ab9d0a1b267992a54b77d9aabad69fd (diff)
downloadguix-949ed7aae1e9418ea99f569efe6cb03349485508.tar.gz
gnu: glibc: Fix cross-compilation to aarch64-linux-gnu.
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.
Diffstat (limited to 'gnu/packages/emulators.scm')
0 files changed, 0 insertions, 0 deletions