Skip to content

Commit d2e42b2

Browse files
authored
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.
1 parent 451c04c commit d2e42b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/xz/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
--disable-xz \
2525
--disable-xzdec \
2626
--disable-lzmadec \
27-
--disable-lzmainfo
27+
--disable-lzmainfo \
28+
--disable-ifunc
2829
make clean
2930
make -j$(nproc) && make -C tests/ossfuzz && \
3031
cp tests/ossfuzz/config/fuzz.options $OUT/ && \

0 commit comments

Comments
 (0)