Re: Subversion?

2005-02-04 Thread Bryan Donlan
Nicholas Clark wrote:
On Fri, Feb 04, 2005 at 06:07:33PM +0100, Ron Blaschke wrote:
Just curious.  Are there any plans moving parrot to subversion?

I tried a clean subversion checkout about a week ago, and compared with a
clean CVS checkout.
svn gave:
real2m23.994s
user0m9.002s
sys 0m6.730s
CVS gave:
real2m3.928s
user0m0.395s
sys 0m1.719s
so CVS is about 20% faster. Elapsed time seems to be all that matters here.
Nicholas Clark
Wouldn't an update, commit, or switch operation be far more common than
a fresh checkout?


signature.asc
Description: OpenPGP digital signature


Re: C89

2004-10-29 Thread Bryan Donlan
On Thu, 28 Oct 2004 19:22:02 -0700, Bill Coffman [EMAIL PROTECTED] wrote:
 Thanks for the info...
 
 Apparently,
 
gcc -ansi -pedantic
 
 is supposed to be ANSI C '89.  Equiv to -std=c89.  Also, my
 Configure.pl generated make file uses neither -ansi nor -pedantic.  I
 do have access to a KR C v2, but it doesn't look like it's going to
 match the actual practice.  Oh well.  So long, as my code works, I'm
 happy.
 
 Incidentally, I tried adding -ansi and -pedantic and I got lots of
 warnings, like long long not supported by ANSI C'89, etc. (how can
 you do 64 bit ints then?).  I also got errors that caused outright
 failure.  Perhaps it's best to forget the whole C'89 thing.  But maybe
 someone should remove that from the documentation?  Just a thought.

I thought long long was only defined in C99, not C89?

-- 
bd


Re: parrot cvs mirrored with svk

2004-08-09 Thread Bryan Donlan
On Mon, 9 Aug 2004 13:14:26 -0400 (EDT), Andy Dougherty
[EMAIL PROTECTED] wrote:
 On Sat, 7 Aug 2004, Chia-Liang Kao wrote:
 
  I've just setup a Subversion mirror of the parrot cvs repository with
  svk. Will try to keep it in sync until Robert have time to do similar
  setup on perl.org.
 
  So you could now use the Subversion repository (readonly) at:
 
 svn://svn.clkao.org/parrot/cvs/trunk
 
  web interface at http://svn.clkao.org/svnweb/parrot/
 
 Thanks -- this will be useful for folks to use to try it out.
 
 On the plus side, I was able to build and install subversion-1.1.0-rc1
 with no problems on Solaris 2.8.  That's new since last time I looked at
 subversion.
 
 On the minus side, it's still slow (initial checkout took 41 minutes,
 compared to 8 for CVS, though I can't say for sure how much of that was
 due to the different hosts or network connectivity).

41 minutes? Subversion checkout takes 2m14s for me, as compared to CVS 1m.


Re: parrot cvs mirrored with svk

2004-08-07 Thread Bryan Donlan
On Sat, 7 Aug 2004 09:52:30 +0100, Chia-liang Kao [EMAIL PROTECTED] wrote:
 Hi,
 
 I've just setup a Subversion mirror of the parrot cvs repository with
 svk. Will try to keep it in sync until Robert have time to do similar
 setup on perl.org.
 
 So you could now use the Subversion repository (readonly) at:
 
svn://svn.clkao.org/parrot/cvs/trunk
 
 web interface at http://svn.clkao.org/svnweb/parrot/
 
 and for people with unfortunate per-minute metered ISDN, svk could be
 used to mirror the above url, create local branch and do commits
 locally. Later on generate a diff to apply to cvs, or if the
 development trunk switches to svn it would be even eaiser.
 
 Hopefully this could eventually allow more time for fine white wine
 while retaining the same excellent productivity.

You need to set the svn:executable property on icu/source/configure,
or compilation will fail.

-- 
bd


Re: LANGUAGES.STATUS

2004-02-28 Thread Bryan Donlan
On Saturday 28 February 2004 01:12 am, Mitchell N Charity wrote:
 (1) LANGUAGES.STATUS is out of date.

 I found (on linux x86 [1]):

 These languages failed to build:
   BASIC/interpreter
   jako
   miniperl
   tcl

 And these languages were quite broken (bad make test failures):
   BASIC/compiler [2]
   m4
   ruby
   scheme

 LANGUAGES.STATUS says they all work.

M4 and scheme pass all tests for me, on Gentoo Linux. myconfig is:

Summary of my parrot 0.0.13 configuration:
  configdate='Fri Feb 27 23:07:43 2004'
  Platform:
