[Bug binutils/14779] readelf.c:403:3: error: unknown type name 'mbstate_t'
http://sourceware.org/bugzilla/show_bug.cgi?id=14779 --- Comment #6 from cvs-commit at gcc dot gnu.org 2012-10-31 11:45:18 UTC --- CVSROOT:/cvs/src Module name:src Branch: binutils-2_23-branch Changes by:ni...@sourceware.org2012-10-31 11:45:12 Modified files: binutils : ChangeLog config.in configure configure.in readelf.c Log message: PR binutils/14779 * configure.in: Add checks for wchar.h and mbstate_t. * config.in: Regenerate. * configure: Regenerate. * readelf.c: Conditionally include wchar.h. (print_symbol): Conditionally use mbstate_t. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.1925.2.5&r2=1.1925.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/config.in.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.38.2.1&r2=1.38.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/configure.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.148&r2=1.148.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/configure.in.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.111&r2=1.111.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/readelf.c.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.578.2.2&r2=1.578.2.3 -- 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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/14792] New: Binutils 2.23's version of ld frees an invalid pointer when configuring GCC
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: unassig...@sourceware.org ReportedBy: lailavrazda1...@gmail.com 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: 0x0154ca78 *** === 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: 0040-0052 r-xp 08:01 1211820 /home/kineta/win64-build/cross/x86_64-w64-mingw32/bin/ld 0072-00726000 rw-p 0012 08:01 1211820 /home/kineta/win64-build/cross/x86_64-w64-mingw32/bin/ld 00726000-0072b000 rw-p 00:00 0 01508000-01563000 rw-p 00:00 0 [heap] 7f5acdbb2000-7f5acdbc7000 r-xp 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 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-7f5ace18 r--p 001b4000 08:01 393344 /lib/x86_64-linux-gnu/libc-2.15.so 7f5ace18-7f5ace182000 rw-p 001b8000 08:01 393344 /lib/x86_64-linux-gnu/libc-2.15.so 7f5ace182000-7f5ace187000 rw-p 00:00 0 7f5ace187000-7f5ace189000 r-xp 08:01 393341 /lib/x86_64-linux-gnu/libdl-2.15.so 7f5ace189000-7f5ace389000 ---p 2000 08:01 393341 /lib/x86_64-linux-gnu/libdl-2.15.so 7f5ace389000-7f5ace38a000 r--p 2000 08:01 393341 /lib/x86_64-linux-gnu/libdl-2.15.so 7f5ace38a000-7f5ace38b000 rw-p 3000 08:01 393341 /lib/x86_64-linux-gnu/libdl-2.15.so 7f5ace38b000-7f5ace3a1000 r-xp 08:01 396981 /lib/x86_64-linux-gnu/libz.so.1.2.3.4 7f5ace3a1000-7f5ace5a ---p 00016000 08:01 396981 /lib/x86_64-linux-gnu/libz.so.1.2.3.4 7f5ace5a-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 08:01 393526 /lib/x86_64-linux-gnu/ld-2.15.so 7f5ace7a3000-7f5ace7a6000 rw-p 00:00 0 7f5ace7bd000-7f5ace7c4000 rw-p 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 7d1cf000-7d1f1000 rw-p 00:00 0 [stack] 7d1ff000-7d20 r-xp 00:00 0 [vdso]
[Bug ld/14792] Binutils 2.23's version of ld frees an invalid pointer when configuring GCC
http://sourceware.org/bugzilla/show_bug.cgi?id=14792 Wolf changed: What|Removed |Added Severity|normal |critical -- 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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12322] GOLD should group .text.unlikely/.text.startup/.text.exit/.text.hot sections together.
http://sourceware.org/bugzilla/show_bug.cgi?id=12322 Sergiy Revkov changed: What|Removed |Added CC||sergiy.revkov at gmail dot ||com AssignedTo|ian at airs dot com |sergiy.revkov at gmail dot ||com -- 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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined
http://sourceware.org/bugzilla/show_bug.cgi?id=14272 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #12 from Alan Modra 2012-11-01 05:08:05 UTC --- Should ld really be covering up this gcc bug? -- 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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/14773] ld --as-needed reports undefined reference in the wrong library
http://sourceware.org/bugzilla/show_bug.cgi?id=14773 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED CC||amodra at gmail dot com Resolution||INVALID --- Comment #2 from Alan Modra 2012-11-01 06:51:03 UTC --- I'll note that ld is correct to give an error here. At the point you try to link libX11.so, there are no references from regular object files to XFillRectangle so since --as-needed is in force, ld decides that libX11.so is not needed. You then link libstatic.a, pulling in an object file that references XFillRectangle and thus generate an error. If you don't mention -lX11 on the command line, then libX11.so will be (somewhat magically) included in the link because it is listed as dependency of libshared.so. This doesn't happen if ld has already decided the library isn't needed. You also won't get an error if you put -lX11 last, which is really the only sane place to put it when you know your libstatic.a references libX11.so functions.. Your claim "XFillRectangle isn't an undefined symbol in libshared.so" is false too, so the ld error message is correct. ld only remembers the first place the symbol was seen as undefined. Again, it doesn't pay to put shared libraries before object files or archives. -- 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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils