# New Ticket Created by  I Sop 
# Please include the string:  [perl #59532]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59532 >


The following PIR code causes a segfault:                                       
                             

..sub 'foo' :main
    $P0 = get_namespace
# this works:          
#    $S0 = typeof $P0  
#    say $S0           
    $P1 = typeof $P0   
    say $P1            
..end                   

---
Summary of my parrot 0.7.1 (r31549) configuration:
  configdate='Wed Oct  1 16:58:11 2008 GMT'       
  Platform:                                       
    osname=linux, archname=i486-linux-gnu-thread-multi
    jitcapable=1, jitarchname=i386-linux,             
    jitosname=LINUX, jitcpuarch=i386                  
    execcapable=1                                     
    perl=/usr/bin/perl                                
  Compiler:
    cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN  -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  
-DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  
-DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16 
-fvisibility=hidden -maccumulate-outgoing-args -W -Wall -Waggregate-return 
-Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wendif-labels -Wextra 
-Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k 
-Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wlogical-op 
-Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute 
-Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type 
-Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing 
-Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef 
-Wunknown-pragmas -Wno-unused
 -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wc++-compat 
-Wdeclaration-after-statement -Werror=declaration-after-statement 
-Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations 
-Wmissing-prototypes -Wnested-externs -Wnonnull -DHAS_GETTEXT',
  Linker and Libraries:
    ld='cc', ldflags=' -L/usr/local/lib',
    cc_ldflags='',
    libs='-ldl -lm -lpthread -lcrypt -lrt '
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -O2 -g -L/usr/local/lib -fPIC',
    load_ext='.so', ld_load_flags='-shared -O2 -g -L/usr/local/lib -fPIC'
  Types:
    iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
    ptrsize=4, ptr_alignment=1 byteorder=1234,
    nv=double, numvalsize=8, doublesize=8


      

Reply via email to