bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26485] UBSAN error: bfd/elf64-ppc.c:16582:18:


From: mliska at suse dot cz
Subject: [Bug binutils/26485] UBSAN error: bfd/elf64-ppc.c:16582:18:
Date: Wed, 26 Aug 2020 08:53:07 +0000

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

--- Comment #2 from Martin Liska <mliska at suse dot cz> ---
The mentioned line is gone with current master, but I still see the following
errors related to 'struct ppc_link_hash_entry':

./ld-new   -o tmpdir/tls -z norelro
-L/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc -melf64ppc
--no-plt-align tmpdir/tls.o tmpdir/tlslib.o 
Executing on host: sh -c {./ld-new   -o tmpdir/tls -z norelro
-L/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc -melf64ppc
--no-plt-align tmpdir/tls.o tmpdir/tlslib.o  2>&1}  /dev/null ld.tmp (timeout =
300)
spawn [open ...]
../../bfd/elf64-ppc.c:5653:52: runtime error: member access within null pointer
of type 'struct ppc_link_hash_entry'
../../bfd/elf64-ppc.c:5654:45: runtime error: member access within null pointer
of type 'struct ppc_link_hash_entry'
../../bfd/elf64-ppc.c:7912:36: runtime error: member access within null pointer
of type 'const struct ppc_link_hash_entry'
../../bfd/elf64-ppc.c:5653:52: runtime error: member access within null pointer
of type 'struct ppc_link_hash_entry'
../../bfd/elf64-ppc.c:5654:45: runtime error: member access within null pointer
of type 'struct ppc_link_hash_entry'
../../bfd/elf64-ppc.c:7912:36: runtime error: member access within null pointer
of type 'const struct ppc_link_hash_entry'
FAIL: TLS static exec
/home/marxin/Programming/binutils/objdir/ld/../gas/as-new  
-I/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc   -o tmpdir/tls.o
-a64 --defsym TLSMARK=1
/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc/tls.s
Executing on host: sh -c
{/home/marxin/Programming/binutils/objdir/ld/../gas/as-new  
-I/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc   -o tmpdir/tls.o
-a64 --defsym TLSMARK=1
/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc/tls.s 2>&1} 
/dev/null ld.tmp (timeout = 300)
spawn [open ...]
/home/marxin/Programming/binutils/objdir/ld/../gas/as-new  
-I/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc   -o
tmpdir/tlslib.o -a64 --defsym TLSMARK=1
/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc/tlslib.s
Executing on host: sh -c
{/home/marxin/Programming/binutils/objdir/ld/../gas/as-new  
-I/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc   -o
tmpdir/tlslib.o -a64 --defsym TLSMARK=1
/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc/tlslib.s 2>&1} 
/dev/null ld.tmp (timeout = 300)
spawn [open ...]
./ld-new   -o tmpdir/tlsno -z norelro
-L/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc -melf64ppc
--no-tls-optimize --no-plt-align tmpdir/tls.o tmpdir/tlslib.o 
Executing on host: sh -c {./ld-new   -o tmpdir/tlsno -z norelro
-L/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc -melf64ppc
--no-tls-optimize --no-plt-align tmpdir/tls.o tmpdir/tlslib.o  2>&1}  /dev/null
ld.tmp (timeout = 300)
spawn [open ...]
../../bfd/elf64-ppc.c:16147:6: runtime error: member access within null pointer
of type 'struct ppc_link_hash_entry'
../../bfd/elf64-ppc.c:16147:6: runtime error: member access within null pointer
of type 'struct ppc_link_hash_entry'
FAIL: TLS static exec (--no-tls-optimize)
./ld-new   -o tmpdir/libtlslib.so -z norelro
-L/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc -shared -melf64ppc
tmpdir/tlslib.o  
Executing on host: sh -c {./ld-new   -o tmpdir/libtlslib.so -z norelro
-L/home/marxin/Programming/binutils/ld/testsuite/ld-powerpc -shared -melf64ppc
tmpdir/tlslib.o   2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
../../bfd/elf64-ppc.c:16622:18: runtime error: member access within null
pointer of type 'struct ppc_link_hash_entry'
../../bfd/elf64-ppc.c:16622:18: 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]