Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require(vCONST) broken #14608

Closed
p5pRT opened this issue Mar 20, 2015 · 6 comments
Closed

require(vCONST) broken #14608

p5pRT opened this issue Mar 20, 2015 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Mar 20, 2015

Migrated from rt.perl.org#124135 (status was 'resolved')

Searchable as RT124135$

@p5pRT
Copy link
Author

p5pRT commented Mar 20, 2015

From zefram@fysh.org

Created by zefram@fysh.org

$ perl5.21.4 -E 'require(v5.6.0); say "OK"'
Can't locate in @​INC (@​INC contains​: /home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/site_perl/5.21.4/x86_64-linux-thread-multi /home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/site_perl/5.21.4 /home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/5.21.4/x86_64-linux-thread-multi /home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/5.21.4 .) at -e line 1.
$ perl5.21.3 -E 'require(v5.6.0); say "OK"'
OK

Still broken in 5.21.10. Also affects 'require(5.6.0)'.
Doesn't affect '$a=v5.6.0; require($a)'. I suspect commit
ed6f447.

Perl Info

Flags:
    category=core
    severity=low

Site configuration information for perl 5.21.4:

Configured by zefram at Fri Mar 20 21:01:29 GMT 2015.

Summary of my perl5 (revision 5 version 21 subversion 4) configuration:
   
  Platform:
    osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux-thread-multi
    uname='linux barba.rous.org 3.2.0-4-amd64 #1 smp debian 3.2.65-1+deb7u1 x86_64 gnulinux '
    config_args='-des -Dprefix=/home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52 -Duselargefiles -Dusethreads -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dusedevel -Uversiononly -Ui_db'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    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 /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=libc-2.19.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.19'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/5.21.4/x86_64-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'



@INC for perl 5.21.4:
    /home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/site_perl/5.21.4/x86_64-linux-thread-multi
    /home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/site_perl/5.21.4
    /home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/5.21.4/x86_64-linux-thread-multi
    /home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/lib/5.21.4
    .


Environment for perl 5.21.4:
    HOME=/home/zefram
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/zefram/usr/perl/perl_install/perl-5.21.4-i64-f52/bin:/home/zefram/usr/perl/util:/home/zefram/pub/x86_64-unknown-linux-gnu/bin:/home/zefram/pub/common/bin:/usr/bin:/bin:/usr/local/bin:/usr/games
    PERL_BADLANG (unset)
    SHELL=/usr/bin/zsh

@p5pRT
Copy link
Author

p5pRT commented Mar 20, 2015

From @wolfsage

On Fri, Mar 20, 2015 at 5​:48 PM, Zefram <perlbug-followup@​perl.org> wrote​:

Still broken in 5.21.10. Also affects 'require(5.6.0)'.
Doesn't affect '$a=v5.6.0; require($a)'. I suspect commit
ed6f447.

A bisect lead me to this commit as well.

-- Matthew Horsfall (alh)

@p5pRT
Copy link
Author

p5pRT commented Mar 20, 2015

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Mar 20, 2015

From @jkeenan

On Fri Mar 20 14​:55​:12 2015, alh wrote​:

On Fri, Mar 20, 2015 at 5​:48 PM, Zefram <perlbug-followup@​perl.org> wrote​:

Still broken in 5.21.10. Also affects 'require(5.6.0)'.
Doesn't affect '$a=v5.6.0; require($a)'. I suspect commit
ed6f447.

A bisect lead me to this commit as well.

-- Matthew Horsfall (alh)

Grrrr. That commit changed behavior in a fundamental file (op.c) but did not include a test.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Mar 27, 2015

From @cpansprout

On Fri Mar 20 16​:26​:51 2015, jkeenan wrote​:

On Fri Mar 20 14​:55​:12 2015, alh wrote​:

On Fri, Mar 20, 2015 at 5​:48 PM, Zefram <perlbug-followup@​perl.org>
wrote​:

Still broken in 5.21.10. Also affects 'require(5.6.0)'.
Doesn't affect '$a=v5.6.0; require($a)'. I suspect commit
ed6f447.

A bisect lead me to this commit as well.

-- Matthew Horsfall (alh)

Grrrr. That commit changed behavior in a fundamental file (op.c) but
did not include a test.

It was not supposed to change the behaviour at all, but simply speed things up.

In any case, it is now fixed in 2b79cfe.

--

Father Chrysostomos

@p5pRT p5pRT closed this as completed Mar 27, 2015
@p5pRT
Copy link
Author

p5pRT commented Mar 27, 2015

@cpansprout - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant