Skip to content

Commit

Permalink
xz: Disable ifunc to fix Issue 60259. (#10667)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JiaT75 committed Jul 7, 2023
1 parent 451c04c commit d2e42b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/xz/build.sh
Expand Up @@ -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/ && \
Expand Down

0 comments on commit d2e42b2

Please sign in to comment.