bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26465] New: ASAN error: in bfd_elf_m68k_set_target_options


From: mliska at suse dot cz
Subject: [Bug binutils/26465] New: ASAN error: in bfd_elf_m68k_set_target_options /home/mliska/Programming/binutils/bfd/elf32-m68k.c:4519
Date: Thu, 20 Aug 2020 12:30:36 +0000

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

            Bug ID: 26465
           Summary: ASAN error: in bfd_elf_m68k_set_target_options
                    /home/mliska/Programming/binutils/bfd/elf32-m68k.c:451
                    9
           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=m68k-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: m68k-elf
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)
==27509==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x607000000068 at pc 0x000000590d7c bp 0x7fffffffbd50 sp 0x7fffffffbd48
    #0 0x590d7b in bfd_elf_m68k_set_target_options
/home/mliska/Programming/binutils/bfd/elf32-m68k.c:4519
    #1 0x480a82 in lang_process
/home/mliska/Programming/binutils/ld/ldlang.c:7895
    #2 0x413cca in main /home/mliska/Programming/binutils/ld/ldmain.c:494
    #3 0x7ffff6adacc9 in __libc_start_main (/lib64/libc.so.6+0x26cc9)
    #4 0x416219 in _start (/dev/shm/wh0t2zxn/ld/ld-new+0x416219)

-- 
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]