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

[ID 20001106.003] Operations on large files

Thread Next
From:
Rob Svirskas
Date:
November 6, 2000 14:16
Subject:
[ID 20001106.003] Operations on large files
Message ID:
200011062219.PAA29868@intron.sps.mot.com

This is a bug report for perl from ers007@email.mot.com,
generated with the help of perlbug 1.26 running under perl 5.00503.


-----------------------------------------------------------------
[Please enter your report here]

I am unable to open (or perform other operations) on large files.
The files in question are in excess of 3GB. If I try to open a
large file, I get the following error message (in $!):
  Value too large for defined data type
Similarly, -r and -R return false no matter what the mode settings.
Both File::stat and stat return nothing. Is this an issue with
Perl, or with Perl running on Solaris? Note that this issue also
occurs under Solaris 2.7 and 2.8.

[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl 5.00503:

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos 5.6 generic_105181-06 sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    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
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldb -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl 5.00503:
    /usr/local/lib/perl5/5.00503/sun4-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005
    .

---
Environment for perl 5.00503:
    HOME=/home/robsv
    LANG (unset)
    LANGUAGE (unset)
    LC_COLLATE=en_US.ISO8859-1
    LC_CTYPE=en_US.ISO8859-1
    LC_MESSAGES=C
    LC_MONETARY=en_US.ISO8859-1
    LC_NUMERIC=en_US.ISO8859-1
    LC_TIME=en_US.ISO8859-1
    LD_LIBRARY_PATH=/usr/local/oracle/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/export/home/apps/gcg/gcgbin/oblib
    LOGDIR (unset)
    PATH=/bin:/usr/bin:/usr/sbin:/opt/NSCPcom:/opt/Acrobat4/bin:/usr/local/biochip/bin:/usr/ucb:/etc:/usr/local/bin:/usr/local/oracle/bin:.
    PERL_BADLANG (unset)
    SHELL=/bin/csh


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