From d2e42b2e489eac6fe6268e381b7db151f4c892c5 Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Fri, 7 Jul 2023 22:01:15 +0800 Subject: [PATCH] xz: Disable ifunc to fix Issue 60259. (#10667) Indirect function support was added to xz on machines that support it for function dispatching. ifunc is not compatible with -fsanitize=address, so this should be disabled for fuzzing builds. --- projects/xz/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/xz/build.sh b/projects/xz/build.sh index 8480c901f18..57923c8f557 100755 --- a/projects/xz/build.sh +++ b/projects/xz/build.sh @@ -24,7 +24,8 @@ --disable-xz \ --disable-xzdec \ --disable-lzmadec \ - --disable-lzmainfo + --disable-lzmainfo \ + --disable-ifunc make clean make -j$(nproc) && make -C tests/ossfuzz && \ cp tests/ossfuzz/config/fuzz.options $OUT/ && \