Front page | perl.perl5.porters |
Postings from December 2011
[perl #106642] We may be exporting a little too much PerlIO
Thread Next
From:
Leon Timmermans
Date:
December 19, 2011 16:53
Subject:
[perl #106642] We may be exporting a little too much PerlIO
Message ID:
rt-3.6.HEAD-14510-1324342371-1568.106642-75-0@perl.org
# New Ticket Created by Leon Timmermans
# Please include the string: [perl #106642]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=106642 >
This is a bug report for perl from fawaka@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.14.2.
-----------------------------------------------------------------
[Please describe your issue here]
A whole bunch of PerlIO symbols are currently exported through by
being hardcoded in makedef.pl, unlike most functions. This is because
the exact circumstances in which they are exported are more
complicated than makedef can currently handle.
This means however that we have about 80 'X' symbols (exported but not
officially part of the API), without anyone realizing. This is a bad
thing IMO. On the short term, I would suggest moving them to a more
visible place, though that requires either adding some logic to
makedef or dropping SFIO support.
On the longer term, we should either drop symbols or make them API,
probably on a case-by-case basis.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=wishlist
---
Site configuration information for perl 5.14.2:
Configured by leon at Sun Nov 27 14:38:29 CET 2011.
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
Platform:
osname=linux, osvers=3.0.0-13-generic, archname=x86_64-linux
uname='linux leon-laptop 3.0.0-13-generic #22-ubuntu smp wed nov 2
13:27:26 utc 2011 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dprefix=/home/leon/perl5/perlbrew/perls/perl-5.14.2'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.6.1', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib
/usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.13'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
-fstack-protector'
Locally applied patches:
---
@INC for perl 5.14.2:
/home/leon/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux
/home/leon/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2
/home/leon/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux
/home/leon/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2
.
---
Environment for perl 5.14.2:
HOME=/home/leon
LANG=en_US.utf8
LANGUAGE=en_US:en_GB:en
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/leon/perl5/perlbrew/bin:/home/leon/perl5/perlbrew/perls/perl-5.14.2/bin:/home/leon/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PERLBREW_HOME=/home/leon/.perlbrew
PERLBREW_PATH=/home/leon/perl5/perlbrew/bin:/home/leon/perl5/perlbrew/perls/perl-5.14.2/bin
PERLBREW_PERL=perl-5.14.2
PERLBREW_ROOT=/home/leon/perl5/perlbrew
PERLBREW_VERSION=0.25
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[perl #106642] We may be exporting a little too much PerlIO
by Leon Timmermans