Subject: Re: pkgsrc with gcc3.1 and native ld on Solaris
To: None <tech-pkg@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: tech-pkg
Date: 01/04/2003 03:19:59
On Fri, Jan 03, 2003 at 08:09:35AM -0800, Klaus Heinz wrote:

> at the moment I am trying to use bootstrap-pkgsrc from CVS on Solaris8/sparc.
> With some tweaks (no root access for now :-/) I was able to use 'bootstrap'
> to install the kit but building devel/libtool-base fails because the
> installed compiler gcc 3.1 calls /usr/ccs/bin/ld which needs '-h' instead of 
> '-soname' (it complains about 'option -o appears more than once').
> 
> Is this (a prebuilt gcc package wich uses the native ld) a
> supported configuration or does pkgsrc need gcc with GNU ld?

I've not yet tried anything but gcc 2.95.3 on Solaris 8.

Does your gcc perhaps think that 'ld' is GNU ld? At the moment, the
use of GNU ld on Solaris is largely unsupported.

grant.