kumquat-buildroot/package/gcc
Max Filippov c917e11f05 gcc: fix libsanitizer build with _FILE_OFFSET_BITS=64
After the commit f67a4f50e2 "gcc: preserve CXXFLAGS_FOR_TARGET"
target CFLAGS are passed to all libraries bundled with gcc. This breaks
libsanitizer on gcc-4.9.x when building with _FILE_OFFSET_BITS=64:

  error: size of array ‘assertion_failed__837’ is negative
  ...
  libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:837:1:
  note: in expansion of macro ‘CHECK_SIZE_AND_OFFSET’
  CHECK_SIZE_AND_OFFSET(dirent, d_ino);

This issue is fixed in the libsanitizer mainline and in gcc-5.x.
There's no issue with gcc-4.8.x and earlier.

Reported-by: Julien CORJON <corjon.j@ecagroup.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Backported from: https://llvm.org/svn/llvm-project/compiler-rt/trunk@220328
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-24 22:55:57 +01:00
..
4.7.4 gcc: preserve CXXFLAGS_FOR_TARGET 2016-03-15 23:14:18 +01:00
4.8.5 arch/m68k: re-enable the architecture 2016-03-20 15:28:44 +01:00
4.9.3 gcc: fix libsanitizer build with _FILE_OFFSET_BITS=64 2016-03-24 22:55:57 +01:00
5.3.0 arch/m68k: re-enable the architecture 2016-03-20 15:28:44 +01:00
arc-2015.12
gcc-final Revert "gcc/gcc-final: pass TARGET_ABI flags to configure with --enable-cxx-flags" 2016-03-15 23:14:35 +01:00
gcc-initial
Config.in.host gcc: remove 4.5.x 2016-02-28 22:25:57 +01:00
gcc.hash
gcc.mk Revert "package/gcc: fix libgcc build for xtensa" 2016-03-20 22:10:34 +01:00