develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000314.006] infinite loop on compile

Thread Next
From:
Ted Ashton
Date:
March 14, 2000 16:59
Subject:
[ID 20000314.006] infinite loop on compile
Message ID:
20000314195856.L27431@ns.southern.edu
Perl appears to hang on the compile of the following code:

sort {
  for ($_ = 0;; $_++) {}
} @a;

(sorry not to use perlbug, there does not appear to be one on this system :-(

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.1-ac1, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1 17:44:44 est 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Apr  6 1999 23:34:07
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005
    .

Ted
-- 
Ted Ashton (ashted@southern.edu), Info Sys, Southern Adventist University
          ==========================================================           
To call in the statistician after the experiment is done may be no more than
asking hm to perform a postmortem examination: he may be able to say what
the experiment died of.
                                        -- Fisher, Ronald Aylmer (1890 - 1962)
          ==========================================================           
         Deep thoughts to be found at http://www.southern.edu/~ashted

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