From 2f14ac65dc10f90e59f36c6a18c981847b774f73 Mon Sep 17 00:00:00 2001 From: Kartatz <105828205+Kartatz@users.noreply.github.com> Date: Sat, 11 May 2024 16:04:42 -0300 Subject: [PATCH] [wip] Update to GCC 14.1.0 --- build.sh | 2 +- patches/pk.patch | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index fc76246..f823fb7 100644 --- a/build.sh +++ b/build.sh @@ -79,7 +79,7 @@ if ! [ -f "${gcc_tarball}" ]; then patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/0001-Fix-issues-with-fenv.patch" # patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/0001-Revert___atomic_test_and_set_Fall_back_to_library,_not_non-atomic_code.patch" patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/pk.patch" - patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/ato.patch" + #patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/ato.patch" #patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/pk2.patch" diff --git a/patches/pk.patch b/patches/pk.patch index af31b95..10e8e32 100644 --- a/patches/pk.patch +++ b/patches/pk.patch @@ -1,4 +1,4 @@ -From 10c444207201f931f9a54963ae6f1b1d6ab0bc27 Mon Sep 17 00:00:00 2001 +From 99f789e459ce6574d2fb53dddb541342ff33bb9c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 11 May 2024 20:03:45 +0200 Subject: [PATCH] x @@ -8,7 +8,7 @@ Subject: [PATCH] x 1 file changed, 9 insertions(+) diff --git a/libatomic/tas_n.c b/libatomic/tas_n.c -index 4a01cd2..1857067 100644 +index 4a01cd2..ea6b3a9 100644 --- a/libatomic/tas_n.c +++ b/libatomic/tas_n.c @@ -24,6 +24,15 @@ @@ -21,7 +21,7 @@ index 4a01cd2..1857067 100644 + return 0; +} + -+EXPORT_ALIAS(libat_test_and_set) ++extern typeof(libat_test_and_set) export_libat_test_and_set __asm__("__atomic_test_and_set") __attribute__((alias("libat_test_and_set"))); + +#endif