Robert Pluim writes:
Jesse Marlin writes:
> Yes, we are using solaris ld (v3.0). This was an unknown option. I looked
> at the man page for some options that might be related to combreloc
> option, but I only found the one -z combreloc. From gcc I noticed
> on the link line that a -z nocombreloc was being passed in, but it
> probably has no effect because the linker does not support it.
Hmm, if gcc were using solaris ld, then ld would complain, since it
does not support -z nocombreloc. Is it possible for you to run the
gcc link line with "-v" as this will tell us exactly which commands
gcc is calling? (gcc can be quite persistent at using GNU ld even
though Solaris ld is available. Adding -B/usr/ccs/bin/ (note the
trailing backslash) to the link line is the only sure-fire way I've
found of getting it to do the right thing (besides uninstalling GNU
ld, of course ;-)
Robert
--
I mentioned in another email that we were able to compile and install
on sunos 5.8 using ld version 4. I just tried to run the 5.8 binaries
on 5.7 and it initially complained about library versions being wrong,
so I copied some of the key libraries from the 5.8 machine to a temporary
place on the 5.7 machine and it appears to work. I wouldn't regard it as
a solution because of the libraries, but it is binary compatible. One
thing I might try is to copy the ld on the 5.8 box to the 5.7 box.
Do you see anything wrong with doing this?