Subject: Re: AIX 5.3 and pkgsrc and gcc
To: Louis Guillaume <lguillaume@berklee.edu>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 08/24/2005 15:55:00
On Wed, 24 Aug 2005, Louis Guillaume wrote:

> Hello,
>
> I'm having trouble getting anything to build on AIX 5.3. It seems that as it
> begins to build gcc it runs into trouble. Looks like some kind of circular
> dependency...
>
> patch -> gcc -> gmake -> gettext-lib -> --+
>           ^                               |
>           |                               v
>           ^   infinite dependency loop    |
>           |                               |
>           +- <- libtool-base <- libiconv -+
>
> How do we get around this one?

sigh. "gmake" is the problem here.  In their unfounded^Winsane^Winfinite
wisdom, the GCC folks decided to remove compatibility with non-GNU make.

The only non-messy way I can think to resolve this is to make the gcc3
package build a barebones gmake (ignoring libiconv and gettext-lib) in-tree,
and use that instead of NetBSD's make/bmake.

Alternatively, we could supply a barebones gmake package for specifically
this purpose.  Either way, gmake is where the chain must stop; libtool
*does* need to have the correct compiler version available at its build
time.

> Also, shouldn't we be using gcc-3 by default?

It should not be a requirement.  It should be possible to build packages not
requiring gcc3 with a vendor-supplied compiler, which may be 2.95 or even
egcs.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>