[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/14792] New: Binutils 2.23's version of ld frees an invalid point
From: |
lailavrazda1979 at gmail dot com |
Subject: |
[Bug ld/14792] New: Binutils 2.23's version of ld frees an invalid pointer when configuring GCC |
Date: |
Wed, 31 Oct 2012 18:48:08 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14792
Bug #: 14792
Summary: Binutils 2.23's version of ld frees an invalid pointer
when configuring GCC
Product: binutils
Version: 2.23
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
After building a mingw-w64 cross compiler with binutils 2.22.90 or binutils
2.23 and using it to build GCC's prerequisites, GCC's configure fails when
checking for the correct versions of gmp, mpfr, and mpc, saying ld freed an
invalid pointer. What follows is the error and some context around it:
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... *** glibc
detected ***
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld:
free(): invalid pointer: 0x000000000154ca78 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f5acde46b96]
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld[0x439405]
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld[0x4550a7]
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld[0x441cb7]
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld[0x410b5d]
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld[0x4117c3]
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld[0x41398a]
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld[0x403627]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f5acdde976d]
/home/kineta/win64-build/cross/lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld[0x403af5]
======= Memory map: ========
00400000-00520000 r-xp 00000000 08:01 1211820
/home/kineta/win64-build/cross/x86_64-w64-mingw32/bin/ld
00720000-00726000 rw-p 00120000 08:01 1211820
/home/kineta/win64-build/cross/x86_64-w64-mingw32/bin/ld
00726000-0072b000 rw-p 00000000 00:00 0
01508000-01563000 rw-p 00000000 00:00 0 [heap]
7f5acdbb2000-7f5acdbc7000 r-xp 00000000 08:01 396891
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f5acdbc7000-7f5acddc6000 ---p 00015000 08:01 396891
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f5acddc6000-7f5acddc7000 r--p 00014000 08:01 396891
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f5acddc7000-7f5acddc8000 rw-p 00015000 08:01 396891
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f5acddc8000-7f5acdf7d000 r-xp 00000000 08:01 393344
/lib/x86_64-linux-gnu/libc-2.15.so
7f5acdf7d000-7f5ace17c000 ---p 001b5000 08:01 393344
/lib/x86_64-linux-gnu/libc-2.15.so
7f5ace17c000-7f5ace180000 r--p 001b4000 08:01 393344
/lib/x86_64-linux-gnu/libc-2.15.so
7f5ace180000-7f5ace182000 rw-p 001b8000 08:01 393344
/lib/x86_64-linux-gnu/libc-2.15.so
7f5ace182000-7f5ace187000 rw-p 00000000 00:00 0
7f5ace187000-7f5ace189000 r-xp 00000000 08:01 393341
/lib/x86_64-linux-gnu/libdl-2.15.so
7f5ace189000-7f5ace389000 ---p 00002000 08:01 393341
/lib/x86_64-linux-gnu/libdl-2.15.so
7f5ace389000-7f5ace38a000 r--p 00002000 08:01 393341
/lib/x86_64-linux-gnu/libdl-2.15.so
7f5ace38a000-7f5ace38b000 rw-p 00003000 08:01 393341
/lib/x86_64-linux-gnu/libdl-2.15.so
7f5ace38b000-7f5ace3a1000 r-xp 00000000 08:01 396981
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f5ace3a1000-7f5ace5a0000 ---p 00016000 08:01 396981
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f5ace5a0000-7f5ace5a1000 r--p 00015000 08:01 396981
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f5ace5a1000-7f5ace5a2000 rw-p 00016000 08:01 396981
/lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f5ace5a2000-7f5ace5c4000 r-xp 00000000 08:01 393526
/lib/x86_64-linux-gnu/ld-2.15.so
7f5ace7a3000-7f5ace7a6000 rw-p 00000000 00:00 0
7f5ace7bd000-7f5ace7c4000 rw-p 00000000 00:00 0
7f5ace7c4000-7f5ace7c5000 r--p 00022000 08:01 393526
/lib/x86_64-linux-gnu/ld-2.15.so
7f5ace7c5000-7f5ace7c7000 rw-p 00023000 08:01 393526
/lib/x86_64-linux-gnu/ld-2.15.so
7ffffd1cf000-7ffffd1f1000 rw-p 00000000 00:00 0
[stack]
7ffffd1ff000-7ffffd200000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages.
--
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/14792] New: Binutils 2.23's version of ld frees an invalid pointer when configuring GCC,
lailavrazda1979 at gmail dot com <=