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

[perl #132913] t/op/sprintf2.t: 6 test failures when compiling withg++7

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
February 26, 2018 17:46
Subject:
[perl #132913] t/op/sprintf2.t: 6 test failures when compiling withg++7
Message ID:
rt-4.0.24-1862-1519667203-1816.132913-14-0@perl.org
On Mon, 26 Feb 2018 17:32:31 GMT, jkeenan@pobox.com 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.
> 
> Note that we have one other long-standing Open ticket for t/op/sprintf2.t:
> 
> https://rt.perl.org/Ticket/Display.html?id=122591
> 
> Thank you very much.
> Jim Keenan

Curiously, if I configure with '-Dcc="gcc7" instead of g++7, the 6 tests now PASS.

-- 
James E Keenan (jkeenan@cpan.org)

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