Bug 1219 - binutils fail to recognize executables and shared libraries generated by Sun Studio 10 CC
Summary: binutils fail to recognize executables and shared libraries generated by Sun ...
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.16
: P2 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 03:54 UTC by Ray Ruvinskiy
Modified: 2009-10-14 14:28 UTC (History)
1 user (show)

See Also:
Host: i386-pc-solaris2.10
Target: i386-pc-solaris2.10
Build: i386-pc-solaris2.10
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Ruvinskiy 2005-08-20 03:54:36 UTC
binutils, including ld, fail to recognize executables and shared libraries
linked with Sun Studio 10 CC.

The error message returned is "unrecognized file format."

In particular, this seems to be due to the fact that CC passes the option
-zld32=-S/opt/SUNWspro/prod/lib/libCCexcept.so.1 to the linker (i.e., telling it
to use libCCexcept.so.1 as a support library). If the (native) ld is invoked
directly with the same parameters as usually supplied by CC except for the one
mentioned above, binutils recognize it.
Comment 1 Ben Elliston 2006-03-31 05:06:43 UTC
Can you attach two example executables to this bug report (one that binutils
recognises and one that does it does not)?  Thanks.
Comment 2 Alan Modra 2009-10-14 14:28:00 UTC
My guess is that this has been fixed in 2.20.  Closing anyway as no feedback in
4 years