https://sourceware.org/bugzilla/show_bug.cgi?id=27628
Bug ID: 27628 Summary: UBSAN error: /home/marxin/Programming/binutils-gdb/libctf/ctf-seria lize.c:852:4: Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: mliska at suse dot cz Target Milestone: --- The following fails when I build binutils with: configure --build=x86_64-linux --disable-gdb --disable-gdbserver --enable-obsolete --target=aarch64-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl" Target: aarch64-elf PASS: /home/marxin/Programming/binutils-gdb/libctf/testsuite/libctf-writable/reserialize-strtab-corruption.c Executing on host: sh -c {tmpdir/lookup 2>&1} /dev/null ld.tmp (timeout = 300) /home/marxin/Programming/binutils-gdb/libctf/ctf-serialize.c:852:4: runtime error: null pointer passed as argument 2, which is declared to never be null -- You are receiving this mail because: You are on the CC list for the bug.