https://sourceware.org/bugzilla/show_bug.cgi?id=27629
Bug ID: 27629 Summary: UBSAN error: conftest.c:63:9: 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: objcopy (objcopy --update-section .bar=tmpdir/dumped-contents update-2.o) Executing on host: /dev/shm/9vutwopb/binutils/objcopy --update-section .foo=tmpdir/dumped-contents --remove-section .foo tmpdir/update-2.o (timeout = 300) conftest.c:63:9: runtime error: division by zero -- You are receiving this mail because: You are on the CC list for the bug.