Front page | perl.perl5.porters |
Postings from November 2000
Re: [ID 20001109.009] PERLIO=stdio breaks lfs support
Thread Previous
|
Thread Next
From:
Nick Ing-Simmons
Date:
November 10, 2000 01:14
Subject:
Re: [ID 20001109.009] PERLIO=stdio breaks lfs support
Message ID:
200011100914.JAA17695@mikado.tiuk.ti.com
Nick Ing-Simmons <nik@tiuk.ti.com> writes:
>Robin Barker <rmb1@cise.npl.co.uk> writes:
>>This is a bug report for perl from rmb1@cise.npl.co.uk,
>>generated with the help of perlbug 1.33 running under perl v5.7.0.
>>
>>
>>% ( cd t ; env PERLIO=stdio ./perl harness op/lfs.t )
>>op/lfs..............skipped: not configured to use large files?
>>FAILED--1 test script could be run, alas--no output ever seen
It occured to me driving to work to check what perlsdio.h does.
It has :
#if defined(USE_64_BIT_STDIO) && defined(HAS_FSEEKO) && !defined(USE_FSEEK64)
#define fseek fseeko
#endif
perlio.c needs to do likewise.
>>
>>Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
>> Platform:
>> osname=solaris, osvers=2.7, archname=sun4-solaris-64int
>> uname='sunos tempest 5.7 generic_106541-04 sun4u sparc sunw,ultra-5_10 '
>> config_args='-des -Dcc=gcc -Dcf_email=rmb1@cise.npl.co.uk -Dman1dir=none -Dman3dir=none -Doptimize=-O -g -Dprefix=~/test -Duse64bitint -Dusedevel -Duseperlio -Dversiononly'
>> hint=recommended, useposix=true, d_sigaction=define
>> usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
>> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>> use64bitint=define use64bitall=undef uselongdouble=undef
>> Compiler:
>> cc='gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
>> optimize='-O -g',
>> cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
>> ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='solaris2.7'
>> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
>
>What makes that -64int ?
>
>What gets passes in terms of -DXXXX_64 command line 64-bit-ness flags when
>you compile?
>
>Can you send me at work <nik@tiuk.ti.com> your config.h ?
>
>> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>> ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
>> alignbytes=8, usemymalloc=y, prototype=define
--
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.
Thread Previous
|
Thread Next