perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Schlichting <fschl...@ZEDAT.FU-Berlin.DE>
Subject build failures on arm, mips: -m32 not available
Date Sat, 20 Oct 2012 19:53:17 GMT

I'm forwarding Debian bug - Embperl 2.5.0
RC2 fails to build on armel/armhf, mips/mipsel, s390 due to -m32 not
being available on those platforms as a valid gcc flag.

The use of -m32 in Makefile.PL was introduced in Embperl 2.4.0 along
with $perl32bit, to have Embperl compile as a 32 bit application on a 64
bit system if Perl itself was compiled as a 32 bit application. The
patch used in Debian (as referenced in the Debian bug) simply removes
both uses of -m32; but then Debian doesn't compile Perl as a 32bit
application on 64 bit architectures. Perhaps everybody would be happy if
something like $Config{archname} =~ /x86_64/ was checked in addition to
$Config{ptrsize} == 4 for $perl32bit to be set? (but note that in
addition to i386/amd64, also sparc and powerpc architectures support


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message