kumquat-buildroot/package/gcc/4.9.4
Matt Weber 5c90f6a7b6 gcc: fix build of libsanitizer in gcc 4.9 and 5.x on PowerPC
libsanitizer in gcc fails to build on PowerPC with gcc versions 4.9
and 5.x used in conjunction with glibc 2.25, with the following error:

../../../../gcc-host/libsanitizer/asan/asan_linux.cc: In function 'bool __asan::AsanInterceptsSignal(int)':
../../../../gcc-host/libsanitizer/asan/asan_linux.cc:222:20: error: 'SIGSEGV' was not declared in this scope
   return signum == SIGSEGV && common_flags()->handle_segv;

This commit adds a patch that has been submitted to upstream gcc
(https://patchwork.ozlabs.org/patch/725596/) but not merged. The patch
is no longer needed with gcc 6.x and later because the code has been
reworked.

Fixes Buildroot bug #10061

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Thomas: rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-15 10:24:28 +02: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
942-asan-fix-missing-include-signal-h.patch
0001-ARM-PR-target-68059-libgcc-should-not-use-__write-fo.patch
1000-powerpc-link-with-math-lib.patch.conditional