<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/toolchain/gcc, branch master</title>
<subtitle>Staging tree of Stijn Tintel</subtitle>
<id>https://git.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/'/>
<updated>2026-05-02T23:21:01Z</updated>
<entry>
<title>toolchain: gcc: remove support for GCC 12</title>
<updated>2026-05-02T23:21:01Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2026-05-02T06:39:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=07e91bc11a32ae17d071bd2e5c11cf437ac54b3e'/>
<id>urn:sha1:07e91bc11a32ae17d071bd2e5c11cf437ac54b3e</id>
<content type='text'>
We will soon introduce new GCC version 16. There is no need to
maintain too many toolchain versions.

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/23195
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: gcc: remove GCC 11 leftovers</title>
<updated>2026-05-02T23:21:01Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2026-05-02T06:25:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=3bdee9f2e07edd4ca0e4c9904f43a3a48fbc014c'/>
<id>urn:sha1:3bdee9f2e07edd4ca0e4c9904f43a3a48fbc014c</id>
<content type='text'>
GCC 11 has been removed.

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/23195
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: gcc: drop 110-Fix-MIPS-PR-84790.patch</title>
<updated>2026-05-02T23:18:09Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2026-05-02T06:36:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=d8458334a74d09b17528d808ab1fb74825cf1291'/>
<id>urn:sha1:d8458334a74d09b17528d808ab1fb74825cf1291</id>
<content type='text'>
The issue reported on the patch has been fixed in GCC 13.4.0[1],
14.2.0[2] and 15.1.0[3]. And we have already removed the GCC 14
patch variant in commit
a1b9c28edd72 ("toolchain: gcc: drop 110-Fix-MIPS-PR-84790.patch").

[1] https://gcc.gnu.org/cgit/gcc/commit/gcc/config/mips/mips.cc?h=releases/gcc-13.4.0&amp;id=3be8fa7b19d218ca5812d71801e3e83ee2260ea0
[2] https://gcc.gnu.org/cgit/gcc/commit/gcc/config/mips/mips.cc?h=releases/gcc-14.2.0&amp;id=201cfa725587d13867b4dc25955434ebe90aff7b
[3] https://gcc.gnu.org/cgit/gcc/commit/gcc/config/mips/mips.cc?h=releases/gcc-15.1.0&amp;id=915440eed21de367cb41857afb5273aff5bcb737
Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/23196
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: gcc: fix include memory against GCC 16</title>
<updated>2026-04-27T08:47:10Z</updated>
<author>
<name>Lars Gierth</name>
</author>
<published>2026-04-25T15:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=a32a367259574958768f44916d6cce8c8939ad27'/>
<id>urn:sha1:a32a367259574958768f44916d6cce8c8939ad27</id>
<content type='text'>
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 &lt;memory&gt;` 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 &lt;larsg@systemli.org&gt;
Link: https://github.com/openwrt/openwrt/pull/23095
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: gcc: 14/15: fix libcody compilation with GCC16</title>
<updated>2026-04-22T14:50:10Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2026-04-22T14:48:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=e7e5d470c166561698078727f7ac154d2e4dbfb0'/>
<id>urn:sha1:e7e5d470c166561698078727f7ac154d2e4dbfb0</id>
<content type='text'>
libcody will fail to build if building using a GCC16 host compiler, so
backport the upstream fix.

Signed-off-by: Robert Marko &lt;robert.marko@sartura.hr&gt;
</content>
</entry>
<entry>
<title>toolchain: gcc: update GCC13 to 13.4</title>
<updated>2025-08-20T21:42:15Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2025-06-10T13:32:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=44a5d1c4488cc57adf806f0cbbee17374feaaf7d'/>
<id>urn:sha1:44a5d1c4488cc57adf806f0cbbee17374feaaf7d</id>
<content type='text'>
Release Notes:
  https://gcc.gnu.org/gcc-13/changes.html

All patches are automatically refreshed.

Build-tested on:
  ath79/generic(MIPS)
  ipq40xx/generic(ARMv7)
  mediatek/filogic(ARMv8)

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/19089
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>gcc: 15.x: update to 15.2</title>
<updated>2025-08-10T09:43:07Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2025-08-08T12:31:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=7bc227b82d8cb0ce2d9f7262efba435b6cc6fb58'/>
<id>urn:sha1:7bc227b82d8cb0ce2d9f7262efba435b6cc6fb58</id>
<content type='text'>
Update GCC15 to 15.2 to include upstream bugfixes.

Link: https://github.com/openwrt/openwrt/pull/19713
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: prevent the use of LDRD/STRD on ARMv5TE</title>
<updated>2025-07-22T10:03:05Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2025-07-22T09:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=c1c11120069b8e04ad4b0c6e815d2e3421944933'/>
<id>urn:sha1:c1c11120069b8e04ad4b0c6e815d2e3421944933</id>
<content type='text'>
These instructions are for 64-bit load/store. On ARMv5TE, the CPU
requires addresses to be aligned to 64-bit. When misaligned, behavior is
undefined (effectively either loads the same word twice on LDRD, or
corrupts surrounding memory on STRD).

On ARMv6 and newer, unaligned access is safe.

Removing these instructions for ARMv5TE is necessary, because GCC
ignores alignment information in pointers and does unsafe optimizations
that have shown up as bugs in various places.

This patch was originally added more than 11 years ago in commit b050f87d13b5,
but got lost 6 years ago, when gcc 9.1 was added in 88c07c655262.

This primarily affects the kirkwood and ixp4xx targets

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>toolchain: gcc: 15: fix build error with glibc for aarch64 targets</title>
<updated>2025-07-08T12:19:18Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2025-07-08T12:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=1f8391346e1960b530d53fff4e134ee88dba2080'/>
<id>urn:sha1:1f8391346e1960b530d53fff4e134ee88dba2080</id>
<content type='text'>
GCC 14+ fails to build due to libatomic specific -march handling.
This build error triggers only with glibc and not with musl libc
which is default.

It seems that this patch from GCC14 was forgotten when GCC15 support was
being added [1].

[1] https://github.com/openwrt/openwrt/commit/44ef34350095c86227ea0cf84b816258c5195e29

Fixes: 68cb84183e38 ("toolchain: add support for GCC 15.1")
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: add support for GCC 15.1</title>
<updated>2025-06-08T10:20:15Z</updated>
<author>
<name>Rui Salvaterra</name>
</author>
<published>2025-04-25T17:17:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=68cb84183e385f95c579ffeb14a80150a203f431'/>
<id>urn:sha1:68cb84183e385f95c579ffeb14a80150a203f431</id>
<content type='text'>
All patches automatically refreshed.

Signed-off-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/18600
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
</feed>
