bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26463] New: ASAN error: in m32c_elf_relax_section /home/ml


From: mliska at suse dot cz
Subject: [Bug binutils/26463] New: ASAN error: in m32c_elf_relax_section /home/mliska/Programming/binutils/bfd/elf32-m32c.c:1448
Date: Thu, 20 Aug 2020 12:29:59 +0000

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

            Bug ID: 26463
           Summary: ASAN error: in m32c_elf_relax_section
                    /home/mliska/Programming/binutils/bfd/elf32-m32c.c:144
                    8
           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=m32c-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: m32c-elf
FAIL: ld-elf/pr20528b
Executing on host: sh -c {./ld-new  
-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)
==48615==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x607000000088 at pc 0x0000005774dc bp 0x7fffffffb7c0 sp 0x7fffffffb7b8
    #0 0x5774db in m32c_elf_relax_section
/home/mliska/Programming/binutils/bfd/elf32-m32c.c:1448
    #1 0x452a75 in lang_size_sections_1
/home/mliska/Programming/binutils/ld/ldlang.c:6072
    #2 0x45279b in lang_size_sections_1
/home/mliska/Programming/binutils/ld/ldlang.c:5810
    #3 0x471cc2 in one_lang_size_sections_pass
/home/mliska/Programming/binutils/ld/ldlang.c:6278
    #4 0x471cc2 in lang_size_sections
/home/mliska/Programming/binutils/ld/ldlang.c:6390
    #5 0x471cc2 in lang_relax_sections
/home/mliska/Programming/binutils/ld/ldlang.c:7659
    #6 0x4d314d in ldelf_map_segments
/home/mliska/Programming/binutils/ld/ldelfgen.c:40
    #7 0x4829cd in lang_process
/home/mliska/Programming/binutils/ld/ldlang.c:8164
    #8 0x41338a in main /home/mliska/Programming/binutils/ld/ldmain.c:494
    #9 0x7ffff6adacc9 in __libc_start_main (/lib64/libc.so.6+0x26cc9)
    #10 0x4158d9 in _start (/dev/shm/01aayr45/ld/ld-new+0x4158d9)

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