prplos/toolchain/gcc
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
..
files
final toolchain/gcc: use explicit configure args 2023-02-09 02:53:35 +01:00
initial toolchain: remove installing twice in the "initial" subdir 2023-02-19 19:44:39 +01:00
minimal toolchain: skip gcc/minimal for musl 2016-07-07 15:13:40 +02:00
patches-11.x toolchain/gcc: prevent the use of LDRD/STRD on ARMv5TE 2025-07-22 12:05:09 +02:00
patches-12.x toolchain/gcc: prevent the use of LDRD/STRD on ARMv5TE 2025-07-22 12:05:09 +02:00
patches-13.x toolchain: gcc: fix include memory against GCC 16 2026-08-18 11:40:42 +01:00
patches-14.x toolchain: gcc: fix include memory against GCC 16 2026-08-18 11:40:42 +01:00
common.mk toolchain: gcc: update GCC 14 to 14.2.0 2024-08-13 00:30:29 +02:00
Config.in toolchain: gcc: add support for GCC 14 2024-05-12 12:47:12 +01:00
Config.version toolchain: gcc: update GCC 14 to 14.2.0 2024-08-13 00:30:29 +02:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00