kumquat-buildroot/package/gcc/6.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
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
860-cilk-wchar.patch
870-xtensa-fix-PR-target-82181.patch
890-fix-m68k-compile.patch
891-fix-m68k-uclinux.patch
892-libgcc-mkmap-symver-support-skip_underscore.patch
893-libgcc-config-bfin-use-the-generic-linker-version-in.patch
894-libgcc-fix-DWARF-compilation-with-FDPIC-targets.patch
895-bfin-define-REENTRANT.patch
896-microblaze-Revert.patch
897-Make-MicroBlaze-support-DWARF-EH-old-Xilinx-patch-ne.patch
940-uclinux-enable-threads.patch
941-mips-Add-support-for-mips-r6-musl.patch
942-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch
943-sanitizer-linux.patch package/gcc: fix build issue with glibc 2.26 2017-09-27 22:52:14 +02:00