kumquat-buildroot/package/gcc/5.4.0
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
120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch
301-missing-execinfo_h.patch
810-arm-softfloat-libgcc.patch
830-arm_unbreak_armv4t.patch
831-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.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
875-xtensa-implement-trap-pattern.patch
876-xtensa-Fix-PR-target-78603.patch
880-gcc-nios2-Add-IJMP_REGS-enum.patch
890-fix-m68k-compile.patch
891-fix-m68k-uclinux.patch
900-libitm-fixes-for-musl-support.patch
901-fixincludes-update-for-musl-support.patch
902-unwind-fix-for-musl.patch
903-libstdc++-libgfortran-gthr-workaround-for-musl.patch
904-musl-libc-config.patch
905-add-musl-support-to-gcc.patch
906-mips-musl-support.patch
907-x86-musl-support.patch
908-arm-musl-support.patch
909-aarch64-musl-support.patch
910-microblaze-musl-and-uclibc.patch
911-ppc-musl-support.patch
912-sh-musl-support.patch
930-libgcc-disable-split-stack-nothreads.patch
940-uclinux-enable-threads.patch
941-mips-Add-support-for-mips-r6-musl.patch
942-asan-fix-missing-include-signal-h.patch