Bug 26456 - UBSAN error: bfd/som.c:4293:17:
Summary: UBSAN error: bfd/som.c:4293:17:
Status: RESOLVED DUPLICATE of bug 26452
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.34
: P2 normal
Target Milestone: ---
Assignee: Alan Modra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-20 12:26 UTC by Martin Liska
Modified: 2020-08-26 08:38 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:26:18 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=hppa-hp-hpux10 CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: hppa-hp-hpux10
FAIL: picreloc.s: Test for proper PIC relocation (part 2)
Executing on host: sh -c {../as-new  -al /home/mliska/Programming/binutils/gas/testsuite/gas/hppa/reloc/applybug.s 2>&1}  /dev/null gas.out (timeout = 300)
 103 00e8 8780200A 		comib,=,n 0,%r/home/mliska/Programming/binutils/bfd/som.c:4293:17: runtime error: load of address 0x7fffffffbe90 with insufficient space for an object of type 'long unsigned int'
Comment 1 Alan Modra 2020-08-26 08:38:12 UTC
Dup

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