diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2016-03-24 20:03:22 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-24 22:55:57 +0100 |
commit | c917e11f05716cceadec3087295dfe0f6f206488 (patch) | |
tree | 471d4174c93f1664404209d9c0cda7105dffad18 /package/mpd/0003-thread-Posix-Mutex-Cond-use-constexpr-only-with-glib.patch | |
parent | bd758336a1d360a159a8245adf46c1a6768755de (diff) | |
download | buildroot-c917e11f05716cceadec3087295dfe0f6f206488.tar.gz buildroot-c917e11f05716cceadec3087295dfe0f6f206488.zip |
gcc: fix libsanitizer build with _FILE_OFFSET_BITS=64
After the commit f67a4f50e2ace3a2 "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>
Diffstat (limited to 'package/mpd/0003-thread-Posix-Mutex-Cond-use-constexpr-only-with-glib.patch')
0 files changed, 0 insertions, 0 deletions