<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ansuel/toolchain/gcc, branch master</title>
<subtitle>Staging tree of Christian Marangi</subtitle>
<id>https://git.openwrt.org/openwrt/staging/ansuel/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/ansuel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/'/>
<updated>2022-06-01T12:59:49Z</updated>
<entry>
<title>toolchain: add support for GCC 12</title>
<updated>2022-06-01T12:59:49Z</updated>
<author>
<name>Rui Salvaterra</name>
</author>
<published>2022-05-06T14:42:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=c4bd303086012afe2aebd213c892363512138bb7'/>
<id>urn:sha1:c4bd303086012afe2aebd213c892363512138bb7</id>
<content type='text'>
GCC 12.1 is out. Add support for it.

Deleted (upstreamed):
011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch
931-libffi-fix-MIPS-softfloat-build-issue.patch

Deleted (unneeded?)
970-macos_arm64-building-fix.patch

Other patches manually rebased due to C++ conversion and consequent file name
changing (.c to .cc).

Signed-off-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: bump GCC 11 to 11.3.0</title>
<updated>2022-06-01T11:46:31Z</updated>
<author>
<name>Rui Salvaterra</name>
</author>
<published>2022-04-28T21:44:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=f4cdef2191e1d8df6c37806ce5161135629e87de'/>
<id>urn:sha1:f4cdef2191e1d8df6c37806ce5161135629e87de</id>
<content type='text'>
Remove an upstreamed patch and rebase all remaining patches.

Signed-off-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: use ELFv2 ABI on ppc64 with musl</title>
<updated>2021-12-21T19:35:29Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2020-09-22T11:02:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=6e2556963d523ecef9a2a6130c899d146a3b7333'/>
<id>urn:sha1:6e2556963d523ecef9a2a6130c899d146a3b7333</id>
<content type='text'>
At configuration time, gcc assumes that ppc64be targets use the ELFv1
ABI, and ppc64le targets use the ELFv2 ABI. However, musl libc does not
support the ELFv1 ABI on ppc64 at all, regardless of the endianness.

Therefore, when building for a ppc64 arch and with musl libc, instruct
gcc to use the ELFv2 ABI.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93157 for more info.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Reviewed-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: refresh gcc-11.2.0 patch</title>
<updated>2021-12-17T14:10:22Z</updated>
<author>
<name>Ilya Lipnitskiy</name>
</author>
<published>2021-12-08T01:28:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=f30e6d98fae79eb84af7acd497da4be862ee2b8f'/>
<id>urn:sha1:f30e6d98fae79eb84af7acd497da4be862ee2b8f</id>
<content type='text'>
Run make toolchain/gcc/minimal/refresh (with glibc, with musl
toolchain/gcc/{initial,final}/refresh don't work)

Fixes: ab241e0937c9 ("toolchain/gcc: fix build on MacOS arm64")

Signed-off-by: Ilya Lipnitskiy &lt;ilya.lipnitskiy@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: replace revert with upstream fix</title>
<updated>2021-12-17T14:10:22Z</updated>
<author>
<name>Ilya Lipnitskiy</name>
</author>
<published>2021-12-08T01:28:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=0dca1060fd48d261f4ffead6efebd16170014ee3'/>
<id>urn:sha1:0dca1060fd48d261f4ffead6efebd16170014ee3</id>
<content type='text'>
This will make upgrade to v11.3.0 easier and follows upstream more
closely.

Signed-off-by: Ilya Lipnitskiy &lt;ilya.lipnitskiy@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: remove upstreamed patch, add backport</title>
<updated>2021-12-17T14:10:22Z</updated>
<author>
<name>Ilya Lipnitskiy</name>
</author>
<published>2021-12-08T01:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=475b366a5bddac851296a528ff86d5dcb5f12a96'/>
<id>urn:sha1:475b366a5bddac851296a528ff86d5dcb5f12a96</id>
<content type='text'>
This patch has been upstream since GCC 10.
Dragan Mladjenovic (2):
      Emit .note.GNU-stack for soft-float linux targets.
      Emit .note.GNU-stack for hard-float linux targets.

Link: https://gcc.gnu.org/g:a3c1e1f2ff88
Link: https://gcc.gnu.org/g:54b3d52c3cca

Add backport patch to define TARGET_LIBC_GNUSTACK on musl to add
.note.GNU-stack on hard-float MIPS targets.

Link: https://gcc.gnu.org/g:25abbb924968

The net effect should be the exact same functionality while following
upstream code instead of a custom outdated patch.

Signed-off-by: Ilya Lipnitskiy &lt;ilya.lipnitskiy@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: fix build on MacOS arm64</title>
<updated>2021-12-02T13:43:41Z</updated>
<author>
<name>Sergey V. Lobanov</name>
</author>
<published>2021-11-29T16:09:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=ab241e0937c9cea4ae606f204ce82749373611f0'/>
<id>urn:sha1:ab241e0937c9cea4ae606f204ce82749373611f0</id>
<content type='text'>
Added patch for GCC to fix compilation issues on MacOS arm64

The original commit message from Przemysław Buczkowski:

GCC: Patch for Apple Silicon compatibility

This patch fixes a linker error occuring when compiling
the cross-compiler on macOS and ARM64 architecture.

Adapted from:
https://github.com/richfelker/musl-cross-make/issues/116#issuecomment-823612404

Signed-off-by: Sergey V. Lobanov &lt;sergey@lobanov.in&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: revert a faulty upstream commit that caused miscompiled code</title>
<updated>2021-11-16T09:48:45Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-16T09:47:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=0c249ab07645489088c9010bb528b637356aa052'/>
<id>urn:sha1:0c249ab07645489088c9010bb528b637356aa052</id>
<content type='text'>
This broke at least the OKLI loader, but possibly other things as well

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: switch to version 11 by default</title>
<updated>2021-09-22T08:07:36Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-09-19T09:16:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=da5bb885e17cf77caea70adcf473f1fb95448553'/>
<id>urn:sha1:da5bb885e17cf77caea70adcf473f1fb95448553</id>
<content type='text'>
gcc10 seem to increase build size and gcc11 seem to fix that.

Compile tests:
* all

Runtime tests:
* ath79
* mpx85xx/p2020
* mvebu
* x86/64

Special thanks to Rosen for fixing layerscape &amp; bcm63xx

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Reviewed-by: Rui Salvaterra &lt;rsalvaterra@gmail.com
Acked-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Acked-by: Rui Salvaterra &lt;rsalvaterra@gmail.com
Acked-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Acked-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Acked-by: Aleksander Jan Bajkowski &lt;A.Bajkowski@stud.elka.pw.edu.pl&gt;
Tested-by: Pawel Dembicki &lt;paweldembicki@gmail.com&gt;
Tested-by: Aleksander Jan Bajkowski &lt;A.Bajkowski@stud.elka.pw.edu.pl&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: cleanup gcc9 config option</title>
<updated>2021-09-22T01:10:25Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-09-22T01:06:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=753f2f1eaa3d9e3ceed4fb7580b8de7997c4c07b'/>
<id>urn:sha1:753f2f1eaa3d9e3ceed4fb7580b8de7997c4c07b</id>
<content type='text'>
This line should have been removed in 244847da "build: remove GCC9
support" but stayed in tree after an incomplete rebase. Fix it.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
</feed>
