# New Ticket Created by "Andy Bach" # Please include the string: [perl #56118] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56118 >
Building w/ JIT a number of the smokej tests fail: 10911 OK from 11062 tests (98.63% ok) (all smoke tests pass) w/ seg faults. For instance: ./parrot -j t/op/integer_42.pasm fails (though these both: ./parrot t/op/integer_42.pasm ./parrot -j -Ot t/op/integer_42.pasm succeed) Using dtrace I get: 2008-06-19 17:43:59.574 dtrace[40553:10b] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)' t/op/string_70.pasm and examples/pir/sudoku.pir (two other failing tests) have the same dtrace result perl Configure.pl --jitcapable Parrot Version 0.6.3 Configure 2.0 Copyright (C) 2001-2008, The Perl Foundation. Hello, I'm Configure. My job is to poke and prod your system to figure out how to build Parrot. The process is completely automated, unless you passed in the `--ask' flag on the command line, in which case I'll prompt you for a few pieces of info. Since you're running this program, you obviously have Perl 5--I'll be pulling some defaults from its configuration. Checking MANIFEST...mmak..................................................done. Setting up Configure's default values.................................done. Setting up installation paths.........................................done. Tweaking settings for miniparrot...................................skipped. Loading platform and local hints files...e.............................done. Finding header files distributed with Parrot..........................done. Determining what C compiler and linker to use.........................done. Determining whether make is installed..................................yes. Determining whether lex is installed...............................skipped. Determining whether yacc is installed..............................skipped. Determining if your C compiler is actually gcc.........................yes. Seeing if GNU libc is installed.........................................no. Determining whether libc has the backtrace* functions..................yes. Determining Fink location on Darwin.....................Fink not installed. Determining Macports location on Darwin................................yes. Determining if your C compiler is actually Visual C++...................no. Detecting compiler attributes (-DHASATTRIBUTE_xxx)....................done. Detecting supported compiler warnings (-Wxxx)... pbc...............set for gcc. Enabling optimization...................................................no. Determining flags for building shared libraries.......................done. Determine if parrot should be linked against a shared library..........yes. Determining what charset files should be compiled in..................done. Determining what encoding files should be compiled in.................done. Determining what types Parrot should use..............................done. Determining what opcode files should be compiled in...................done. Determining what pmc files should be compiled in......................done. Determining your minimum pointer alignment......................... 1 byte. Probing for C headers... ..............................................done. Determining some sizes................................................done. Computing native byteorder for Parrot's wordsize.............little-endian. Test the type of va_ptr (this test is likely to segfault)............stack. Figuring out how to pack() Parrot's types.............................done. Figuring out what formats should be used for sprintf..................done. Determining if your C library has a working S_ISREG....................yes. Determining CPU architecture and OS...................................done. Determining architecture, OS and JIT capability.......................done. Generating CPU specific stuff.........................................done. Verifying that the compiler supports function pointer casts............yes. Determining whether your compiler supports computed goto...............yes. Determining if your compiler supports inline...........................yes. Determining what allocator to use.....................................done. Determining if your C library supports memalign................already set. Determining some signal stuff.........................................done. Determining whether there is socklen_t.................................yes. Determining if your C library has setenv / unsetenv...................both. Determining if your platform supports AIO...............................no. Determining if your platform supports GMP...............................no. Determining if your platform supports readline..........................no. Determining if your platform supports gdbm..............................no. Determining if your platform supports pcre........................yes, 7.6. Determining if your platform supports OpenGL............yes, MacOSX_GLUT 5. Determining if your platform supports crypto...................yes, 0.9.7l. Seeing if your configuration includes gettext...........................no. Testing snprintf......................................................done. Determining whether perldoc is installed...............................yes. Determining whether GNU m4 is installed................................yes. Determining whether (exuberant) ctags is installed......................no. Determining Parrot's revision.......................................r28564. Determining whether ICU is installed....................................no. Generating C headers..................................................done. Generating core pmc list..............................................done. Generating Digest PMC files...........................................done. Generating runtime/parrot/include.....................................done. Generating OpenGL bindings...glut_api: 5 - MacOSX_GLUT .........................................done. Generating NCI signature list.........................................done. Configuring languages.................................................done. Generating makefiles and other build files............................done. Moving platform files into place......................................done. Recording configuration data for later retrieval......................done. Okay, we're done! Darwin 9.3.0 Darwin Kernel Version 9.3.0: Fri May 23 00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386 i386 i386 perl -v Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level uname='darwin omen.apple.com 9.0 darwin kernel version 9.0.0b5: mon sep 10 17:17:11 pdt 2007; root:xnu-1166.6~1release_ppc power macintosh ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef 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 ='-arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc -mmacosx-version-min=10.5', ldflags ='-arch i386 -arch ppc -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: fix for regcomp CVE-2007-5116 security vulnerability Built under darwin Compiled at Dec 7 2007 09:37:29 @INC: /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.1 gcc -v Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465)