mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
Update to gcc release 10.3.0
Drop patches already in 10.3.0 that had been backported Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
7915dd4fff
commit
cf0776ed04
@ -1,35 +0,0 @@
|
||||
From 22a26745add0b02a96d1b65c953529f217a52bad Mon Sep 17 00:00:00 2001
|
||||
From: Iain Sandoe <iain@sandoe.co.uk>
|
||||
Date: Sat, 8 Aug 2020 12:15:09 +0100
|
||||
Subject: [PATCH 1/2] Darwin: Adjust the PCH area to allow for 16384byte page
|
||||
size.
|
||||
|
||||
Newer versions of Darwin report pagesize 20 which means that we
|
||||
need to adjust the aligment of the PCH area.
|
||||
|
||||
gcc/ChangeLog:
|
||||
|
||||
* config/host-darwin.c: Align pch_address_space to 16384.
|
||||
---
|
||||
gcc/config/host-darwin.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c
|
||||
index 0face6c450f..c862935dcf3 100644
|
||||
--- a/gcc/config/host-darwin.c
|
||||
+++ b/gcc/config/host-darwin.c
|
||||
@@ -24,7 +24,10 @@
|
||||
#include "config/host-darwin.h"
|
||||
|
||||
/* Yes, this is really supposed to work. */
|
||||
-static char pch_address_space[1024*1024*1024] __attribute__((aligned (4096)));
|
||||
+/* This allows for a pagesize of 16384, which we have on Darwin20, but should
|
||||
+ continue to work OK for pagesize 4096 which we have on earlier versions.
|
||||
+ The size is 1 (binary) Gb. */
|
||||
+static char pch_address_space[65536*16384] __attribute__((aligned (16384)));
|
||||
|
||||
/* Return the address of the PCH address space, if the PCH will fit in it. */
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
@ -1,33 +0,0 @@
|
||||
From 3c1f316323f41ad02ee834278031a1cbcfdaa96b Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Schwab <schwab@suse.de>
|
||||
Date: Mon, 4 May 2020 17:29:11 +0200
|
||||
Subject: [PATCH] aarch64: fix conflicting declarations
|
||||
|
||||
aarch64_get_extension_string_for_isa_flags is declared in
|
||||
"aarch64-protos.h", use that instead of re-declaring it improperly.
|
||||
|
||||
* config/aarch64/driver-aarch64.c: Include "aarch64-protos.h".
|
||||
(aarch64_get_extension_string_for_isa_flags): Don't declare.
|
||||
---
|
||||
gcc/config/aarch64/driver-aarch64.c | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
diff --git a/gcc/config/aarch64/driver-aarch64.c b/gcc/config/aarch64/driver-aarch64.c
|
||||
index 0ccd200e330..d1229e67680 100644
|
||||
--- a/gcc/config/aarch64/driver-aarch64.c
|
||||
+++ b/gcc/config/aarch64/driver-aarch64.c
|
||||
@@ -24,10 +24,7 @@
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
-
|
||||
-/* Defined in common/config/aarch64/aarch64-common.c. */
|
||||
-std::string aarch64_get_extension_string_for_isa_flags (unsigned long,
|
||||
- unsigned long);
|
||||
+#include "aarch64-protos.h"
|
||||
|
||||
struct aarch64_arch_extension
|
||||
{
|
||||
--
|
||||
2.28.0
|
||||
|
@ -1,67 +0,0 @@
|
||||
From 4591f7e5329dcc6ee9af2f314a050936d470ab5b Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan Wakely <jwakely@redhat.com>
|
||||
Date: Fri, 12 Feb 2021 10:37:56 +0000
|
||||
Subject: [PATCH 1/1] libstdc++: Fix bootstrap with -fno-rtti [PR 99077]
|
||||
|
||||
When libstdc++ is built without RTTI the __ios_failure type is just an
|
||||
alias for std::ios_failure, so trying to construct it from an int won't
|
||||
compile. This changes the RTTI-enabled __ios_failure type to have the
|
||||
same constructor parameters as std::ios_failure, so that the constructor
|
||||
takes the same arguments whether RTTI is enabled or not.
|
||||
|
||||
The __throw_ios_failure function now constructs the error_code, instead
|
||||
of the __ios_failure constructor. As a drive-by fix that error_code is
|
||||
constructed with std::generic_category() not std::system_category(),
|
||||
because the int comes from errno which corresponds to the generic
|
||||
category.
|
||||
|
||||
libstdc++-v3/ChangeLog:
|
||||
|
||||
PR libstdc++/99077
|
||||
* src/c++11/cxx11-ios_failure.cc (__ios_failure(const char*, int)):
|
||||
Change int parameter to error_code, to match std::ios_failure.
|
||||
(__throw_ios_failure(const char*, int)): Construct error_code
|
||||
from int parameter.
|
||||
---
|
||||
libstdc++-v3/src/c++11/cxx11-ios_failure.cc | 11 +++++------
|
||||
1 file changed, 5 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/libstdc++-v3/src/c++11/cxx11-ios_failure.cc b/libstdc++-v3/src/c++11/cxx11-ios_failure.cc
|
||||
index e82c1aaf63b..a918ab21015 100644
|
||||
--- a/libstdc++-v3/src/c++11/cxx11-ios_failure.cc
|
||||
+++ b/libstdc++-v3/src/c++11/cxx11-ios_failure.cc
|
||||
@@ -114,7 +114,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
__ios_failure(const char* s) : failure(s)
|
||||
{ __construct_ios_failure(buf, runtime_error::what()); }
|
||||
|
||||
- __ios_failure(const char* s, int e) : failure(s, to_error_code(e))
|
||||
+ __ios_failure(const char* s, const error_code& e) : failure(s, e)
|
||||
{ __construct_ios_failure(buf, runtime_error::what()); }
|
||||
|
||||
~__ios_failure()
|
||||
@@ -125,10 +125,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
// There are assertions in src/c++98/ios_failure.cc to ensure the size
|
||||
// and alignment assumptions are valid.
|
||||
alignas(runtime_error) unsigned char buf[sizeof(runtime_error)];
|
||||
-
|
||||
- static error_code
|
||||
- to_error_code(int e)
|
||||
- { return e ? error_code(e, system_category()) : io_errc::stream; }
|
||||
};
|
||||
|
||||
// Custom type info for __ios_failure.
|
||||
@@ -171,7 +167,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
void
|
||||
__throw_ios_failure(const char* str __attribute__((unused)),
|
||||
int err __attribute__((unused)))
|
||||
- { _GLIBCXX_THROW_OR_ABORT(__ios_failure(_(str), err)); }
|
||||
+ {
|
||||
+ _GLIBCXX_THROW_OR_ABORT(__ios_failure(_(str),
|
||||
+ err ? error_code(err, generic_category()) : io_errc::stream));
|
||||
+ }
|
||||
|
||||
_GLIBCXX_END_NAMESPACE_VERSION
|
||||
} // namespace
|
||||
--
|
||||
2.14.5
|
||||
|
@ -1,29 +0,0 @@
|
||||
From 1ba71fabb78b18884e9f479f45a257bab50e8959 Mon Sep 17 00:00:00 2001
|
||||
From: Nathan Sidwell <nathan@acm.org>
|
||||
Date: Fri, 15 Jan 2021 06:47:13 -0800
|
||||
Subject: [PATCH] preprocessor: Make quoting : [PR 95253]
|
||||
|
||||
Make doesn't need ':' quoting (in a filename).
|
||||
|
||||
PR preprocessor/95253
|
||||
libcpp/
|
||||
* mkdeps.c (munge): Do not escape ':'.
|
||||
---
|
||||
libcpp/mkdeps.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/libcpp/mkdeps.c b/libcpp/mkdeps.c
|
||||
index 471e449a19d..1867e0089d7 100644
|
||||
--- a/libcpp/mkdeps.c
|
||||
+++ b/libcpp/mkdeps.c
|
||||
@@ -162,7 +162,6 @@ munge (const char *str, const char *trail = nullptr)
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case '#':
|
||||
- case ':':
|
||||
buf[dst++] = '\\';
|
||||
/* FALLTHROUGH */
|
||||
|
||||
--
|
||||
2.29.2.windows.2
|
||||
|
8
packages/gcc/10.2.0/chksum
vendored
8
packages/gcc/10.2.0/chksum
vendored
@ -1,8 +0,0 @@
|
||||
md5 gcc-10.2.0.tar.xz e9fd9b1789155ad09bcf3ae747596b50
|
||||
sha1 gcc-10.2.0.tar.xz 8de0aecd3a52bb92b43082df8a9256356d1f03be
|
||||
sha256 gcc-10.2.0.tar.xz b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c
|
||||
sha512 gcc-10.2.0.tar.xz 42ae38928bd2e8183af445da34220964eb690b675b1892bbeb7cd5bb62be499011ec9a93397dba5e2fb681afadfc6f2767d03b9035b44ba9be807187ae6dc65e
|
||||
md5 gcc-10.2.0.tar.gz 941a8674ea2eeb33f5c30ecf08124874
|
||||
sha1 gcc-10.2.0.tar.gz 4475b004e10cef904d7d605edd42af6ffffe4713
|
||||
sha256 gcc-10.2.0.tar.gz 27e879dccc639cd7b0cc08ed575c1669492579529b53c9ff27b0b96265fa867d
|
||||
sha512 gcc-10.2.0.tar.gz 5118865a85e70ba58702bb3615d3d9e44dcdbc725fdb71124da78dd412388c5fc367378771bf82fed4d6e2c62fde4c7c362ec1f8ddcae762a2af957f2d605520
|
8
packages/gcc/10.3.0/chksum
vendored
Normal file
8
packages/gcc/10.3.0/chksum
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
md5 gcc-10.3.0.tar.xz 443c15b92614a3ce8f22e3b24ca2226a
|
||||
sha1 gcc-10.3.0.tar.xz fb51ed1660c065898c75951fb38e1ebad7d49feb
|
||||
sha256 gcc-10.3.0.tar.xz 64f404c1a650f27fc33da242e1f2df54952e3963a49e06e73f6940f3223ac344
|
||||
sha512 gcc-10.3.0.tar.xz 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86
|
||||
md5 gcc-10.3.0.tar.gz 87910940d70e845f2bf1a57997b6220c
|
||||
sha1 gcc-10.3.0.tar.gz f53af25982d6a270d58e9aff0b91ee2b57cd6709
|
||||
sha256 gcc-10.3.0.tar.gz 8fcf994811ad4e5c7ac908e8cf62af2c1982319e5551f62ae72016064dacdf16
|
||||
sha512 gcc-10.3.0.tar.gz 759672f1cf740fa39b34904d3e6fb5b506a978711d5c75c2c108c1f11ff8d25adba35daad287a1c9d6721383d85eaa9cd77f569eae442015fdccb621643fbe49
|
Loading…
Reference in New Issue
Block a user