prplos/toolchain/gcc/patches-13.x
Lars Gierth 7aab64280d toolchain: gcc: fix include memory against GCC 16
This patch backports a small but important part of the upstream commit:

b3f1b9e2aa07 build: Remove INCLUDE_MEMORY [PR117737]

Its original commit message fails to mention that the commit also moves
the `#include <memory>` to an earlier position within system.h,
which is the actual change that we're after in this patch.

Building our GCC 14.3 with host GCC 16, the inclusion order starts to matter,
which is an issue that was also touched upon by the upstream commits:

9970b576b7e4 Include safe-ctype.h after C++ standard headers, to avoid over-poisoning
f6e00226a4ca build: Move sstream include above safe-ctype.h {PR117771]

Signed-off-by: Lars Gierth <larsg@systemli.org>
Link: https://github.com/openwrt/openwrt/pull/23095
Signed-off-by: Robert Marko <robimarko@gmail.com>
[hauke: Add GCC 13 too]
(cherry picked from commit a32a367259574958768f44916d6cce8c8939ad27)
Link: https://github.com/openwrt/openwrt/pull/24302
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 35369da86f1b9540ad738c2225eebf310e7348a4)
2026-08-18 11:40:42 +01:00
..
002-case_insensitive.patch
004-libcody-Make-it-buildable-by-C-11-to-C-26.patch toolchain: gcc: 14/15: fix libcody compilation with GCC16 2026-08-18 11:40:42 +01:00
005-include-memory.patch toolchain: gcc: fix include memory against GCC 16 2026-08-18 11:40:42 +01:00
010-documentation.patch
110-Fix-MIPS-PR-84790.patch
230-musl_libssp.patch
300-mips_Os_cpu_rtx_cost_model.patch toolchain: gcc: update to 13.3 2024-05-28 23:55:27 +02:00
800-arm_v5te_no_ldrd_strd.patch toolchain/gcc: prevent the use of LDRD/STRD on ARMv5TE 2025-07-22 12:05:09 +02:00
810-arm-softfloat-libgcc.patch
820-libgcc_pic.patch
840-armv4_pass_fix-v4bx_to_ld.patch
850-use_shared_libgcc.patch
851-libgcc_no_compat.patch
870-ppc_no_crtsavres.patch
881-no_tm_section.patch
900-bad-mips16-crt.patch
910-mbsd_multi.patch toolchain: gcc: updat to 13.2 2023-07-30 13:06:56 +02:00
920-specs_nonfatal_getenv.patch
960-gotools-fix-compilation-when-making-cross-compiler.patch
970-macos_arm64-building-fix.patch toolchain: gcc: update to 13.3 2024-05-28 23:55:27 +02:00
980-fix-build-error-with-Xcode-16.3.patch toolchain: gcc: fix build error with Xcode 16.3 2025-06-12 10:51:01 +02:00