Bug 26413 - UBSAN error: elfnn-aarch64.c:3928:7:
Summary: UBSAN error: elfnn-aarch64.c:3928:7:
Status: RESOLVED FIXED
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:00 UTC by Martin Liska
Modified: 2020-08-21 14:35 UTC (History)
1 user (show)

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:00:43 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=aarch64-linux CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: aarch64-linux
PASS: Erratum 835769 dump test
Executing on host: sh -c {/dev/shm/e8py6d55/ld/ld-new   -o tmpdir/erratum835769 -z norelro -L/home/mliska/Programming/binutils/ld/testsuite/ld-aarch64 --fix-cortex-a53-835769 -shared tmpdir/erratum835769.o  2>&1}  /dev/null ld.tmp (timeout = 300)
elfnn-aarch64.c:3928:7: runtime error: null pointer passed as argument 1, which is declared to never be null
Comment 1 Nick Clifton 2020-08-21 14:35:24 UTC
Hi Martin,

  This should be fixed by commit ccf61261eb.

Cheers
  Nick