kumquat-buildroot/package/gcc/5.4.0
Romain Naour fed95ddffa package/gcc: fix build issue with glibc 2.26
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int __sanitizer::TracerThread(void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:241:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;

../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int __sanitizer::TracerThread(void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;
                      ^~~~~~~~~~~~~

The fix is already included in gcc 7.2 release [1]. We have to backport it to
all older gcc release since it's not included in any stable release yet.

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=72edc2c02f8b4768ad660f46a1c7e2400c0a8e06

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2017-09-27 22:52:14 +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
877-xtensa-fix-PR-target-82181.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
943-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch
944-sanitizer-linux.patch