develooper Front page | perl.perl5.porters | Postings from December 2018

[perl #133596] Perl 5.28.0 fails to compile on AIX

Thread Next
From:
Tony Cook via RT
Date:
December 5, 2018 21:31
Subject:
[perl #133596] Perl 5.28.0 fails to compile on AIX
Message ID:
rt-4.0.24-17825-1544045494-931.133596-15-0@perl.org
On Wed, 05 Dec 2018 12:35:12 -0800, tonyc wrote:
> On Tue, 16 Oct 2018 10:02:33 -0700, daniele.silvestre@atos.net wrote:
> > Hello,
> >
> > I use the same configure flags to build perl 5.28 on AIX  than with
> > 5.26.1
> > 5.26.1 builds succesfully, 5.28.0 fails.
> >
> > Failure occurs in ext/B directory compilation
> > with 5.28.0 version , an additional -bE:B.exp is given on the gcc
> > command uses to generate B.so
> > on AIX, all parameters given as arguments on the gcc command that are
> > meaningul for the loader and then passed to ld must be prefixed with
> > "
> > -Wl,"
> 
> I suspect this was broken by:
> 
> https://github.com/Perl-Toolchain-Gang/ExtUtils-
> MakeMaker/commit/982f991c7f564f3e40e3f57c1f7090a5d1763611

In your build tree, try running:

  ./miniperl -Ilib -V

As a workaround, try editing cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm

Search for "sub xs_dlsyms_arg" and change:

    return qq{-bE:${file}};

to

    return qq{-Wl,-bE:${file}};

Please let us know if that helps.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=133596

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About