[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/26505] New: ASAN error: in xstormy16_elf_relax_section /ho
From: |
mliska at suse dot cz |
Subject: |
[Bug binutils/26505] New: ASAN error: in xstormy16_elf_relax_section /home/mliska/Programming/binutils/bfd/elf32-xstormy16.c:595 |
Date: |
Thu, 20 Aug 2020 12:45:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26505
Bug ID: 26505
Summary: ASAN error: in xstormy16_elf_relax_section
/home/mliska/Programming/binutils/bfd/elf32-xstormy16.
c:595
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=xstormy16-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: xstormy16-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)
==39523==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x607000000088 at pc 0x0000005712af bp 0x7fffffffb800 sp 0x7fffffffb7f8
#0 0x5712ae in xstormy16_elf_relax_section
/home/mliska/Programming/binutils/bfd/elf32-xstormy16.c:595
#1 0x4529b5 in lang_size_sections_1
/home/mliska/Programming/binutils/ld/ldlang.c:6072
#2 0x4526db in lang_size_sections_1
/home/mliska/Programming/binutils/ld/ldlang.c:5810
#3 0x471c02 in one_lang_size_sections_pass
/home/mliska/Programming/binutils/ld/ldlang.c:6278
#4 0x471c02 in lang_size_sections
/home/mliska/Programming/binutils/ld/ldlang.c:6390
#5 0x471c02 in lang_relax_sections
/home/mliska/Programming/binutils/ld/ldlang.c:7659
#6 0x4d2ead in ldelf_map_segments
/home/mliska/Programming/binutils/ld/ldelfgen.c:40
#7 0x48290d in lang_process
/home/mliska/Programming/binutils/ld/ldlang.c:8164
#8 0x4132ca in main /home/mliska/Programming/binutils/ld/ldmain.c:494
#9 0x7ffff6adacc9 in __libc_start_main (/lib64/libc.so.6+0x26cc9)
#10 0x415819 in _start (/dev/shm/qz6yfmfe/ld/ld-new+0x415819)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/26505] New: ASAN error: in xstormy16_elf_relax_section /home/mliska/Programming/binutils/bfd/elf32-xstormy16.c:595,
mliska at suse dot cz <=