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

[ID 20001129.008] feature_test.ph not -w clean

Thread Next
From:
Jim Avera
Date:
November 29, 2000 17:49
Subject:
[ID 20001129.008] feature_test.ph not -w clean
Message ID:
200011300149.RAA02387@fjst004.ssd.hal.com

This is a bug report for perl from avera@hal.com,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
# Hi,
# 
# Perl v5.6.0 provokes an ugly warning from unistd.ph on Solaris.
#
# Maybe there is a bug in h2ph?
# 
#    Constant subroutine _LARGEFILE_SOURCE undefined at 
#    .../lib/site_perl/5.6.0/sun4-solaris/sys/feature_tests.ph line 15.
#    Prototype mismatch: sub main::_LARGEFILE_SOURCE vs () at (eval 4) line 1.
# 
# -Jim Avera (jima@hal.com)

BEGIN { $^W = 1 }   # or use -w
use strict;
use POSIX ();
use Config;

if ($Config{archname} =~ /solaris|sunos/) {
    eval q( require 'sys/unistd.ph' );
    if (defined &_SC_NPROCESSORS_CONF) {
        my $num = POSIX::sysconf( &_SC_NPROCESSORS_CONF );
        printf "Your Sun machine has %d cpus\n", $num;
    }
}
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=medium
---
Site configuration information for perl v5.6.0:

Configured by avera at Mon Nov 20 17:11:31 PST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos fjst004.ssd.hal.com 5.6 generic_105181-14 sun4u sparc sunw,ultrasparc-iii-engine '
    config_args='-O -des -Duseshrplib -Dprefix=/sim/vcsperl/perl/5.6.0 -Dmake=/u/avera/src/gmake/make-3.78.1/make -Dcc=/sim/caetools_ssd1/VCS/cctools/sun4-solaris/cc -Dcf_email=avera@hal.com -Uinstallusrbinperl -Doptimize=-O'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='/sim/caetools_ssd1/VCS/cctools/sun4-solaris/cc', optimize='-O', gccversion=2.8.1
    cppflags=''
    ccflags =' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='/sim/caetools_ssd1/VCS/cctools/sun4-solaris/cc', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R /sim/vcsperl/perl/5.6.0/lib/5.6.0/sun4-solaris/CORE'
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.6.0:
    /sim/avera/cvshome/lib/perl
    /sim/vcsperl/perl/5.6.0/lib/5.6.0/sun4-solaris
    /sim/vcsperl/perl/5.6.0/lib/5.6.0
    /sim/vcsperl/perl/5.6.0/lib/site_perl/5.6.0/sun4-solaris
    /sim/vcsperl/perl/5.6.0/lib/site_perl/5.6.0
    /sim/vcsperl/perl/5.6.0/lib/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/u/avera
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/sim/maki/ia64verif/intel/VIP_EndUser_41/SunOS5/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ucblib:/usr/is/lib:/usr/lib:/usr/openwin/lib:/usr/ucblib
    LOGDIR (unset)
    PATH=/sim/avera/cvshome/bin:/sim/avera/cvshome/bin/sun4_sol56:/sim/maki/ia64verif/intel/VIP_EndUser_41/SunOS5/bin:/sim/vcsperl/perl/5.6.0/bin:/u/avera/specman/sn_rel3.3/solaris:/u/avera/specman/sn_rel3.3/bin:/sim/caetools_ssd3/Mentor/modelsim/modeltech/sunos5:/sim/caetools_ssd3/Mentor/modelsim/modeltech/bin:/sim/current/bin:/sim/caetools_ssd4/VCS/vcs5.2/bin:/sim/caetools_ssd4/VCS/vcs5.2/sun_sparc_solaris_5.5.1:/sim/caetools_ssd1/VCS/cctools/sun4-solaris:/sim/caetools_ssd4/avanti/explorertl/EXPLORE_RTL-2000.2.10/bin:/sim/caetools_ssd4/avanti/explorertl/EXPLORE_RTL-2000.2.10:/sim/caetools_ssd4/denali/denali/bin:/usr/bin:/usr/bin:/usr/ucb:/sim/caetools_ssd2/signalscan/signalscan_6.0.1/bin/sparc-solaris::/usr/is/bin:/usr/is/gnu/bin:/usr/ccs/bin:/tools/upd/qa/cvs13-1995-05-05/bin:/sim/ldb5_builds/LDB51.10/bin:/sim/lb/current/bin:/sim/wstools_builds/WSTOOLS1.111/bin
    PERL=/sim/vcsperl/perl/5.6.0/bin/perl
    PERL5LIB=/sim/avera/cvshome/lib/perl
    PERL_BADLANG (unset)
    SHELL=/usr/bin/sh


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