summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
authorJiaying Song <jiaying.song.cn@windriver.com>2025-04-09 10:51:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-10 11:05:35 +0100
commitab7af060548b8de259dd0d9ff61819514b5e237a (patch)
treebc2a560a329f84f76de8e8af3f65844d923db7e3 /scripts/lib/scriptutils.py
parent36889582e406bd0d8fcafeafa8c78fb1cf5eda8e (diff)
downloadpoky-ab7af060548b8de259dd0d9ff61819514b5e237a.tar.gz
gcc: Undef _TIME_BITS in sanitizer_procmaps_solaris.cpp
gcc-sanitizers fail to build when both -D_TIME_BITS=64 and -D_FILE_OFFSET_BITS=64 are defined. This is because sanitizer_procmaps_solaris.cpp explicitly undefines _FILE_OFFSET_BITS before including any headers, which causes _TIME_BITS=64 to violate the requirement in glibc: /usr/include/features-time64.h:26:5: error: "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64" Fixes a build failure on 32-bit Linux platforms when using both -D_TIME_BITS=64 and -D_FILE_OFFSET_BITS=64. (From OE-Core rev: 902085def653ca5194b28a4065043c73e54c9204) Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions