https://sourceware.org/bugzilla/show_bug.cgi?id=26489
Bug ID: 26489 Summary: ASAN error: in ppc64_elf_size_stubs bfd/elf64-ppc.c:13389 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: TLSdesc2 Executing on host: sh -c {./ld-new -o tmpdir/tlsdesc3 -z norelro -L/home/mliska/Programming/binutils/ld/testsuite/ld-powerpc -melf64ppc --no-tls-optimize tmpdir/tlsdll.o tmpdir/tlsdesc.o 2>&1} /dev/null ld.tmp (timeout = 300) ==31104==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6180000007a0 at pc 0x000000950b99 bp 0x7fffffffb9c0 sp 0x7fffffffb9b8 #0 0x950b98 in ppc64_elf_size_stubs /home/mliska/Programming/binutils/bfd/elf64-ppc.c:13389 #1 0x4e522b in gldelf64ppc_after_allocation /dev/shm/ygujf3tf/ld/eelf64ppc.c:568 #2 0x489e9d in lang_process /home/mliska/Programming/binutils/ld/ldlang.c:8164 #3 0x41a0fa in main /home/mliska/Programming/binutils/ld/ldmain.c:494 #4 0x7ffff6adacc9 in __libc_start_main (/lib64/libc.so.6+0x26cc9) #5 0x41c949 in _start (/dev/shm/ygujf3tf/ld/ld-new+0x41c949) -- You are receiving this mail because: You are on the CC list for the bug.