[perl #58680] [PATCH] new PLATFORM Linux S/390
# New Ticket Created by "Paco Linux" # Please include the string: [perl #58680] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58680 > Hi: a new PLATFORM Linux S/390, Parrot compiles without problems, make test fails only 2 tests. Perl6 compiles without problems. make spectest_regression not tested; s390:~/parrot$ file parrot parrot: ELF 32-bit MSB executable, IBM S/390, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, not stripped s390:~/parrot$ file perl6 perl6: ELF 32-bit MSB executable, IBM S/390, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped s390:~/parrot$ Now I have to make 64 bits binaries .. Paco --- PLATFORMS 2008-08-19 15:00:03.0 +0200 +++ PLATFORMS.new 2008-09-08 18:55:24.0 +0200 @@ -19,6 +19,7 @@ freebsd-x86-gcc-3.4.6 Y?? ? ? YY ? 20080519 linux-ppc-gcc3.4.5YYY ? ? YY ? 20080519 linux-ps3-gcc4.1.1 BYYY Y Y YY/3 - 20070308 +linux-s390x-gcc4.1.2 B4 ?-- Y Y YY/2 ? 20080908 linux-x86-gcc3.3.3.20040412 Y/2 ?? ? ? YY ? 20070116 linux-x86-gcc3.3.5.2005013YYY Y Y YY ? 20060618 linux-x86-gcc3.4.5YYY ? ? YY ? 20071016
[perl #59442] make benchmark_tests fails 3 tests
# New Ticket Created by "Paco Linux" # Please include the string: [perl #59442] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59442 > as r31402 : Expanded float precision to 15 digits from 6. One side effect is that float output no longer always has six digits after the dot; this drops trailing zeroes. Now the result is correct. t/benchmark/benchmarks..1/37 # Failed test 'examples/benchmarks/addit.pasm' # at t/benchmark/benchmarks.t line 222. # got: '21001097.97 # ' # expected: '21001097.97 # ' t/benchmark/benchmarks..2/37 # Failed test 'examples/benchmarks/addit.pir' # at t/benchmark/benchmarks.t line 222. # got: '21001097.97 # ' # expected: '2.10011e+07 # ' t/benchmark/benchmarks..3/37 # Failed test 'examples/benchmarks/addit2.pir' # at t/benchmark/benchmarks.t line 222. # got: '21001097.97 # ' # expected: '2.10011e+07 # ' Paco --- t/benchmark/benchmarks.t 2008-09-29 11:05:48.0 +0200 +++ t/benchmark/benchmarks.new 2008-09-29 11:06:40.0 +0200 @@ -26,9 +26,9 @@ # Expected output from scripts in 'examples/benchmarks'. # The expected out is needed for checking results with pir_output_is() and pir_output_like(). my %outputs = ( -q{addit.pir}=> qq(2.10011e+07\n), -q{addit.pasm} => qq(21001097.97\n), -q{addit2.pir} => qq(2.10011e+07\n), +q{addit.pir}=> qq(21001097.97\n), +q{addit.pasm} => qq(21001097.97\n), +q{addit2.pir} => qq(21001097.97\n), q{array_access.pir} => qr/ 1\s\*\s1000\s=\s1000\n 100\s\*\s1000\s=\s10\n
[perl #49832] Error making parrot-0.5.2 in MacosX
# New Ticket Created by "Paco Linux" # Please include the string: [perl #49832] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=49832 > Hi: I had this error with the 0.5.2 release and the latest snapshot (this is my first bug report:) : cc -I./include -g -pipe -pipe -fno-common -no-cpp-precomp -I/usr/local/include -pipe -fno-common -Wno-long-double -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_FORMAT -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -falign-functions=16 -W -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Winline -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-endif-labels -Wno-shadow -Wno-unused -Wnonnull -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wwrite-strings -I/sw/include -I/sw/include -I/sw/include -g -Wno-shadow -DHAS_JIT -DPPC -DHAVE_COMPUTED_GOTO -I. -o xx.o -c xx.c perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' docs perl -MExtUtils::Command -e mkpath ops perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' src/dynpmc Cannot restore overloading on HASH(0x187fb74) (package Parrot::Pmc2c::Emitter) at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 323, at /Users/paco/parrot/parrot/tools/build/dynpmc.pl line 199 make[1]: *** [all] Error 255 make: *** [dynpmc.dummy] Error 2 mini:~/parrot/parrot paco$ perl -v This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) Copyright 1987-2003, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. mini:~/parrot/parrot paco$ uname -a Darwin mini.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc mini:~/parrot/parrot paco$ mini:~/parrot/parrot paco$ gcc --version gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Paco
Re: NEWS, PLATFORMS, and make fulltest Results Wanted
Hi: I have to put/modify some entries in PLATFORMS, but in the meantime : SunOS netra 5.10 Generic_127127-11 sun4u sparc SUNW,UltraSPARC-IIi-cEngine cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12 parrot: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped make test: All tests successful. Files=583, Tests=11030 Result: PASS make fulltest: # Error: PARROT_JIT_FLAG is set, but interpreter is not JIT_CAPABLE! - :) make perl6: ./perl6 -e"say 'Hello, world.'" Hello, world. gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) parrot: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped make test: t/op/trans.t (Wstat: 256 Tests: 22 Failed: 1) Failed test: 14 Non-zero exit status: 1 Files=581, Tests=11005 Result: FAIL Failed 1/581 test programs. 1/11005 subtests failed. # Failed test 'atan, part 2' # at t/op/trans.t line 380. # got: 'not 0.00ok 1 # ' # expected: 'ok 1 # ' --- This is documented in config/init/hints/solaris.pm make fulltest: # Skipped make perl6: ./perl6 -e"say 'Hello, world.'" Hello, world. # AIX rs6000 3 5 004078CC4C00 (AIX 5.3) C for AIX Compiler, Version 6 --- Not tried (for now) gcc version 4.2.0 (powerpc-ibm-aix5.3.0.0) parrot: 64-bit XCOFF executable or object module not stripped --- compiles but needs manual intervention --- I cant reach make tests, I have some issues with the compiler/linker .. --- needs more work .. Paco On Sat, May 17, 2008 at 7:05 AM, chromatic <[EMAIL PROTECTED]> wrote: > Parrot 0.6.2 is on schedule for the 20 May release. In preparation, please > gather up any NEWS you find important for your subsystem, please report any > PLATFORMS updates, and please run make fulltest on every architecture you > can > find. > > I'd like to concentrate on applying patches and fixing bugs starting > tomorrow > (or today, if you think it's Saturday already). > > -- c >
[perl #54524] [PATCH] Modify PLATFORMS
# New Ticket Created by "Paco Linux" # Please include the string: [perl #54524] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=54524 > Added aix/ppc and solaris10/gcc/cc Cheers, Paco --- PLATFORMS 2008-05-20 16:57:28.0 +0200 +++ PLATFORMS.new 2008-05-20 17:13:36.0 +0200 @@ -8,6 +8,7 @@ Platform B8Runloops Feature Comp Test Inst MMDD CGoto JIT EXEC Thr Sig +aix5.3-power-gcc4.2 B8 --- Y? ? 20080510 darwin7.9.0-ppc-3.3 BYY- Y Y YY/5 Y 20060808 darwin8.6.0-ppc-gcc4.0.1 B??? ? ? ?Y/4 ? 20060807 darwin8.8.0-ppc-gcc4.0.1 BY/2 ?? ? ? YY ? 20070116 @@ -35,7 +36,10 @@ sol8-sparc-ccB--- - - -Y/1 ? 20080401 sol8-sparc-gcc_4.1.0 B--- - - -Y/77 ? 20080401 sol10-sparc-cc_5.8 BY-- Y Y YY/9 ? 20060807 -sol10-sparc-gcc_4.0.2BY-- Y Y YY/9 ? 20060807 +sol10-sparc-cc_5.9 B4*4 Y-- Y Y YY ? 20080510 +sol10-sparc-cc_5.9 B8 Y-- Y Y YY/2 ? 20080518 +sol10-sparc-gcc_4.0.2B4*4 Y-- Y Y YY/1 ? 20080510 +sol10-sparc-gcc_4.0.2B8 Y-- Y Y YY/2 ? 20080518 sol10-x86-cc_5.9 4 --- - - YY ? 20071010 sol11-x86-cc_5.8 --- - - -Y/121 ? 20070821 opensolaris-x86-gcc_4.0.3 4 YY? ? ? YY/2 ? 20080325 @@ -77,6 +81,7 @@ *1 need PATH=$PATH:$PWD/blib/lib to locate DLL *2 some tests fail intermittently when building x86 on xeon processor *3 You must run Configure.pl with --jitcapable +*4 gcc and cc defaults to 32bits on solaris The following configurations are also working on x86/linux (and possibly other platforms):
[perl #54986] Fwd: [PATCH] gcc4.0 darwin ppc doesnt like -bundle as the 1rst argument
# New Ticket Created by "Paco Linux" # Please include the string: [perl #54986] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=54986 > Hi Seems that $ c++ -v : Target: powerpc-apple-darwin7 gcc version 4.0.0 doesnt like -bundle as the 1rst argument : c++ -bundle -undefined dynamic_lookup -L/usr/local/lib -L/Users/paco/parrot/parrot/blib/lib -L/sw/lib \ -o runtime/parrot/dynext/libnci_test.bundle src/nci_test.o -lm -lgmp -lreadline -lpcre -framework OpenGL -framework GLUT -lcrypto -lintl c++: couldn't run 'undle-gcc-4.0.0': No such file or directory Changing the order in config/init/hints/darwin.pm solves the problem: -ld_load_flags => '-bundle -undefined dynamic_lookup', +ld_load_flags => '-undefined dynamic_lookup -bundle', Paco --- config/init/hints/darwin.pm Tue Mar 11 16:15:17 2008 +++ config/init/hints/darwin.pm.new Wed May 28 19:04:12 2008 @@ -37,7 +37,7 @@ linkflags => '-undefined dynamic_lookup', ld => 'c++', ld_share_flags => '-dynamiclib -undefined dynamic_lookup', -ld_load_flags => '-bundle -undefined dynamic_lookup', +ld_load_flags => '-undefined dynamic_lookup -bundle', memalign=> 'some_memalign', has_dynamic_linking => 1,
Re: [perl #54986] [PATCH] gcc4.0 darwin ppc doesnt like -bundle as the 1rst argument
Hi: Both patches tested in 10.3/ppc and 10.4/intel and works OK for me Paco On Sun, Jun 1, 2008 at 4:29 PM, Seneca Cunningham via RT < [EMAIL PROTECTED]> wrote: > On Thu May 29 04:18:35 2008, [EMAIL PROTECTED] wrote: > > We have another patch pending to config/init/hints/darwin.pm from > > tetragon > > (http://rt.perl.org/rt3/Ticket/Attachment/412932/187608/arch-config- > > patch_v2.txt). > > Since both patches reference ld_load_flags, I wonder if you could try > > out your patch in conjunction with hers so that we can be sure both > > play > > well together. > > > > If they don't conflict, then we should try to get results on (at > > least) > > the following platforms: ppc/OS X 10.4, ppc/OS X 10.5, intel/OS X > > 10.5. > > Builds on 10.5 (ppc) with my arch patch applied. There are no conflicts in > their application as > they are to different parts of the file (I applied arch second, so there > was no fuzz either). > > > >
[perl #64930] Weird error building rakudo
# New Ticket Created by "Paco Linux" # Please include the string: [perl #64930] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64930 > Hi: I'm having a very weird error while building latest rakudo with parrot r38208 (gcc 4.1.3 20070929) : cc -c -o perl6_ops_cg.o -I/tmp/rakudo/parrot/include -I/tmp/rakudo/parrot/src/pmc -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -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 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -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 -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -DHAS_GETTEXT -fPIC -g -DHAS_JIT -DI386 -DHAVE_COMPUTED_GOTO perl6_ops_cg.c perl6.ops: In function 'cg_perl6': perl6.ops:128: warning: assignment discards qualifiers from pointer target type perl6.ops:128: warning: assignment discards qualifiers from pointer target type perl6.ops:218: error: unable to find a register to spill in class 'SIREG' perl6.ops:218: error: this is the insn: (insn 2620 2619 2621 138 perl6.ops:151 (parallel [ (set (reg:CC 17 flags) (compare:CC (mem:BLK (reg/f:SI 3049 [ cstr ]) [0 A8]) (mem/s/j:BLK (reg/f:SI 3050) [0 A8]))) (use (reg:SI 3051)) (use (const_int 1 [0x1])) (use (reg:SI 19 dirflag)) (clobber (reg/f:SI 3049 [ cstr ])) (clobber (reg/f:SI 3050)) (clobber (reg:SI 3051)) ]) 720 {*cmpstrnqi_nz_1} (nil) (expr_list:REG_UNUSED (reg:SI 3051) (expr_list:REG_UNUSED (reg/f:SI 3050) (expr_list:REG_UNUSED (reg/f:SI 3049 [ cstr ]) (expr_list:REG_DEAD (reg:SI 19 dirflag) (expr_list:REG_DEAD (reg:SI 3051) (expr_list:REG_DEAD (reg/f:SI 3049 [ cstr ]) (expr_list:REG_DEAD (reg/f:SI 3050) (expr_list:REG_UNUSED (reg:SI 3051) (expr_list:REG_UNUSED (reg/f:SI 3050) (expr_list:REG_UNUSED (reg/f:SI 3049 [ cstr ]) (nil perl6.ops:218: confused by earlier errors, bailing out In /parrot/languages/rakudo/src/ops/perl6.ops there is this comment : 73 /* Using memcpy here may trigger gcc optimizations, which at this point 74 * can wreak havoc on register-starved x86: 75 * error: unable to find a register to spill in class 'SIREG' 76 * Use memmove instead, which is slower, but isn't inlined by gcc. */ I have tried in other machines and have no problem, so I think is a problem of this version of gcc p...@javier:/tmp/rakudo$ gcc --version gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The problem went away using other switches while compiling rakudo (using --optimize) and the spectest : All tests successful. Files=373, Tests=12884, 909 wallclock secs (10.10 usr 1.25 sys + 1605.36 cusr 59.56 csys = 1676.27 CPU) Result: PASS /rakudo/parrot$ cat myconfig Summary of my parrot 1.0.0 (r38208) configuration: configdate='Tue Apr 21 13:52:08 2009 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 -DTHREADS_HAVE_PIDS -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 -DHASATTR