pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45256: lang/gcc46 not working properly on Solaris



> On Solaris 10 and earlier, ld is found in /usr/ccs/bin/ld. /usr/bin/ld is 
> maybe present on Solaris 11 or some of the OpenSolaris heirs. The same goes 
> for GNU software. Up until Solaris 10, this maybe present in /usr/sfw/bin/, 
> but not in /usr/bin/.

It's at /usr/bin/ld since Nevada, and stays so on Illumos and similar flavors 
too.

> And I tried both versions: Using Solaris' ld, and keeping binutils as 
> dependency. The latter made problems nearly immediately, the first one had 
> problems handling "hidden attributes". I'll do extensive tests again and post 
> my results. BTW: lang/gcc34 doesn't work either at the moment, so I am out of 
> a working bootstrap process.

Any Sun ld won't support visibility. Most affected software configures will 
only check for the version of GCC and seeing 4.x something they try to enable 
visibility support, which will fail for sure. So visibility needs to be checked 
for on a package level and patched away.

I don't think pkgsrc currently has any variable to report the flavor of ld 
available/used. Maybe something like GNU_LINKER would make things a bit easier?

-F


Home | Main Index | Thread Index | Old Index