osname=linux, archname=i686-linux
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=/usr/bin/perl
  Compiler:
cc='gcc', ccflags=' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
  Linker and Libraries:
ld='gcc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-lpthread -lnsl -ldl -lm -lcrypt -lutil'
  Dynamic Linking:
so='.so', ld_shared='-shared -L/usr/local/lib',
ld_shared_flags=''
  Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=4 byteorder=1234,
nv=double, numvalsize=8, doublesize=8


Re: LANGUAGES.STATUS

2004-02-28 Thread Bryan Donlan
On Saturday 28 February 2004 02:17 pm, Mitchell N Charity wrote:
 And these languages were quite broken (bad make test failures):

   [...]

   m4

   [...]

   scheme

M4 and scheme pass all tests for me, on Gentoo Linux. myconfig is:

 Ok, they both fail on my perl v5.6.0, and work on my v5.8.2.

 The scheme test failures are perhaps a dependence of the underlying
 scheme compiler (written in perl).  The symptom under 5.6.0 is a
   Nothing to restore at Scheme/Generator.pm line 74.
 when schemec is run.

 The m4 make test failures say
   Perl v5.8.0 required--this is only v5.6.0, stopped at M4/Test.pm line 5.
 M4/Test.pm says
   use 5.008;
 If I comment out this line, then make test works.


 What version of perl are you using?

$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
  Platform:
osname=linux, osvers=2.6.1, archname=i686-linux
uname='linux uvmonkey.no-ip.org 2.6.1 #1 sat jan 10 12:56:54 est 2004 i686 
celeron (coppermine) genuineintel gnulinux '
config_args='-des -Darchname=i686-linux -Dcccdlflags=-fPIC 
-Dccdlflags=-rdynamic -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr 
-Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-march=i686 -O3 -pipe 
-fomit-frame-pointer -mmmx -Duselargefiles -Dd_dosuid -Dd_semctl_semun 
-Dscriptdir=/usr/bin -Dman3ext=3pm -Dcf_by=Gentoo -Ud_csh -Di_gdbm -Di_db 
-Di_ndbm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
optimize='-march=i686 -O3 -pipe -fomit-frame-pointer -mmmx',
cppflags='-DPERL5 -fno-strict-aliasing'
ccversion='', gccversion='3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, 
propolice)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
alignbytes=4, prototype=define
  Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
  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):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Feb  2 2004 16:54:40
  %ENV:
PERL5LIB=/home/bdonlan/lib/perllib
  @INC:
/home/bdonlan/lib/perllib/i686-linux
/home/bdonlan/lib/perllib
/etc/perl
/usr/lib/perl5/site_perl/5.8.2/i686-linux
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.0/i686-linux
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.2/i686-linux
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.2/i686-linux
/usr/lib/perl5/5.8.2
/usr/local/lib/site_perl
/usr/lib/perl5/site_perl/5.8.0/i686-linux
/usr/lib/perl5/site_perl/5.8.0
.

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure 
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include 
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man 
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared 
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib 
--enable-languages=c,c++,f77,objc,java --enable-threads=posix 
--enable-long-long --disable-checking --enable-cstdio=stdio 
--enable-clocale=generic --enable-__cxa_atexit 
--enable-version-specific-runtime-libs 
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3 
--with-local-prefix=/usr/local --enable-shared --enable-nls 
--without-included-gettext --x-includes=/usr/X11R6/include 
--x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib 
--with-x --disable-multilib
Thread model: posix
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)

