From c16a9295bf15fc5676c9e047fe1757284d5dca7d Mon Sep 17 00:00:00 2001 From: Hajime Tazaki Date: Wed, 10 Jul 2024 20:38:00 +0900 Subject: [PATCH] fixup __getauxval 6 --- patches/aarch64.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/aarch64.patch diff --git a/patches/aarch64.patch b/patches/aarch64.patch new file mode 100644 index 00000000..fe369c2f --- /dev/null +++ b/patches/aarch64.patch @@ -0,0 +1,13 @@ +diff --git a/arch/lkl/Makefile b/arch/lkl/Makefile +index 5236ac6cf5e1..e91cad63b40f 100644 +--- a/arch/lkl/Makefile ++++ b/arch/lkl/Makefile +@@ -8,6 +8,8 @@ KBUILD_CFLAGS += -fPIC + ifeq ($(OUTPUT_FORMAT),mach-o-x86-64) + # workaround for Mach-O section name + LINUXINCLUDE := -I $(srctree)/arch/lkl/include/mach $(LINUXINCLUDE) ++ifeq ($(OUTPUT_FORMAT),elf64-littleaarch64) ++KBUILD_CFLAGS += -mno-outline-atomics + endif + else ifneq (,$(filter $(OUTPUT_FORMAT),pe-i386 pe-x86-64 )) + ifneq ($(OUTPUT_FORMAT),pe-x86-64)