Skip to content

Commit

Permalink
[wip] Update to GCC 14.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed May 11, 2024
1 parent 2523ea6 commit 6aa3caf
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 81 deletions.
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +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/pk3.patch"
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/pk4.patch"
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/aaaa.patch"
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/ato.patch"


#patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/pk2.patch"
Expand Down
28 changes: 0 additions & 28 deletions patches/aaaa.patch

This file was deleted.

23 changes: 23 additions & 0 deletions patches/ato.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From d39769c1ba06ea04dde5f259c70b9b110bb7d4d9 Mon Sep 17 00:00:00 2001
From: Your Name <[email protected]>
Date: Sat, 11 May 2024 18:48:20 +0200
Subject: [PATCH] x

---
libatomic/libatomic_i.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/libatomic/libatomic_i.h b/libatomic/libatomic_i.h
index 861a22d..0435e2a 100644
--- a/libatomic/libatomic_i.h
+++ b/libatomic/libatomic_i.h
@@ -292,4 +292,6 @@ bool libat_is_lock_free (size_t, void *) MAN(is_lock_free);
# define EXPORT_ALIAS(X) /* original symbol is exported */
#endif

+int libat_test_and_set (volatile void*, int) __asm__("__atomic_test_and_set");
+
#endif /* LIBATOMIC_H */
--
2.36.6

25 changes: 0 additions & 25 deletions patches/pk3.patch

This file was deleted.

25 changes: 0 additions & 25 deletions patches/pk4.patch

This file was deleted.

0 comments on commit 6aa3caf

Please sign in to comment.