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

Issues cross-building Perl for apm821xx (flavor of ppc 464fp)

Thread Next
Philip Prindeville
July 31, 2018 23:32
Issues cross-building Perl for apm821xx (flavor of ppc 464fp)
Message ID:

I’m just now getting eyes on this bug report downstream:

where it’s said that the additional CFLAGS "-fwrapv -fno-strict-aliasing” are required to get Perl5 to not SEGV.

This is easy enough to reproduce.

I’m thinking that it’s odd that all other packages build without these flags, but somehow only Perl fails.

The gcc 7.3 manual says:


This option instructs the compiler to assume that signed arithmetic overflow of addition, subtraction and multiplication wraps around using twos-complement representation. This flag enables some optimizations and disables others.

Isn’t that the default model of the underlying machine for the C language?

Anyone seen anything remotely similar?



Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About