kumquat-buildroot/package/gcc/4.9.4
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
..
100-uclibc-conf.patch
111-pr65730.patch
120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch
130-pr43538.patch
140-sanitizer-Fix-build-with-_FILE_OFFSET_BITS-64.patch
301-missing-execinfo_h.patch
810-arm-softfloat-libgcc.patch
830-arm_unbreak_armv4t.patch
840-microblaze-enable-dwarf-eh-support.patch
850-libstdcxx-uclibc-c99.patch
860-cilk-wchar.patch
870-xtensa-add-mauto-litpools-option.patch
871-xtensa-reimplement-register-spilling.patch
872-xtensa-use-unwind-dw2-fde-dip-instead-of-unwind-dw2-.patch
873-xtensa-fix-_Unwind_GetCFA.patch
874-xtensa-add-uclinux-support.patch
880-nios2_legitimize_address.patch
890-fix-m68k-compile.patch
891-fix-m68k-uclinux.patch
900-musl-support.patch
901-microblaze-uclibc.patch
930-libgcc-disable-split-stack-nothreads.patch
940-uclinux-enable-threads.patch
0001-ARM-PR-target-68059-libgcc-should-not-use-__write-fo.patch
1000-powerpc-link-with-math-lib.patch.conditional