Math-LongDouble v0.23 Perl 5 v5.32.1 i386-openbsd

Status
Pass
From
Alceu Rodrigues de Freitas Junior
Dist
Math-LongDouble v0.23
Platform
Perl 5 v5.32.1 i386-openbsd
Date
2022-06-13 19:08:57
ID
4668e2a2-eb4c-11ec-b737-db65ffa5fe2c
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Sisyphus,

This is a computer-generated report for Math-LongDouble-0.23
on perl 5.32.1, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  Congratulations!
All tests were successful.

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from '/usr/bin/make test':

"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LongDouble.bs blib/arch/auto/Math/LongDouble/LongDouble.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t


  No tests with this file. Instead, mainly for the benefit
  of the author, we (hopefully) see some diagnostics from some
  test executables that were run during the Makefile.PL stage.


CC = cc
OPTMIZE = -O2
erfl & isnanl check (build): try.in:14:8: warning: implicit declaration of function 'isnanl' is invalid in C99 [-Wimplicit-function-declaration]
 ret = isnanl(op);
       ^
1 warning generated.
ld: error: undefined symbol: isnanl
>>> referenced by try.in
>>>               /tmp/try-8d2c39.o:(main)
>>> did you mean: isnanf
>>> defined in: /usr/lib/libc.so.96.1
cc: error: linker command failed with exit code 1 (use -v to see invocation)

build output (nanl check): 
execution output (nanl check): rop set as expected

build output (nan**0 check):
try2.in:50:38: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
 printf("size of long double: %u\n", ul);
                              ~~     ^~
                              %lu
1 warning generated.

nan**0 check diagnostic: 1.0L
1.0L
1.0L
size of long double: 12

build output (signbitl check): try4.in:13:8: warning: implicit declaration of function 'signbitl' is invalid in C99 [-Wimplicit-function-declaration]
 ret = signbitl(op);
       ^
1 warning generated.
ld: error: undefined symbol: signbitl
>>> referenced by try4.in
>>>               /tmp/try4-9c1e74.o:(main)
cc: error: linker command failed with exit code 1 (use -v to see invocation)

build output (sincosl check): 
execution output (sincosl check): 

t/01config_xtra.t .......... ok

NAN_POW_BUG is NOT defined
NANL_IS_UNAVAILABLE is NOT defined
ISNANL_IS_UNAVAILABLE is defined
SIGNBITL_IS_UNAVAILABLE is defined
SINCOSL_IS_UNAVAILABLE is defined
Actual nvsize == 8
Actual long double size = 10
t/aab_basic.t .............. ok

Math::LongDouble::_have_isnanl() returns 0
Math::LongDouble::_have_nanl() returns 1
Math::LongDouble::_have_signbitl() returns 0
t/abs.t .................... ok
t/arith.t .................. ok
t/base_conversion.t ........ ok
t/bool.t ................... ok
t/cmp.t .................... ok

LD_DBL_DENORM_MIN not implemented

LD_LDBL_DENORM_MIN not implemented
t/constants.t .............. ok
llrint_LD not implemented: IV size (4) is smaller than longlong size (8)
llround_LD not implemented: IV size (4) is smaller than longlong size (8)

Skipping tests 17-18: llrint_LD() and llround_LD() not implemented
t/inc_dec.t ................ ok
t/int.t .................... ok

 Skipping all tests - nvtype ('double') is not 'long double'
t/ld_bytes.t ............... ok
t/log_exp.t ................ ok

Math:LongDouble::_nan_pow_bug() returns 0
t/nan_pow.t ................ ok
t/new.t .................... ok
t/nnum.t ................... ok
t/overload.t ............... ok
t/overload_cmp_reversal.t .. ok
t/overload_switch.t ........ ok

Test::Pod version: 1.52

Pod::Simple version: 3.40
t/pod.t .................... ok
t/pow.t .................... ok

FYI:
 DBL_DIG = 15
 LDBL_DIG = 18
 Default precison = 21
t/prec.t ................... ok
t/signbit.t ................ ok
t/special.t ................ ok
t/stringification.t ........ ok

using own implementation of sincosl function
t/trig.t ................... ok
All tests successful.
Files=25, Tests=336,  2 wallclock secs ( 0.06 usr  0.13 sys +  1.21 cusr  0.80 csys =  2.20 CPU)
Result: PASS

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

build_requires:

    Module              Need Have   
    ------------------- ---- -------
    ExtUtils::MakeMaker 0    7.65_01

configure_requires:

    Module              Need Have   
    ------------------- ---- -------
    ExtUtils::MakeMaker 0    7.65_01


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    PATH = /home/goku/perl5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
    PERL5LIB = /home/goku/perl5/lib/perl5
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 43776
    PERL5_CPAN_IS_RUNNING = 43776
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 6441,43776
    PERL_CR_SMOKER_CURRENT = Math-LongDouble-0.23
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /home/goku/perl5
    PERL_MB_OPT = --install_base "/home/goku/perl5"
    PERL_MM_OPT = INSTALL_BASE=/home/goku/perl5
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/ksh
    TERM = xterm-256color

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /usr/bin/perl
    $UID/$EUID = 1001 / 1001
    $GID = 1002 1002 1001
    $EGID = 1002 1002 1001

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.34    
    CPAN::Meta          2.150010
    Cwd                 3.78    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.65_01 
    ExtUtils::Install   2.20    
    ExtUtils::MakeMaker 7.65_01 
    ExtUtils::Manifest  1.72    
    ExtUtils::ParseXS   3.40    
    File::Spec          3.78    
    JSON                4.06    
    JSON::PP            4.09    
    Module::Build       0.4231  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.44    
    Test::More          1.302190
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9924  


--

Summary of my perl5 (revision 5 version 32 subversion 1) configuration:
   
  Platform:
    osname=openbsd
    osvers=7.1
    archname=i386-openbsd
    uname='openbsd'
    config_args='-dse -Dopenbsd_distribution=defined -Dmksymlinks'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=undef
    use64bitall=undef
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector-strong -I/usr/local/include'
    optimize='-O2'
    cppflags='-DBIG_TIME -DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='OpenBSD Clang 13.0.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='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=4
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags ='-Wl,-E  -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/lib /usr/lib/clang/13.0.0/lib /usr/lib
    libs=-lm -lc
    perllibs=-lm -lc
    libc=/usr/lib/libc.so.96.1
    so=so
    useshrplib=true
    libperl=libperl.so.22.0
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-R/usr/libdata/perl5/i386-openbsd/CORE'
    cccdlflags='-DPIC -fpic '
    lddlflags='-shared -fpic  -fstack-protector-strong -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_CTYPE
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under openbsd
  %ENV:
    PERL5LIB="/home/goku/perl5/lib/perl5"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="43776"
    PERL5_CPAN_IS_RUNNING="43776"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="6441,43776"
    PERL_CR_SMOKER_CURRENT="Math-LongDouble-0.23"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/home/goku/perl5"
    PERL_MB_OPT="--install_base "/home/goku/perl5""
    PERL_MM_OPT="INSTALL_BASE=/home/goku/perl5"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/goku/perl5/lib/perl5/i386-openbsd
    /home/goku/perl5/lib/perl5
    /usr/local/libdata/perl5/site_perl/i386-openbsd
    /usr/local/libdata/perl5/site_perl
    /usr/libdata/perl5/i386-openbsd
    /usr/libdata/perl5
    .