Subject: Re: devel/gtexinfo build fails on Solaris 9/sparc
To: John D. Baker <jdbaker@mylinuxisp.com>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 07/24/2004 13:52:16
--XlS4q8O07AKt4+K1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Jul 23, 2004 at 10:14:44PM -0500, John D. Baker wrote:

> The compiler being used to bootstrap pkgsrc and lang/gcc34 is the gcc-3.4
> from sunfreeware.com, so 'libgcc_s.so' is in /usr/local/lib.

hi John,

the problem is that gcc doesn't include its own library path when it
links executables. pkgsrc used to have a workaround for this brokenness
by patching the gcc specs file in gcc, but now that is handled by the
compiler framework and it only applies to a gcc provided by pkgsrc, so
it doesn't work for an external gcc.

you can edit your specs file to DTRT, though you may have to dig through
the CVS logs to find what is needed and tweak it for your system.

for pkgsrc, a step in the right direction would be to add an option to
"bootstrap" the gcc packages with minimal dependencies in such a way
that they could be later rebuilt with all dependencies if desired.

grant.


--XlS4q8O07AKt4+K1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFBAdzwluYOb9yiFXoRAtMtAKCHFO2xC7ixjFVT4mJ87kF3TOWqsQCdHQ5+
gj7u38v8TmSD6Si7DXPEd1w=
=H/YW
-----END PGP SIGNATURE-----

--XlS4q8O07AKt4+K1--