develooper Front page | perl.perl5.porters | Postings from May 2013

[perl #118189] Bleadperl v5.19.0-57-g6d5abc6 breaks SREZIC/Tk-804.031.tar.gz

Thread Previous
From:
perlbug-followup
Date:
May 26, 2013 19:55
Subject:
[perl #118189] Bleadperl v5.19.0-57-g6d5abc6 breaks SREZIC/Tk-804.031.tar.gz
Message ID:
rt-3.6.HEAD-2650-1369598111-836.118189-75-0@perl.org
# New Ticket Created by  (Andreas J. Koenig) 
# Please include the string:  [perl #118189]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=118189 >


git bisect
----------
6d5abc62848da0e110869e2b13c68bf498ff3a90 is the first bad commit
commit 6d5abc62848da0e110869e2b13c68bf498ff3a90
Author: Nicholas Clark <nick@ccl4.org>
Date:   Wed Mar 6 16:27:08 2013 +0100

    Change LIKELY() and UNLIKELY() to cast their first argument to a bool.
    
    This avoids problems such as pointers being compared with the literal value 1.
    Suggested by Zefram.
    
    Note that this is technically a change of behaviour, as the macro EXPECT(),
    which they are both both wrappers for, returns its value, so they will now
    be returning TRUE or FALSE, rather than the actual value passed to them.
    However, all uses in the core and on CPAN are only within if() statements, so
    this should not make any difference in practice.


diagnostics
-----------
Xlib.xs: In function ‘XS_DisplayPtr_XListFonts’:
Xlib.xs:230:66: error: ‘bool’ undeclared (first use in this function)
Xlib.xs:230:66: note: each undeclared identifier is reported only once for each function it appears in
Xlib.xs:230:71: error: expected ‘:’ before numeric constant
Xlib.xs: In function ‘XS_DisplayPtr_XQueryTree’:
Xlib.xs:321:67: error: ‘bool’ undeclared (first use in this function)
Xlib.xs:321:72: error: expected ‘:’ before numeric constant
make[1]: *** [Xlib.o] Error 1
make[1]: Leaving directory `/tmp/makeperl-zi8Jpn/Tk-804.031-7oBTHn/Xlib'

perl -V
-------
Summary of my perl5 (revision 5 version 19 subversion 1) configuration:
  Commit id: 6d5abc62848da0e110869e2b13c68bf498ff3a90
  Platform:
    osname=linux, osvers=3.8-2-amd64, archname=x86_64-linux
    uname='linux k83 3.8-2-amd64 #1 smp debian 3.8.13-1 x86_64 gnulinux '
    config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.19.0-57-g6d5abc6/165a -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Uuseithreads -Uuselongdouble -DDEBUGGING=-g'
    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 -g',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.3', 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 -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.17'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl):
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV PERL_SAWAMPERSAND PERL_USE_DEVEL
                        USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Built under linux
  Compiled at May 26 2013 21:25:52
  @INC:
    /home/src/perl/repoperls/installed-perls/perl/v5.19.0-57-g6d5abc6/165a/lib/site_perl/5.19.1/x86_64-linux
    /home/src/perl/repoperls/installed-perls/perl/v5.19.0-57-g6d5abc6/165a/lib/site_perl/5.19.1
    /home/src/perl/repoperls/installed-perls/perl/v5.19.0-57-g6d5abc6/165a/lib/5.19.1/x86_64-linux
    /home/src/perl/repoperls/installed-perls/perl/v5.19.0-57-g6d5abc6/165a/lib/5.19.1
    .
>

-- 
andreas


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About