google / oss-fuzz

OSS-Fuzz - continuous fuzzing for open source software.
https://google.github.io/oss-fuzz
Apache License 2.0
10.12k stars 2.15k forks source link

hdf5: Use latest builder / Temp disable afl #12091

Closed maflcko closed 1 week ago

maflcko commented 1 week ago

Work around:


+ /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ /usr/lib/libFuzzingEngine.a h5_read_fuzzer.o ./build-dir/bin/libhdf5.a -lz -o /out/h5_read_fuzzer
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25
./build-dir/bin/libhdf5.a(H5Tconv_integer.c.o): in function `H5T__conv_schar__Float16':
H5Tconv_integer.c:(.text.H5T__conv_schar__Float16[H5T__conv_schar__Float16]+0xe77): undefined reference to `__truncsfhf2'
/usr/bin/ld: H5Tconv_integer.c:(.text.H5T__conv_schar__Float16[H5T__conv_schar__Float16]+0xf9a): undefined reference to `__truncsfhf2'
/usr/bin/ld: H5Tconv_integer.c:(.text.H5T__conv_schar__Float16[H5T__conv_schar__Float16]+0x117d): undefined reference to `__truncsfhf2'
/usr/bin/ld: H5Tconv_integer.c:(.text.H5T__conv_schar__Float16[H5T__conv_schar__Float16]+0x121d): undefined reference to `__truncsfhf2'
/usr/bin/ld: H5Tconv_integer.c:(.text.H5T__conv_schar__Float16[H5T__conv_schar__Float16]+0x12dc): undefined reference to `__truncsfhf2'
/usr/bin/ld: ./build-dir/bin/libhdf5.a(H5Tconv_integer.c.o):H5Tconv_integer.c:(.text.H5T__conv_schar__Float16[H5T__conv_schar__Float16]+0x137d): more undefined references to `__truncsfhf2' follow
github-actions[bot] commented 1 week ago

maflcko has previously contributed to projects/hdf5. The previous PR was #11714

maflcko commented 1 week ago

Possibly a missing -lclang_rt.builtins, but I couldn't get it to work.