[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/26492] New: ASAN error: in ppc64_elf_before_check_relocs /
From: |
mliska at suse dot cz |
Subject: |
[Bug binutils/26492] New: ASAN error: in ppc64_elf_before_check_relocs /home/mliska/Programming/binutils/bfd/elf64-ppc.c:4337 |
Date: |
Thu, 20 Aug 2020 12:40:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26492
Bug ID: 26492
Summary: ASAN error: in ppc64_elf_before_check_relocs
/home/mliska/Programming/binutils/bfd/elf64-ppc.c:4337
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=powerpc64-freebsd CFLAGS="-g -O2 -fsanitize=address,undefined
-Wno-error" CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
LDFLAGS="-ldl"
Target: powerpc64-freebsd
FAIL: ld-elf/pr20528b
Executing on host: sh -c {./ld-new -z norelro
-L/home/mliska/Programming/binutils/ld/testsuite/ld-elf -T pr21884.t -o
tmpdir/dump tmpdir/pr21884a.o tmpdir/pr21884b.o 2>&1} /dev/null dump.tmp
(timeout = 300)
==48057==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x607000000068 at pc 0x0000005bf358 bp 0x7fffffffb510 sp 0x7fffffffb508
#0 0x5bf357 in ppc64_elf_before_check_relocs
/home/mliska/Programming/binutils/bfd/elf64-ppc.c:4337
#1 0x767e3a in elf_link_add_object_symbols
/home/mliska/Programming/binutils/bfd/elflink.c:5623
#2 0x767e3a in bfd_elf_link_add_symbols
/home/mliska/Programming/binutils/bfd/elflink.c:5917
#3 0x470b49 in load_symbols
/home/mliska/Programming/binutils/ld/ldlang.c:3156
#4 0x473f2f in open_input_bfds
/home/mliska/Programming/binutils/ld/ldlang.c:3626
#5 0x486065 in lang_process
/home/mliska/Programming/binutils/ld/ldlang.c:7906
#6 0x418f5a in main /home/mliska/Programming/binutils/ld/ldmain.c:494
#7 0x7ffff6adacc9 in __libc_start_main (/lib64/libc.so.6+0x26cc9)
#8 0x41b709 in _start (/dev/shm/2yzejl3_/ld/ld-new+0x41b709)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/26492] New: ASAN error: in ppc64_elf_before_check_relocs /home/mliska/Programming/binutils/bfd/elf64-ppc.c:4337,
mliska at suse dot cz <=