Bug#775940: Configure: determine sizeof(int) without running host arch code during cross building

Niko Tyni ntyni at debian.org
Fri Apr 17 19:51:38 UTC 2015


Control: forwarded -1 https://rt.perl.org/Ticket/Display.html?id=124326

On Fri, Apr 17, 2015 at 10:27:44PM +0300, Niko Tyni wrote:
> On Wed, Jan 21, 2015 at 08:00:20PM +0100, Helmut Grohne wrote:

> > A major issue with cross building perl is that it tries to run host arch
> > code during configure. In quite a few cases this is completely
> > unnecessary. Consider its check for sizeof(int) for instance. As we know
> > from autotools, sizeof values can be determined by bisecting using
> > compile-only tests. I am therefore attaching a patch that turns the
> > compile&run test for sizeof(int) into a compile-only test.

> I'll forward this upstream, but please note that they're currently
> frozen for a 5.22 release in May.

Now filed as [perl #124326]. I've asked that you (Helmut) be added to
the ticket distribution list so that I'm not needed as a middleman.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list