[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-28 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-09-28 09:46 --- Hi Niki, Great - I have checked the patch in along with these changelog entries. Cheers Nick bfd/ChangeLog PR 10478 * elf.c (bfd_section_from_shdr): Allow SHN_BEFORE and SHN_AFTER sec

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-28 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-09-28 09:45 --- Subject: Bug 10478 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-09-28 09:45:33 Modified files: bfd: ChangeLog elf.c elfcode.h bi

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-25 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-26 00:35 --- looks very good now: === $ uname -a SunOS x4150-1.dev.nlatlu.wipro.com 5.10 Generic_139556-08 i86pc i386 i86pc Solaris $ size /usr/lib/libC.so.* textdata bss dec hex filename 636295

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-25 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-09-25 10:32 --- Hi Niki, OK, please try out the newly uploaded patch (pr10478.x86.patch). This should be applied on top of the previously patched sources, if you are using them, or just straight to the current mainline binutil

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-25 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-09-25 10:31 --- Created an attachment (id=4229) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4229&action=view) Update previous patch to work with x86 binaries -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-21 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-21 15:52 --- any idea related to this? it should be as easy to fix as for solaris/sparc ... -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478 --- You are receiving this mail because: --- You are on the

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-17 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-17 19:30 --- Created an attachment (id=4202) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4202&action=view) sol10/x86 not okay -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478 --- You are recei

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-17 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-17 19:27 --- Created an attachment (id=4201) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4201&action=view) sol10/x86 okay -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478 --- You are receiving

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-17 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-17 19:23 --- same issue on i386-pc-solaris2.10!!! will upload libC.so.3 and libCso.5 from solaris10/x86. === $ uname -a SunOS x4150-1 5.10 Generic_139556-08 i86pc i386 i86pc Solaris $ size /usr/lib/libC.so.* textd

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-09-09 15:06 --- Subject: Bug 10478 CVSROOT:/cvs/src Module name:src Branch: binutils-2_20-branch Changes by: ni...@sourceware.org2009-09-09 15:05:52 Modified files: bfd:

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-09-09 15:04 --- Subject: Bug 10478 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-09-09 15:03:54 Modified files: bfd: ChangeLog elf.c elfcode.h bi

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-09-09 14:57 --- Hi Niki, Ok, I will commit the patch to the mainline sources and the new about-to-be-released 2.20 branch. I'll close the PR for now. If it turns out that there are issues linking against libraries which use

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-09-09 14:55 --- Created an attachment (id=4184) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4184&action=view) same as previous patch -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478 --- You are receivin

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-09 14:49 --- oh! just learned about 2.20.51.0.1 to which your patch applies smoothly. ... and, yes, your patch fixes all issues. thank you! -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478 --- You are re

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-09 12:34 --- nick, can you provide a patchfile against 2.19.51.0.14? i get failures using the file provided: === patching file bfd/elf.c Hunk #1 succeeded at 1537 (offset 23 lines). patching file bfd/elfcode.h Hunk #1 FA

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-09-09 11:50 --- Hi Niki, Ian's explanation was all that I needed. Please try out the uploaded patch. It appears to work for the libC.so.5 file you supplied, at least as far as the informational binutils programs go (size, o

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-09-09 11:47 --- Created an attachment (id=4182) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4182&action=view) Accept sparc binaries with a sh_link field set to SHN_BEFORE or SHN_AFTER -- http://sourceware.org/bugzi

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-09 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-09 07:43 --- shall i upload more unrecognized files for reference? -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478 --- You are receiving this mail because: --- You are on the CC list for the bug, or

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-08 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2009-09-09 03:16 --- If SHF_LINK_ORDER is set in the flags field, then the sh_link field is permitted to contain the special values SHN_BEFORE (65280) and SHN_AFTER (65281). SHN_BEFORE means that this section should come before all other s

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-08 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-08 14:50 --- the following files can't be used by binutils: === find /usr/sfw/lib /usr/lib -type f | grep "\.so\." | while read i; do size $i 1>/dev/null 2>&1 || echo $i; done /usr/sfw/lib/libMagick++.so.5.0.47 /usr/sfw/

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-08 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-09-08 13:49 --- Hi Niki, > is this going to be fixed in binutils? If you can find an explanation for the why the .exception_ranges section has an invalid sh_link value of 65280 then we will fix the binutils. But at the moment

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-09-08 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-09-08 12:53 --- is this going to be fixed in binutils? it is definitely a big impact on solaris, as some programs just do not compile (using gcc/binutils). libC.so.5 is just one example of such a library. -- http://sour

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-08-04 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-08-05 00:25 --- This is the reason for the failure: [13] .exception_ranges PROGBITS000412ec 0412ec 007aac 00 A 65280 0 4 When reading an ELF file BFD does some basic sanity checks in elf_object_p. Why does

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-08-04 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-08-04 13:22 --- by the way: === $ /opt/binutils/2.18.50.0.4/bin/size /usr/lib/libC.so.* textdata bss dec hex filename 7224627071049 76002 128e2 /usr/lib/libC.so.3 313309 21201 59788 39

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-08-04 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-08-04 11:48 --- Created an attachment (id=4112) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4112&action=view) file format not recognized -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478 --- You a

[Bug binutils/10478] "File format not recognized" for some solaris libraries

2009-08-04 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2009-08-04 11:46 --- Created an attachment (id=4111) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4111&action=view) file recognized okay -- http://sourceware.org/bugzilla/show_bug.cgi?id=10478 --- You are rec