Bug 26440 - UBSAN error: gas/config/tc-cr16.c:1533:12:
Summary: UBSAN error: gas/config/tc-cr16.c:1533:12:
Status: RESOLVED DUPLICATE of bug 26441
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.34
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-20 12:20 UTC by Martin Liska
Modified: 2020-08-30 05:17 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 2020-08-20 12:20:14 UTC
The following fails when I build binutils with:
configure --build=x86_64-linux --disable-nls --disable-gdb --disable-gdbserver --disable-sim --disable-readline --disable-libdecnumber --enable-obsolete --target=cr16-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: cr16-elf
PASS: gas/macros/paren
Executing on host: sh -c {../as-new   /home/mliska/Programming/binutils/gas/testsuite/gas/macros/exit.s 2>gas.stderr}  /dev/null  (timeout = 300)
/home/mliska/Programming/binutils/gas/config/tc-cr16.c:1533:12: runtime error: store to address 0x7fffffffbbe5 with insufficient space for an object of type 'char'
Comment 1 Alan Modra 2020-08-30 05:17:45 UTC
I think this is probably a dup.  It's gone for me anyway.

*** This bug has been marked as a duplicate of bug 26441 ***