Bug 27629

Summary: UBSAN error: conftest.c:63:9:
Product: binutils Reporter: Martin Liska <mliska>
Component: binutilsAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: 2.37   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Martin Liska 2021-03-23 09:15:15 UTC
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
Comment 1 Alan Modra 2021-04-14 07:23:25 UTC
If it's this one then there is absolutely nothing to worry about.

intl/config.log:configure:4717: checking whether integer division by zero raises SIGFPE
Comment 2 Martin Liska 2022-08-08 07:59:59 UTC
Thus closing as invalid.