<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/toolchain/gcc, branch master</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2021-12-21T19:35:29Z</updated>
<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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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/chunkeey/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>
<entry>
<title>build: remove GCC7 support</title>
<updated>2021-09-19T21:26:00Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-09-19T09:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=62ed1af15d1f665c2b511622059b933081924a8f'/>
<id>urn:sha1:62ed1af15d1f665c2b511622059b933081924a8f</id>
<content type='text'>
The development branch is now on version 10, we shouldn't drag to many
old versions and therefore drop at least 7.x.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Acked-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Acked-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
Acked-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Acked-by: Aleksander Jan Bajkowski &lt;A.Bajkowski@stud.elka.pw.edu.pl&gt;
</content>
</entry>
<entry>
<title>build: remove GCC9 support</title>
<updated>2021-09-19T21:21:02Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-09-19T09:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=244847dae9cc0f1cb963cf2c40293f06534ca240'/>
<id>urn:sha1:244847dae9cc0f1cb963cf2c40293f06534ca240</id>
<content type='text'>
gcc9 was never used within a release and the development branch is
already on version 10, no need to keep this in tree.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Acked-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Acked-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
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;
</content>
</entry>
</feed>
