Skip to contentSkip to conversation

gcc: remove obsolete poisoned calloc workaround

PATCH New Ross Burton 1 participant 2 messages Sep 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gcc: remove obsolete poisoned calloc workaround

This was fixed upstream in de6f402a, as part of 12.2.

---
 meta/recipes-devtools/gcc/gcc-12.2.inc        |  1 -
 ...ched.h-include-ahead-of-user-headers.patch | 56 -------------------
 2 files changed, 57 deletions(-)
 delete mode 100644 meta/recipes-devtools/gcc/gcc/0025-Move-sched.h-include-ahead-of-user-headers.patch
meta/recipes-devtools/gcc/gcc-12.2.inc +0 -1
index 7cc34b26215..02dc59db631 100644
@@ -61,7 +61,6 @@ SRC_URI = "${BASEURI} \
            file://0022-mingw32-Enable-operation_not_supported.patch \
            file://0023-libatomic-Do-not-enforce-march-on-aarch64.patch \
            file://0024-Fix-install-path-of-linux64.h.patch \
-           file://0025-Move-sched.h-include-ahead-of-user-headers.patch \
            file://0026-rust-recursion-limit.patch \
            file://prefix-map-realpath.patch \
            file://hardcoded-paths.patch \
meta/recipes-devtools/gcc/gcc/0025-Move-sched.h-include-ahead-of-user-headers.patch deleted +0 -56

56 lines not on this page · raw message

Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 gcc: remove obsolete MinGW patch

This patch appears to be obsoleted by 217d5be, in GCC 11.1 onwards.

libstdc++: Test errno macros directly for all targets [PR 93151]

This applies the same changes to the djgpp and mingw versions of error_constants.h as r11-6137 did for the generic version.

---
 meta/recipes-devtools/gcc/gcc-12.2.inc        |  1 -
 ...ngw32-Enable-operation_not_supported.patch | 26 -------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch
meta/recipes-devtools/gcc/gcc-12.2.inc +0 -1
index 02dc59db631..0dbbecad4ad 100644
@@ -58,7 +58,6 @@ SRC_URI = "${BASEURI} \
            file://0019-Re-introduce-spe-commandline-options.patch \
            file://0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \
            file://0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \
-           file://0022-mingw32-Enable-operation_not_supported.patch \
            file://0023-libatomic-Do-not-enforce-march-on-aarch64.patch \
            file://0024-Fix-install-path-of-linux64.h.patch \
            file://0026-rust-recursion-limit.patch \
meta/recipes-devtools/gcc/gcc/0022-mingw32-Enable-operation_not_supported.patch deleted +0 -26
deleted file mode 100644
index f88ad51ee8a..00000000000
@@ -1,26 +0,0 @@
-From 061cf79e7b6e89fdf0f2630ddaebbf1d7b271ac3 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Tue, 12 May 2020 10:39:09 -0700
-Subject: [PATCH] mingw32: Enable operation_not_supported
-
-Fixes nativesdk build errors on mingw32 gcc-runtime
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <[email protected]>
----
- libstdc++-v3/config/os/mingw32/error_constants.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h
-index da5f4c2ac85..e855c86267c 100644
---- a/libstdc++-v3/config/os/mingw32/error_constants.h
-+++ b/libstdc++-v3/config/os/mingw32/error_constants.h
-@@ -107,7 +107,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- #ifdef EPERM
-       operation_not_permitted = 		EPERM,
- #endif
--//    operation_not_supported = 		EOPNOTSUPP,
-+      operation_not_supported = 		EOPNOTSUPP,
- #ifdef EWOULDBLOCK
-       operation_would_block = 			EWOULDBLOCK,
- #endif
Signature · 1 line
2.34.1