develooper Front page | perl.perl5.porters | Postings from November 2017

[perl #132479] t/op/pack.t fails two tests in GCC "long doubles"builds on Windows

Thread Next
From:
Steve Hay
Date:
November 21, 2017 13:53
Subject:
[perl #132479] t/op/pack.t fails two tests in GCC "long doubles"builds on Windows
Message ID:
rt-4.0.24-4971-1511272431-1068.132479-75-0@perl.org
# New Ticket Created by  Steve Hay 
# Please include the string:  [perl #132479]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132479 >


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)


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