mirror of https://github.com/google/oss-fuzz.git
[gnutls] unconditionally disable assembler in gmp (#833)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
parent
5c88efdd28
commit
fd2e2a2104
|
@ -35,10 +35,11 @@ ASAN_OPTIONS=detect_leaks=0 \
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install
|
||||||
|
|
||||||
GMP_CONFIGURE_FLAGS=""
|
# always disable assembly in GMP to avoid issues due to SIGILL
|
||||||
if [[ $CFLAGS = *sanitize=memory* ]]; then
|
# https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3119
|
||||||
GMP_CONFIGURE_FLAGS="--disable-assembly --disable-fat"
|
# https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3159
|
||||||
fi
|
GMP_CONFIGURE_FLAGS="--disable-assembly --disable-fat"
|
||||||
|
|
||||||
cd $SRC/gmp
|
cd $SRC/gmp
|
||||||
bash .bootstrap
|
bash .bootstrap
|
||||||
ASAN_OPTIONS=detect_leaks=0 \
|
ASAN_OPTIONS=detect_leaks=0 \
|
||||||
|
|
Loading…
Reference in New Issue