[Top][All Lists]

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

[Bug binutils/26422] New: ASAN error: in bfd_getl32 /home/mliska/Program

From: mliska at suse dot cz
Subject: [Bug binutils/26422] New: ASAN error: in bfd_getl32 /home/mliska/Programming/binutils/bfd/libbfd.c:644
Date: Thu, 20 Aug 2020 12:06:59 +0000


            Bug ID: 26422
           Summary: ASAN error: in bfd_getl32
           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=arm-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: arm-elf
FAIL: callweak
Executing on host: sh -c {/dev/shm/b6evfmmd/ld/ld-new   -o
-L/home/mliska/Programming/binutils/ld/testsuite/ld-arm -defsym x=0 -defsym y=0
-defsym _start=0 tmpdir/reloc-boundaries.o  2>&1}  /dev/null ld.tmp (timeout =
==54326==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x602000002af6 at pc 0x0000005151b7 bp 0x7fffffffaef0 sp 0x7fffffffaee8
    #0 0x5151b6 in bfd_getl32
    #1 0x5cef33 in elf32_arm_final_link_relocate
    #2 0x5f8c9e in elf32_arm_relocate_section
    #3 0x75a69a in elf_link_input_bfd
    #4 0x768c3c in bfd_elf_final_link
    #5 0x5ba89d in elf32_arm_final_link
    #6 0x49c649 in ldwrite /home/mliska/Programming/binutils/ld/ldwrite.c:545
    #7 0x414fa9 in main /home/mliska/Programming/binutils/ld/ldmain.c:510
    #8 0x7ffff6adacc9 in __libc_start_main (/lib64/libc.so.6+0x26cc9)
    #9 0x417459 in _start (/dev/shm/b6evfmmd/ld/ld-new+0x417459)

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]