Skip Menu |
Report information
Id: 132479
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: shay <steve.m.hay [at] googlemail.com>
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: core
Perl Version: 5.27.7
Fixed In: (no value)



From: Steve Hay <steve.m.hay [...] googlemail.com>
Subject: t/op/pack.t fails two tests in GCC "long doubles" builds on Windows
Date: Tue, 21 Nov 2017 13:53:44 +0000
To: perlbug [...] perl.org
Download (untitled) / with headers
text/plain 3.5k
This is a bug report for perl from steve.m.hay@googlemail.com, generated with the help of perlbug 1.41 running under perl 5.27.7. ----------------------------------------------------------------- [Please describe your issue here] As noted in https://rt.perl.org/Ticket/Display.html?id=123113#txn-1317316 there are two test failures when doing a GCC "long doubles" build on Windows: C:\Dev\Git\perl\t>.\perl harness op\pack.t op/pack.t .. 1/14713 # Failed test 13177 - at op/pack.t line 1418 # got "173 1.28347651700000004e-045 42 215 173 1.28347651700000004e-045 42215" # expected "173 1.283476517e-045 42 215 173 1.283476517e-045 42 215" # Failed test 13180 - at op/pack.t line 1431 # got "173 1.28347651700000004e-045 42 215" # expected "173 1.283476517e-045 42 215" op/pack.t .. Failed 2/14713 subtests (less 270 skipped subtests: 14441 okay) These failures are being recorded here in a separate ticket so that the earlier one can now be closed. (The other outstanding work from it -- adding ICC support for "long doubles" -- is also now logged in a separate ticket: #132478.) [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=core severity=low --- Site configuration information for perl 5.27.7: Configured by shay at Tue Nov 21 13:25:42 2017. Summary of my perl5 (revision 5 version 27 subversion 7) configuration: Platform: osname=MSWin32 osvers=6.3.9600 archname=MSWin32-x86-multi-thread-ld uname='' config_args='undef' hint=recommended useposix=true d_sigaction=undef useithreads=define usemultiplicity=define use64bitint=undef use64bitall=undef uselongdouble=define usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='gcc' ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields' optimize='-s -O2' cppflags='-DWIN32' ccversion='' gccversion='7.1.0' gccosandvers='' intsize=4 longsize=4 ptrsize=4 doublesize=8 byteorder=1234 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=12 longdblkind=3 ivtype='long' ivsize=4 nvtype='long double' nvsize=12 Off_t='long long' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='g++' ldflags ='-s -L"c:\perl\lib\CORE" -L"C:\Dev\Software\MinGW-w64\x86\7.1.0\lib"' libpth=C:\Dev\Software\MinGW-w64\x86\7.1.0\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc= so=dll useshrplib=true libperl=libperl527.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs dlext=dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags='-mdll -s -L"c:\perl\lib\CORE" -L"C:\Dev\Software\MinGW-w64\x86\7.1.0\lib"' --- @INC for perl 5.27.7: C:/perl/site/lib C:/perl/lib --- Environment for perl 5.27.7: HOME (unset) LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=C:\Dev\Software\MinGW-w64\x86\7.1.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\perl\bin PERL_BADLANG (unset) SHELL (unset)
From: <sisyphus1 [...] optusnet.com.au>
Subject: Re: [perl #132479] t/op/pack.t fails two tests in GCC "long doubles" builds on Windows
To: <perl5-porters [...] perl.org>, <bugs-bitbucket [...] rt.perl.org>
Date: Wed, 22 Nov 2017 08:48:24 +1100
Download (untitled) / with headers
text/plain 314b
Show quoted text
> As noted in https://rt.perl.org/Ticket/Display.html?id=123113#txn-1317316 > there are two test failures when doing a GCC "long doubles" build on > Windows:
Just attaching the simple patch to pack.t that fixes the bug. Steve, could you apply it please ? (Then *both* tickets can be closed ;-) Cheers, Rob
Download pack.t.patch
text/plain 698b

Message body is not shown because sender requested not to inline it.

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 424b
On Tue, 21 Nov 2017 13:49:10 -0800, sisyphus wrote: Show quoted text
>
> > As noted in https://rt.perl.org/Ticket/Display.html?id=123113#txn-1317316 > > there are two test failures when doing a GCC "long doubles" build on > > Windows:
> > Just attaching the simple patch to pack.t that fixes the bug. > > Steve, could you apply it please ? >
Great! Thanks for the quick fix! Applied in commit 0e45f4872e73c83376fcd3a255ffcfc823aec531.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org