$ /lib/libc.so.6
Inconsistency detected by ld.so: rtld.c: 1252: dl_main: Assertion 
`_rtld_local._dl_rtld_map.l_prev-l_next == _rtld_local._dl_rtld_map.l_next' 
failed!

I don't know why /lib/libc.so.6 breaks when executed like that, but everything 
seems to work 

Failing tests: t/pmc/eval.t 1-3 and t/pmc/sub.t 42-44

2003-11-08 Thread Bryan Donlan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm using Gentoo Linux on an intel celeron processor. When I do make test from 
latest CVS, I get:


/usr/bin/perl t/harness --gc-debug --running-make-test  -b t/op/*.t t/pmc/*.t 
t/native_pbc/*.t
t/op/00ff-dos..ok
t/op/00ff-unix.ok
t/op/arithmetics...ok
t/op/basic.ok
t/op/bitwise...ok
t/op/comp..ok
t/op/conv..ok
t/op/debuginfo.ok
3/3 skipped: getline/setline changes not finished
t/op/gcok
t/op/globals...ok
t/op/hacks.ok
2/2 skipped: no events yet
t/op/ifunless..ok
t/op/info..ok
t/op/integer...ok
t/op/interpok
t/op/jit...ok
t/op/jitn..ok
t/op/lexicals..ok
t/op/macro.ok
1/16 skipped: Await exceptions
t/op/numberok
t/op/rxok
1/23 skipped: Pending some sort of lowercasing op
t/op/stacksok
t/op/stringok
t/op/time..ok
t/op/trans.ok
t/op/types.ok
t/pmc/arrayok
t/pmc/boolean..ok
t/pmc/coroutineok
t/pmc/env..ok
t/pmc/eval.# Failed test (t/pmc/eval.t at line 8)
#  got: 'back again
# '
# expected: 'in eval
# back again
# '
# Failed test (t/pmc/eval.t at line 20)
#  got: '40
# '
# expected: '42
# '
# Failed test (t/pmc/eval.t at line 33)
#  got: 'hello 
# '
# expected: 'hello parrot
# '
# Looks like you failed 3 tests of 3.
dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/pmc/exceptionok
t/pmc/floatok
t/pmc/intlist..ok
t/pmc/io...ok
1/21 skipped: clone not finished yet
t/pmc/iter.ok
1/9 skipped: N/Y: get_keyed_int gets rest of array
t/pmc/key..ok
t/pmc/managedstructok
t/pmc/mmd..ok
t/pmc/multiarray...ok
t/pmc/nci..i386 JIT CPU
.so SO extension
ok
t/pmc/objects..ok
t/pmc/orderedhash..ok
t/pmc/perlarrayok
t/pmc/perlhash.ok
t/pmc/perlint..ok
t/pmc/perlnum..ok
t/pmc/perlstring...ok
t/pmc/pmc..ok
t/pmc/prop.ok
t/pmc/ref..ok
t/pmc/sarray...ok
t/pmc/scratchpad...ok
t/pmc/sub..# Failed test (t/pmc/sub.t at line 512)
#  got: 'main
# loaded
# Global '_sub1' not found
# '
# expected: 'main
# loaded
# found sub
# in sub1
# '
# './parrot --gc-debug -b t/pmc/sub_42.pasm' failed with exit code 1
# Failed test (t/pmc/sub.t at line 541)
#  got: 'main
# loaded
# Global '_sub1' not found
# '
# expected: 'main
# loaded
# found sub
# in sub1
# back
# '
# './parrot --gc-debug -b t/pmc/sub_43.pasm' failed with exit code 1
# Failed test (t/pmc/sub.t at line 574)
#  got: 'main
# loaded
# Global '_sub1' not found
# '
# expected: 'main
# loaded
# found sub1
# in sub1
# back
# found sub2
# in sub2
# back
# in sub1
# back
# '
# './parrot --gc-debug -b t/pmc/sub_44.pasm' failed with exit code 1
# Looks like you failed 3 tests of 47.
dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 42-44
Failed 3/47 tests, 93.62% okay
t/pmc/timerok
t/native_pbc/numberok
1/3 skipped: core ops changes
Failed 2/56 test scripts, 96.43% okay. 6/954 subtests failed, 99.37% okay.
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
- ---
t/pmc/eval.t3   768 33 100.00%  1-3
t/pmc/sub.t 3   768473   6.38%  42-44
10 subtests skipped.
make: *** [testb] Error 29


Updated from cvs with:
 cvs -z3 update -dP  make realclean  perl Configure.pl  make

Compiler flags are reported as:
- -DPERL5 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Dan_Sugalski -Larry 
- -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow 
- -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return 
- -Winline -W -Wno-unused -Wsign-compare -Wformat-nonliteral -Wformat-security 
- -Wpacked -Wdisabled-optimization -mno-accumulate-outgoing-args -Wno-shadow 
- -I./include -DHAS_JIT -DI386 -DHAVE_COMPUTED_GOTO xx.o -c xx.c
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/raTlx533NjVSos4RAkm1AJ9pA+Jhjl3KB+GpbQIR2HIu7F0WmACcDlX0
aLfBf/7jzPICuCv92CT921M=
=LDYX
-END PGP SIGNATURE-



Re: The Perl 6 Summary

2003-08-18 Thread Bryan Donlan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 18 August 2003 10:29 am, Piers Cawley wrote:
   Packfile fun
 So long assemble.pl, it's been good to know you.

 http://xrl.us/puu

Google gives me an error on this:

Unable to find thread. Please recheck the URL.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/QT2Xx533NjVSos4RAh0IAKCl0G9i1qfOKk1/ex98afUhIv96qgCbB4DL
Rg56ptBwVdgylGCwhQO2HVI=
=Jk9W
-END PGP SIGNATURE-