[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12887] New: ld.bfd crashes when linking crtendS.o
From: |
jay.foad at gmail dot com |
Subject: |
[Bug ld/12887] New: ld.bfd crashes when linking crtendS.o |
Date: |
Tue, 14 Jun 2011 10:19:12 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12887
Summary: ld.bfd crashes when linking crtendS.o
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: address@hidden
ReportedBy: address@hidden
Created attachment 5793
--> http://sourceware.org/bugzilla/attachment.cgi?id=5793
object file
With the attached crtendS.o, I get:
$ ld.bfd -o /dev/null crtendS.o
*** glibc detected *** /home/jay/binutils/local/bin/ld.bfd: munmap_chunk():
invalid pointer: 0x0000000000a02a18 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76bb6)[0x7fc770a47bb6]
/home/jay/binutils/local/bin/ld.bfd[0x477010]
/home/jay/binutils/local/bin/ld.bfd[0x47321b]
/home/jay/binutils/local/bin/ld.bfd[0x41fd4c]
/home/jay/binutils/local/bin/ld.bfd[0x4134de]
/home/jay/binutils/local/bin/ld.bfd[0x416b4e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7fc7709efeff]
/home/jay/binutils/local/bin/ld.bfd[0x402719]
======= Memory map: ========
00400000-00571000 r-xp 00000000 08:05 2927780
/home/jay/binutils/local/bin/ld.bfd
00571000-00572000 r--p 00170000 08:05 2927780
/home/jay/binutils/local/bin/ld.bfd
00572000-00576000 rw-p 00171000 08:05 2927780
/home/jay/binutils/local/bin/ld.bfd
00576000-0057c000 rw-p 00000000 00:00 0
009db000-00a1e000 rw-p 00000000 00:00 0 [heap]
7fc7707bb000-7fc7707d0000 r-xp 00000000 08:05 7077910
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fc7707d0000-7fc7709cf000 ---p 00015000 08:05 7077910
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fc7709cf000-7fc7709d0000 r--p 00014000 08:05 7077910
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fc7709d0000-7fc7709d1000 rw-p 00015000 08:05 7077910
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fc7709d1000-7fc770b5b000 r-xp 00000000 08:05 7080305
/lib/x86_64-linux-gnu/libc-2.13.so
7fc770b5b000-7fc770d5a000 ---p 0018a000 08:05 7080305
/lib/x86_64-linux-gnu/libc-2.13.so
7fc770d5a000-7fc770d5e000 r--p 00189000 08:05 7080305
/lib/x86_64-linux-gnu/libc-2.13.so
7fc770d5e000-7fc770d5f000 rw-p 0018d000 08:05 7080305
/lib/x86_64-linux-gnu/libc-2.13.so
7fc770d5f000-7fc770d65000 rw-p 00000000 00:00 0
7fc770d65000-7fc770d67000 r-xp 00000000 08:05 7080308
/lib/x86_64-linux-gnu/libdl-2.13.so
7fc770d67000-7fc770f67000 ---p 00002000 08:05 7080308
/lib/x86_64-linux-gnu/libdl-2.13.so
7fc770f67000-7fc770f68000 r--p 00002000 08:05 7080308
/lib/x86_64-linux-gnu/libdl-2.13.so
7fc770f68000-7fc770f69000 rw-p 00003000 08:05 7080308
/lib/x86_64-linux-gnu/libdl-2.13.so
7fc770f69000-7fc770f80000 r-xp 00000000 08:05 7078215
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fc770f80000-7fc77117f000 ---p 00017000 08:05 7078215
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fc77117f000-7fc771180000 r--p 00016000 08:05 7078215
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fc771180000-7fc771181000 rw-p 00017000 08:05 7078215
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fc771181000-7fc7711a2000 r-xp 00000000 08:05 7077917
/lib/x86_64-linux-gnu/ld-2.13.so
7fc771353000-7fc771377000 rw-p 00000000 00:00 0
7fc77137d000-7fc7713a1000 rw-p 00000000 00:00 0
7fc7713a1000-7fc7713a2000 r--p 00020000 08:05 7077917
/lib/x86_64-linux-gnu/ld-2.13.so
7fc7713a2000-7fc7713a4000 rw-p 00021000 08:05 7077917
/lib/x86_64-linux-gnu/ld-2.13.so
7fffbef6b000-7fffbef8c000 rw-p 00000000 00:00 0
[stack]
7fffbefff000-7fffbf000000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Aborted
I ran into this when trying to build llvm-gcc from source.
I'm using ld.bfd built from CVS, updated a few minutes ago.
I'm running Ubuntu 11.04 x86_64.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug ld/12887] New: ld.bfd crashes when linking crtendS.o,
jay.foad at gmail dot com <=
- [Bug ld/12887] ld.bfd crashes when linking crtendS.o, jay.foad at gmail dot com, 2011/06/14
- [Bug ld/12887] ld.bfd crashes when linking crtendS.o, jay.foad at gmail dot com, 2011/06/14
- [Bug ld/12887] ld.bfd crashes when linking crtendS.o, amodra at gmail dot com, 2011/06/14
- [Bug ld/12887] ld.bfd crashes when linking crtendS.o, cvs-commit at gcc dot gnu.org, 2011/06/14
- [Bug ld/12887] ld.bfd crashes when linking crtendS.o, amodra at gmail dot com, 2011/06/14
- [Bug ld/12887] ld.bfd crashes when linking crtendS.o, jay.foad at gmail dot com, 2011/06/14