Bug 26455 - UBSAN: binutils/bfd/som.c:2885:3:
Summary: UBSAN: binutils/bfd/som.c:2885:3:
Status: RESOLVED DUPLICATE of bug 26453
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:25 UTC by Martin Liska
Modified: 2020-08-26 08:35 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:25:39 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: branch.s: branch tests
Executing on host: sh -c {../as-new  -al /home/mliska/Programming/binutils/gas/testsuite/gas/hppa/basic/add.s 2>&1}  /dev/null gas.out (timeout = 300)
  95 0144 08A42A0/home/mliska/Programming/binutils/bfd/som.c:2885:3: runtime error: null pointer passed as argument 2, which is declared to never be null
Comment 1 Alan Modra 2020-08-26 08:35:24 UTC
Dup

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