Bug#957675: perl: ftbfs with GCC-10

Niko Tyni ntyni at debian.org
Fri Apr 17 19:03:27 BST 2020


Control: tag -1 fixed-upstream

On Fri, Apr 17, 2020 at 08:50:02PM +0300, Niko Tyni wrote:
> On Fri, Apr 17, 2020 at 06:26:17PM +0300, Niko Tyni wrote:
> > On Fri, Apr 17, 2020 at 11:08:35AM +0000, Matthias Klose wrote:
> > > Package: src:perl
> > > Version: 5.30.0-9
> > > Severity: normal
> > > Tags: sid bullseye
> > > User: debian-gcc at lists.debian.org
> > > Usertags: ftbfs-gcc-10
> 
> > > Failed 6 tests out of 2533, 99.76% okay.
> > > 	../cpan/Memoize/t/tie_gdbm.t
> > > 	../cpan/Memoize/t/tie_ndbm.t
> > > 	../ext/GDBM_File/t/gdbm.t
> > > 	../ext/NDBM_File/t/ndbm.t
> > > 	../ext/ODBM_File/t/odbm.t
> > > 	../lib/AnyDBM_File.t

> So the perl Configure script adds -fpcc-struct-return to the compiler
> flags if the GCC version starts with number 1. This changes the ABI,
> causing a segmentation fault when calling external code in libgdbm.

Bah, should have checked upstream first as this was already tracked
down there. Oh well.

Fixed upstream by

 https://github.com/Perl/metaconfig/commit/96178a6a5c056c9ae44cd81d6d2c5d99311c763a

 https://github.com/Perl/perl5/commit/9f4e6307232229875331a55e44e1245b0b91e219

-- 
Niko




More information about the Perl-maintainers mailing list