[icu] disabling leak detection while building

There seem to be leaks in icu tools:

LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/genrb --usePoolBundle -k -i ./out/build/icudt58l -s /src/icu/source/data/locales -d ./out/build/icudt58l ar.txt

=================================================================
==7719==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x4d3368 in malloc /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:64
    #1 0x5154fb in ucbuf_open /src/icu/source/tools/toolutil/ucbuf.cpp:469:36
    #2 0x50d4b3 in main /src/icu/source/tools/gendict/gendict.cpp:316:19
    #3 0x7ff77f72582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
This commit is contained in:
Mike Aizatsky 2016-12-13 15:31:59 -08:00 committed by GitHub
parent 01373acf7d
commit 74eb465532
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ CFLAGS=$CFLAGS CXXFLAGS=$CXXFLAGS CC=$CC CXX=$CXX \
/bin/bash $SRC/icu/source/runConfigureICU Linux \
--with-library-bits=64 --with-data-packaging=static --enable-static --disable-shared
export ASAN_OPTIONS="detect_leaks=0"
export UBSAN_OPTIONS="detect_leaks=0"
make -j$(nproc)
FUZZERS="break_iterator_fuzzer \