# New Ticket Created by Mike Kelly # Please include the string: [perl #60474] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60474 >
--- osname= linux osvers= 2.6.27-7-generic arch= x86_64 cc= cc --- Flags: category=core severity=low ack=no --- Test 4 of t/op/sysinfo.t fails for me. To configure, I just ran: perl ./Configure.pl. However, parrot seems to detect my osname as 'x86_64' (my processor), rather than as 'linux'. $ prove t/op/sysinfo.t t/op/sysinfo....NOK 4 # Failed test 'sysinfo osname' # in t/op/sysinfo.t at line 74. # got: 'linux' # expected: 'x86_64' Perl (v5.8.8), though, sees my os as linux: $ perl -MConfig -e 'print "$Config{osname}\n"' linux For the sake of completeness: $ uname -a Linux aether 2.6.27.4 #2 SMP Mon Nov 3 21:02:47 EST 2008 x86_64 GNU/Linux Sorry, I don't have a patch yet, I'm still figuring out how Configure.pl works. --- Summary of my parrot 0.8.0 (r32447) configuration: configdate='Sat Nov 8 12:20:31 2008 GMT' Platform: osname=x86_64, archname=x86_64 jitcapable=0, jitarchname=nojit, jitosname=x86_64, jitcpuarch= execcapable=0 perl=/usr/bin/perl5.8.8 Compiler: cc='cc', ccflags=' -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -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-func tion-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/lib64', cc_ldflags='', libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp -lreadline -lncurses -lpcre -lcrypto ' Dynamic Linking: share_ext='.so', ld_share_flags='-shared -L/usr/local/lib64 -fPIC', load_ext='.so', ld_load_flags='-shared -L/usr/local/lib64 -fPIC' Types: iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8, ptrsize=8, ptr_alignment=1 byteorder=12345678, nv=double, numvalsize=8, doublesize=8 --- Environment: HOME =/home/pioto LANG =en_US.utf8 LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH =/home/pioto/bin:/sbin:/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/opt/bin SHELL =/bin/bash