kumquat-buildroot/package/gcc
Arnout Vandecappelle 16a4241cb7 gcc: backport upstream patch for sync_8 in !glibc
gcc 4.7 introduced the sync_8 builtin functions for ARM. For ARM < v7,
this requires calling into the kernel. However, the failure path of
that call reports an error with the __write() function, which is a
glibc internal function. Therefore, it fails to link with uClibc or
musl. This was fixed in gcc 5.2.0, by replacing the __write() with
a plain write().

For sync_8 itself we have solved this with the conditions on
BR2_TOOLCHAIN_ARM_HAS_SYNC_8. However, the same function is also used
for the implementation of atomics.

For the internal toolchain, we can fix this by backporting the patch
to 4.9.4 and 4.8.5.

Fixes:
http://autobuild.buildroot.net/results/1db64b4830f499621e44523e0ef68191505e2ce9

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-26 15:17:09 +01:00
..
4.8.5 gcc: backport upstream patch for sync_8 in !glibc 2016-11-26 15:17:09 +01:00
4.9.4 gcc: backport upstream patch for sync_8 in !glibc 2016-11-26 15:17:09 +01:00
5.4.0 package/gcc: backport xtensa trap pattern for 5.x 2016-11-14 22:53:12 +01:00
6.2.0 gcc: add patches to fix PR70473 2016-10-15 16:38:58 +02:00
arc-2016.09-rc1 toolchain: Bump ARC tools to arc-2016.09-rc1 2016-11-14 21:40:58 +01:00
gcc-final toolchain/wrapper: fix 'reinstall' 2016-10-24 23:02:33 +02:00
gcc-initial toolchain/wrapper: fix 'reinstall' 2016-10-24 23:02:33 +02:00
Config.in.host toolchain: Bump ARC tools to arc-2016.09-rc1 2016-11-14 21:40:58 +01:00
gcc.hash toolchain: Bump ARC tools to arc-2016.09-rc1 2016-11-14 21:40:58 +01:00
gcc.mk package/gcc: disable libmpx for gcc6-based musl builds 2016-10-23 14:47:07 +02:00