develooper Front page | perl.perl5.porters | Postings from July 2012

[perl #114142] [PATCH] 07c8b27 B: add some missing common flags constants

Thread Next
From:
rurban @ cpanel . net
Date:
July 15, 2012 12:06
Subject:
[perl #114142] [PATCH] 07c8b27 B: add some missing common flags constants
Message ID:
rt-3.6.HEAD-11172-1342379159-1606.114142-75-0@perl.org
# New Ticket Created by  rurban@cpanel.net 
# Please include the string:  [perl #114142]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114142 >



This is a bug report for perl from rurban@cpanel.net,
generated with the help of perlbug 1.39 running under perl 5.17.2.

>From 07c8b27ddc7e57bfdef42a7590ae33253e7e3197 Mon Sep 17 00:00:00 2001
From: Reini Urban <rurban@x-ray.at>
Date: Sun, 15 Jul 2012 14:04:26 -0500
Subject: [PATCH] B: add some missing common flags constants

---
 ext/B/Makefile.PL |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/ext/B/Makefile.PL b/ext/B/Makefile.PL
index f3d59ac..adf70d8 100644
--- a/ext/B/Makefile.PL
+++ b/ext/B/Makefile.PL
@@ -25,15 +25,17 @@ my @names = qw(CVf_ANON CVf_CLONE CVf_CLONED CVf_CONST CVf_LVALUE CVf_METHOD
 	       GVf_IMPORTED_AV GVf_IMPORTED_CV GVf_IMPORTED_HV GVf_IMPORTED_SV
 	       HEf_SVKEY
 	       SVTYPEMASK SVt_PVGV SVt_PVHV
-	       SVf_FAKE SVf_IOK SVf_IVisUV SVf_NOK SVf_POK SVf_READONLY
-	       SVf_ROK SVp_IOK SVp_NOK SVp_POK SVpad_OUR SVs_RMG SVs_SMG
+	       SVf_AMAGIC SVf_BREAK SVf_FAKE SVf_IOK SVf_IVisUV SVf_OK SVf_OOK SVf_NOK
+               SVf_POK SVf_READONLY SVf_ROK SVf_THINKFIRST SVf_UTF8
+               SVp_IOK SVp_NOK SVp_POK SVp_SCREAM SVphv_CLONEABLE SVs_PADTMP SVs_PADMY
+               SVpad_OUR SVpad_TYPED SVphv_LAZYDEL SVphv_HASKFLAGS SVs_RMG SVs_SMG
 	       PAD_FAKELEX_ANON PAD_FAKELEX_MULTI);
 
 if ($] >= 5.009) {
-    push @names, 'CVf_ISXSUB';
+    push @names, 'CVf_ISXSUB', 'SVs_PADSTALE', 'SVpad_NAME', 'SVpad_STATE';
 } else {
     # Constant not present after 5.8.x
-    push @names, 'AVf_REAL';
+    push @names, 'AVf_REAL', 'SVs_PADBUSY';
     # This is only present in 5.10, but it's useful to B::Deparse to be able
     # to import a dummy value from B
     push @names, {name=>"OPpPAD_STATE", default=>["IV", "0"]};
-- 
1.7.10.4

---
Flags:
    category=library
    severity=low
    module=B
---
Site configuration information for perl 5.17.2:

Configured by rurban at Thu Jul 12 09:52:34 CDT 2012.

Summary of my perl5 (revision 5 version 17 subversion 2) configuration:
  Commit id: 122b9bf4fd0633cb11e00a8136e8039f0a14ecd6
  Platform:
    osname=linux, osvers=3.2.0-2-amd64, archname=x86_64-linux-thread-multi-debug@642ef7c1
    uname='linux reini 3.2.0-2-amd64 #1 smp mon may 21 17:45:41 utc 2012 x86_64 gnulinux '
    config_args='-de -Dusedevel -Dinstallman1dir=none -Dinstallman3dir=none -Dinstallsiteman1dir=none -Dinstallsiteman3dir=none -Dmksymlinks -DEBUGGING -Doptimize=-g3 -Duseithreads -Accflags='-msse4.2' -Accflags='-march=corei7' -Dcf_email='rurban@cpanel.net' -Dperladmin='rurban@cpanel.net' -Duseshrplib'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -msse4.2 -march=corei7 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g3',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -msse4.2 -march=corei7 -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.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 -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/local/lib/perl5/5.17.2/x86_64-linux-thread-multi-debug@642ef7c1/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -g3 -L/usr/local/lib -fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.17.2:
    /usr/local/lib/perl5/site_perl/5.17.2/x86_64-linux-thread-multi-debug@642ef7c1
    /usr/local/lib/perl5/site_perl/5.17.2
    /usr/local/lib/perl5/5.17.2/x86_64-linux-thread-multi-debug@642ef7c1
    /usr/local/lib/perl5/5.17.2
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl 5.17.2:
    HOME=/home/rurban
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/bash


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