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

Re: [perl #132913] t/op/sprintf2.t: 6 test failures when compilingwith g++7

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
February 26, 2018 22:30
Subject:
Re: [perl #132913] t/op/sprintf2.t: 6 test failures when compilingwith g++7
Message ID:
20180226232926.5b90c0fe@pc09.procura.nl
On Mon, 26 Feb 2018 10:57:52 -0800, "James E Keenan via RT"
<perlbug-followup@perl.org> wrote:

> On Mon, 26 Feb 2018 18:27:16 GMT, jhi wrote:
> > On 2/26/18 19:32, James E Keenan wrote:  
> > > Today I installed the gcc7 package on both FreeBSD-10.3 and 11.0.  I
> > > then compiled and build perl configuring like this:
> > > 
> > > #####
> > > sh ./Configure -des -Dusedevel -Duseithreads \
> > > -Doptimize="-O2 -pipe -fstack-protector -fno-strict-aliasing" \
> > > -Dcc="g++7" \
> > > -Accflags="-Wl,-rpath=/usr/local/lib/gcc7" \
> > > -Aldflags="-Wl,-rpath=/usr/local/lib/gcc7"
> > > #####
> > > 
> > > There were plenty of warnings during 'make', but since we have not yet
> > > heavily explored building perl with gcc7 or g++7, I'll defer discussion
> > > of them; 'make' completed successfully.
> > > 
> > > During 'make test_harness', however, I got failures in t/op/sprintf2.t.
> > > Please see attachments.  
> > 
> > Off-hand, since the only tests that started failing are to do with 
> > subnormal handling, and since the tests have previously passed (right?)
> > with freebsd/gcc (some older gcc), maybe something has changed in the
> > subnormal handling?
> 
> I only installed gcc7 (and, hence, g++7) on FreeBSD-11.0 for the
> first time today.
> 
> I previously installed gcc6, but where was some problem installing
> g++6, so I've never built with the latter on this platform.
> 
> On IRC #p5p, Tux mentioned that he had observed g++7 test failures
> several months ago at the time of the core hackathon in Amsterdam
> (mid-October).

Several month being over a year now

It is g++-6 + g++-7 specific (g++-5 is ok)

Search on [All versions] for host [lx09] on http://perl5.test-smoke.org/search

 Last  pass: 2016-06-02 13:31:52+00 v5.25.1-98-gad1bab9
             http://perl5.test-smoke.org/report/47121
   lx09: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (GenuineIntel 1377MHz) (x86_64/4[8 cores] cpus)
       on        linux 4.6.0-1-default [openSUSE Tumbleweed (20160422) (x86_64)]
       using     g++ version 5.3.1 20160412 [gcc-5-branch revision 234894] (*1)
       smoketime 4 hours 18 minutes (average 32 minutes 21 seconds)

 First fail: 2016-08-27 19:55:14+00 v5.25.4-21-g51068c1
             http://perl5.test-smoke.org/report/49402
   lx09: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (GenuineIntel 1385MHz) (x86_64/4[8 cores] cpus)
       on        linux 4.7.2-1-default [openSUSE Tumbleweed (20160812) (x86_64)]
       using     g++ version 6.1.1 20160815 [gcc-6-branch revision 239479] (*1)
       smoketime 2 hours 33 minutes (average 19 minutes 9 seconds)

> > CCing Zefram explicitly since he usually has a good hunch about these 
> > things.
> >   
> > > Note that we have one other long-standing Open ticket for t/op/sprintf2.t:
> > > 
> > > https://rt.perl.org/Ticket/Display.html?id=122591
> > > 
> > > Jim Keenan

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.27   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About