Bug#869373: Bug#869122: perl: 5.26 FTBFS on hppa: broken miniperl?

John David Anglin dave.anglin at bell.net
Tue Jul 25 19:55:14 UTC 2017


On 2017-07-24, at 5:31 PM, John David Anglin wrote:

>> Does it work for you without the Perl_custom_op_get_field() code
>> reorganization if you patch cflags.SH further like this?
>> 
>> -    op) : work around http://bugs.debian.org/838613
>> +    op|opmini) : work around http://bugs.debian.org/838613
>> 
>> This should make it build both op.c and opmini.c at -O0.
> 
> Might work.

Another option is to use gcc-7.  It built 2.26 successfully.  Problem seems to be specific to gcc-6.

> 
>> 
>> Or does this hit the hppa "-O0 -fPIC" problem again?
> 
> Again, I don't know.  I had thought the R_PARISC_DPREL21L relocation problem was
> an optimization issue.  I have installed perl 5.26+b1 on a couple of systems.  Building
> libjavascript-minifier-xs-perl with it doesn't trigger the issue nor does building it with
> DEB_BUILD_OPTIONS=noop.

There are a handful of packages that still have the R_PARISC_DPREL21L relocation problem
using 5.26+b1.  I looked at libembperl-perl.  The gcc driver is dropping the -fPIC option and
it's not passed to cc1.  Thus, the relocation error.

It might be some kind of argument length error.

Dave
--
John David Anglin	dave.anglin at bell.net




More information about the Perl-maintainers mailing list