Bug 27629 - UBSAN error: conftest.c:63:9:
Summary: UBSAN error: conftest.c:63:9:
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.37
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-23 09:15 UTC by Martin Liska
Modified: 2022-08-08 07:59 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.