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: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Thomas Klausner <wiz%NetBSD.org@localhost>,
solaris-pkg-people%NetBSD.org@localhost,
gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/45256: lang/gcc46 not working properly on Solaris
Date: Wed, 17 Aug 2011 08:56:34 +0200
> # Determine whether to use binutils
> +.if ${OPSYS} == "SunOS"
> +CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/bin/ld
> +. if !exists(/usr/bin/gas)
> +CONFIGURE_ARGS+= --without-gnu-as --with-as=/usr/bin/as
> +. else
> +CONFIGURE_ARGS+= --with-gnu-as --with-as=/usr/bin/gas
> +.endif
> +.endif
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/.
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.
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index