[Bug binutils/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-11-16 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493 --- Comment #25 from H.J. Lu 2012-11-16 23:36:28 UTC --- (In reply to comment #23) > Created attachment 6742 [details] > large size of stripped binary Please provide unstripped library. -- Configure bugmail: http://sourceware.org/bugzilla/u

[Bug binutils/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-11-16 Thread pashev.igor at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493 --- Comment #24 from Igor Pashev 2012-11-16 13:43:14 UTC --- Oh, bugzilla is confused with pr14493 in URL -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You a

[Bug binutils/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-11-16 Thread pashev.igor at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493 --- Comment #23 from Igor Pashev 2012-11-16 13:41:32 UTC --- Created attachment 6742 --> http://sourceware.org/bugzilla/attachment.cgi?id=6742 large size of stripped binary -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi

[Bug binutils/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-11-16 Thread pashev.igor at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493 --- Comment #22 from Igor Pashev 2012-11-16 13:40:27 UTC --- http://osdyson.org/projects/binutils/repository/entry/patches/pr14493-sol2.patch -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiv

[Bug binutils/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-11-16 Thread pashev.igor at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493 --- Comment #21 from Igor Pashev 2012-11-16 13:39:56 UTC --- [1] http://osdyson.org/projects/binutils/repository/entry/patches/pr14493-sol2.patch -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are re

[Bug binutils/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-11-16 Thread pashev.igor at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493 --- Comment #20 from Igor Pashev 2012-11-16 13:38:40 UTC --- Ok, with the patch for SUNW_ldynsym stripped library now can be linked in successfully, but now I'm confused with the size of stripped binary: # ls -lh libfoo*.so -rwxr-xr-x

[Bug binutils/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-11-16 Thread pashev.igor at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493 --- Comment #19 from Igor Pashev 2012-11-16 13:37:44 UTC --- Ok, with the patch for SUNW_ldynsym stripped library now can be linked in successfully, but now I'm confused with the size of stripped binary: # ls -lh libfoo*.so -rwxr-xr-x

[Bug ld/14852] gnu ld can't use a library linked via solaris ld, if that library uses a library linked with GNU ld

2012-11-16 Thread pashev.igor at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14852 --- Comment #1 from Igor Pashev 2012-11-16 10:12:18 UTC --- # cat /usr/bin/ld-gnu-to-sun #!/bin/sh set -e set -u cmd=/usr/bin/sunld while [ $# -ne 0 ]; do case "$1" in # GCC with GNU ld passes -m , # Sun ld does not nee

[Bug ld/14852] New: gnu ld can't use a library linked via solaris ld, if that library uses a library linked with GNU ld

2012-11-16 Thread pashev.igor at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14852 Bug #: 14852 Summary: gnu ld can't use a library linked via solaris ld, if that library uses a library linked with GNU ld Product: binutils Version: 2.22 Status: NEW

[Bug ld/14851] broken relocations for weak symbols on mingw32

2012-11-16 Thread bonzini at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=14851 --- Comment #1 from Paolo Bonzini 2012-11-16 09:03:12 UTC --- Correct test case: g1.c: int f() { printf("strong"); return 82; } int g() { printf("strong"); return 83; } g2.c: #include static int weak_f() { return 42; } static int weak_g() {

[Bug ld/14851] New: broken relocations for weak symbols on mingw32

2012-11-16 Thread bonzini at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=14851 Bug #: 14851 Summary: broken relocations for weak symbols on mingw32 Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Componen