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.
Can you attach two example executables to this bug report (one that binutils
recognises and one that does it does not)? Thanks.
My guess is that this has been fixed in 2.20. Closing anyway as no feedback in