bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26490] New: UBSAN error: bfd/elf64-ppc.c:15931:11:


From: mliska at suse dot cz
Subject: [Bug binutils/26490] New: UBSAN error: bfd/elf64-ppc.c:15931:11:
Date: Thu, 20 Aug 2020 12:39:41 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26490

            Bug ID: 26490
           Summary: UBSAN error: bfd/elf64-ppc.c:15931:11:
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
  Target Milestone: ---

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=powerpc-linux CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: powerpc-linux
FAIL: sym@tocbase
Executing on host: sh -c {./ld-new   -o tmpdir/tocopt -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-powerpc -melf64ppc
tmpdir/tocopt.o  2>&1}  /dev/null ld.tmp (timeout = 300)
/home/mliska/Programming/binutils/bfd/elf64-ppc.c:15931:11: runtime error:
member access within null pointer of type 'struct ppc_link_hash_entry'

--------------------------------------------------------------------------------
UBSAN error: bfd/elf64-ppc.c:15957:6: 
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=powerpc-linux CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: powerpc-linux
FAIL: notoc3
Executing on host: sh -c {./ld-new   -o tmpdir/pcrelopt -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-powerpc -melf64ppc
--hash-style=gnu tmpdir/pcrelopt.o tmpdir/symtocbase.so 2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf64-ppc.c:15957:6: runtime error:
member access within null pointer of type 'struct ppc_link_hash_entry'

--------------------------------------------------------------------------------
UBSAN error: bfd/elf64-ppc.c:15981:11: 
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=powerpc-linux CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: powerpc-linux
FAIL: notoc3
Executing on host: sh -c {./ld-new   -o tmpdir/pcrelopt -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-powerpc -melf64ppc
--hash-style=gnu tmpdir/pcrelopt.o tmpdir/symtocbase.so 2>&1}  /dev/null ld.tmp
(timeout = 300)
/home/mliska/Programming/binutils/bfd/elf64-ppc.c:15981:11: runtime error:
member access within null pointer of type 'struct ppc_link_hash_entry'

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]