Shawn Walker wrote:
> Nick Kew wrote:
>>> Don't do that. Use solaris ld on solaris; do not use
>>> GNU ld.
>>
>> Scroll up to the top of the thread at 
>> http://opensolaris.org/jive/thread.jspa?messageID=252205
>> The original error is that opensolaris ld doesn't work, and the fix 
>> suggested in this thread has failed (bombed out) several times for me.
>>
>> Perhaps you can tell me where to get a solaris ld that works, starting 
>> from 2008.05.
> 
> solaris ld works just fine.  I suspect your build environment and/or 
> configuration are wrong.
> 
> If you provide $PATH and any related CC, etc. variables, I'm certain 
> that something amiss will become obvious.
> 

OK, to reproduce:
1.  Create a new virtualbox (I did this morning)
2.  Install OpenSolaris from a 2008.05 CD.
3.  pkg install SUNWgcc[1]
4.  Try to compile a HelloWorld.c

The ld error is exactly as reported in this thread:
it was googling "SUNWprivate_4.2" that brought me here.

Looks like a broken ld to me, as explained in this
thread and at
http://opensolaris.org/jive/thread.jspa?messageID=260598&tstart=0

Maybe I should try copying the binary from SXCE (where it works
fine), on the grounds that it can scarcely be more broken than
the existing one.

[1] Or SunStudio - the error is the same either way.
I tried gcc this morning, after encountering the same
problem with sunstudio last time.

-- 
Nick Kew
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to