Subject: Re: lang/perl58 build fails in AIX 5.3, ideas on how to fix.
To: grant beattie <grant@NetBSD.org>
From: Peter Schmiedeskamp <pschmied@yahoo.com>
List: tech-pkg
Date: 02/18/2005 18:59:44
Hi, Grant.  Thanks for the reply on this.  Please let
me know if I can assist you in any way on getting
support for AIX rolling.

In particular, it sounds as if I may be able to help
you by testing on AIX 5.3.

Thank you again for your work on this.  I look forward
to testing what you've been working on!

-Peter Schmiedeskamp

--- grant beattie <grant@NetBSD.org> wrote:

> On Fri, Feb 18, 2005 at 12:26:50PM -0800, Peter
> Schmiedeskamp wrote:
> 
> > Basically what I did was to add "-Wl," in front of
> > everything that looks like a linker flag.  The
> only
> > potential pitfall of this that I can see is for
> AIX
> > users attempting to use the XLC compiler.  But,
> given
> > that I've had very little success with XLC, it may
> be
> > best to have perl working _some_ way.  I'm not
> sure
> > that this would even break XLC.  Does anybody know
> if
> > XLC cares if linker flags are prepended with
> "-Wl,"?
> 
> hi Peter,
> 
> Tim Rightnour and I have been working on AIX support
> on 4.3 and 5.1
> and we have made good progress. after testing a bit
> more, I'll commit
> some work that should allow a number of packages to
> build without
> modification on AIX.
> 
> AIX-style shared objects work, but dynamic linking
> is not always
> perfect yet. for example, perl builds builds but
> won't run because it
> doesn't get runtime linked against libperl.
> 
> pkgsrc uses toolchain wrappers (see
> pkgsrc/mk/wrapper) to manipulate
> compiler and linker arguments, which should make xlc
> relatively easy
> to support.
> 
> incidentally, the support in pkgsrc for the "xlc"
> compiler actually
> refers to xlc on Darwin, which is a little different
> to xlc on AIX.
> maybe they should become xlc-darwin and xlc-aix or
> something..
> 
> > I submitted the patch and it is being tracked in
> the
> > NetBSD bugtracker as 'pkg/29440'.
> 
> thanks! I've updated the PR to reflect the current
> state.
> 
> grant.
> 
> 

> ATTACHMENT part 2 application/pgp-signature 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com