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

The following reply was made to PR pkg/45256; it has been noted by GNATS.

From: "Filip Hajny" <>
To: =?iso-8859-1?Q?J=F6rn_Clausen?= <>
Cc: <>,
        "Thomas Klausner" <>,
Subject: Re: pkg/45256: lang/gcc46 not working properly on Solaris
Date: Wed, 17 Aug 2011 12:51:56 +0200

 > 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 goe=
 s 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 flavo=
 rs too.
 > And I tried both versions: Using Solaris' ld, and keeping binutils as dep=
 endency. The latter made problems nearly immediately, the first one had pro=
 blems 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 ena=
 ble 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 eas=

Home | Main Index | Thread Index | Old Index