[Bug binutils/6742] New: Ld can not be build for target cygwin if yacc is not available

2008-07-13 Thread earthengine at gmail dot com
I have tried to build a binutils for target cygwin by both native build under Windows XP and cross build under Ubuntu 8.04. The problem is if the yacc parser is not installed, the build of LD will fail because the ld/deffilep.y file can not be parsed. This takes me time to find out the problem bec

[Bug binutils/6743] New: addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
As of Sat Jul 12 08:46:21 PDT 2008, on Fedora 9/x86-64, I got bash-3.2$ ./addr2line -e addr2line 0x401f49 ??:0 *** glibc detected *** ./addr2line: munmap_chunk(): invalid pointer: 0x7f850706909c *** === Backtrace: = /lib64/libc.so.6[0x3362278158] ./addr2line[0x41f87a] ./addr2line[0

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 15:56 --- Hi Craig, your patch: http://sourceware.org/ml/binutils/2008-06/msg00203.html caused this regression. -- What|Removed |Added ---

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 16:38 --- The correct behaviour should be bash-3.2$ ./addr2line -e addr2line 0x401f49 /export/gnu/import/binutils-last/src/binutils/addr2line.c:341 bash-3.2$ -- http://sourceware.org/bugzilla/show_bug.cgi?id=674

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 19:56 --- bash-3.2$ ./addr2line -e ./addr2line `nm -n --defined-only ./addr2line |head -1 | awk '{print $1}'` ??:0 *** glibc detected *** ./addr2line: munmap_chunk(): invalid pointer: 0x7f60c57010a2 *** ==

[Bug ld/6744] New: --export-dynamic does nothing for Cygwin .exe's

2008-07-13 Thread yselkowitz at users dot sourceforge dot net
When linking a program with -Wl,--export-dynamic, no symbols are exported. The problem arises when the executable needs to either dlopen itself, or when it has plugins which are "linked" against it. Both scenarios are not uncommon, particularly with GNOME software. While this does work on Linux,

[Bug ld/6744] --export-dynamic does nothing for Cygwin .exe's

2008-07-13 Thread yselkowitz at users dot sourceforge dot net
--- Additional Comments From yselkowitz at users dot sourceforge dot net 2008-07-13 20:13 --- Created an attachment (id=2826) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2826&action=view) dlopen-self test case -- http://sourceware.org/bugzilla/show_bug.cgi?id=6744 --

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 23:43 --- On Linux, to reproduce it, you may try [EMAIL PROTECTED] binutils]$ MALLOC_CHECK_=1 ./addr2line -e ./addr2line `nm -n --defined-only ./addr2line |head -1 | awk '{print $1}'` malloc: using debugging hooks

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread csilvers at google dot com
--- Additional Comments From csilvers at google dot com 2008-07-13 23:46 --- I've figured out the crashing bug, and can fix that. I tried your test and it gave a different line number than you got, but I assume that's due to build differences. But just to make sure, do you mind applyin

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-07-13 23:52 --- (In reply to comment #5) > I've figured out the crashing bug, and can fix that. I tried your test and it > gave a different line number than you got, but I assume that's due to build > differences. But jus

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread csilvers at google dot com
--- Additional Comments From csilvers at google dot com 2008-07-14 00:12 --- OK, I've committed it to the CVS repository. Thanks for the report. -- What|Removed |Added

[Bug binutils/6743] addr2line frees an invalid pointer

2008-07-13 Thread csilvers at google dot com
--- Additional Comments From csilvers at google dot com 2008-07-14 00:12 --- Subject: Re: PATCH COMMITTED: new variable for malloc It turns out a variable I thought would always point to the beginning of the malloc-block, can actually change value. This was causing crashes in some cas