aboutsummaryrefslogtreecommitdiff
path: root/packages/gcc/10.5.0/0020-AArch64-Fix-build-issue-with-aarch64-builtins.c-on-M.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-07-10 16:56:35 +1200
committerChris Packham <judge.packham@gmail.com>2023-07-14 14:01:33 +1200
commitdac4403390e5fb6afe4b4267506e4c68633fa620 (patch)
tree74c30a4f6b4f3597bd33d662c3f105879a351b6e /packages/gcc/10.5.0/0020-AArch64-Fix-build-issue-with-aarch64-builtins.c-on-M.patch
parentada71ff2a078b5de3c42f5b5a7c00e89fd2f708d (diff)
downloadcrosstool-ng-dac4403390e5fb6afe4b4267506e4c68633fa620.tar.gz
crosstool-ng-dac4403390e5fb6afe4b4267506e4c68633fa620.tar.bz2
crosstool-ng-dac4403390e5fb6afe4b4267506e4c68633fa620.zip
gcc: Update 10.4 -> 10.5
Add GCC 10.5.0 and regenerate patches against the new version. https://gcc.gnu.org/pipermail/gcc-announce/2023/000178.html https://gcc.gnu.org/gcc-10/changes.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/10.5.0/0020-AArch64-Fix-build-issue-with-aarch64-builtins.c-on-M.patch')
-rw-r--r--packages/gcc/10.5.0/0020-AArch64-Fix-build-issue-with-aarch64-builtins.c-on-M.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/gcc/10.5.0/0020-AArch64-Fix-build-issue-with-aarch64-builtins.c-on-M.patch b/packages/gcc/10.5.0/0020-AArch64-Fix-build-issue-with-aarch64-builtins.c-on-M.patch
new file mode 100644
index 00000000..00011692
--- /dev/null
+++ b/packages/gcc/10.5.0/0020-AArch64-Fix-build-issue-with-aarch64-builtins.c-on-M.patch
@@ -0,0 +1,29 @@
+From 8ae8c6bba601ce9ae8a3d54776ef934fb0a7986d Mon Sep 17 00:00:00 2001
+From: Kumar Gala <kumar.gala@linaro.org>
+Date: Wed, 11 Nov 2020 08:09:50 -0600
+Subject: [PATCH] [AArch64] Fix build issue with aarch64-builtins.c on MacOS X
+ host
+
+When building w/clang on MacOS X we get the following error:
+
+gcc/config/aarch64/aarch64-builtins.c:1231:3: error: expected expression
+AARCH64_INIT_MEMTAG_BUILTINS_DECL (IRG, irg, irg, fntype);
+
+Fix this by adding '-std=gnu++11' to the compile line.
+
+Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
+---
+ gcc/config/aarch64/t-aarch64 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/gcc/config/aarch64/t-aarch64
++++ b/gcc/config/aarch64/t-aarch64
+@@ -41,7 +41,7 @@
+ $(srcdir)/config/aarch64/aarch64-simd-builtins.def \
+ $(srcdir)/config/aarch64/aarch64-simd-builtin-types.def \
+ aarch64-builtin-iterators.h
+- $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
++ $(COMPILER) -std=gnu++11 -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(srcdir)/config/aarch64/aarch64-builtins.c
+
+ aarch64-sve-builtins.o: $(srcdir)/config/aarch64/aarch64-sve-builtins.cc \