Re: [REPATCH] Parrot::Embed Take Two

2006-08-18 Thread Leopold Toetsch
Am Freitag, 18. August 2006 03:43 schrieb chromatic:
> Hi there,
>
> Here's a patch for Build.PL that should avoid most of the pkg_config
> troubles on platforms that don't have it.  I still don't quite know what to
> do on Windows when installing from outside of the Parrot tree.

You could always query parrot itself for it's configuration variables, see 
e.g.: tools/dev/src-t.sh. That is: the user would have to specify the 
location of the parrot executable.

2 further notes:
- parrot.pc seems not to have all necessary Cflags
- parrot-config should have some macro-ish queries that retrieve all necessary 
compile / link setting with one --option [1]

I'd just ci and let it evolve.

leo

[1] http://rt.perl.org/rt3/Public/Bug/Display.html?id=32365
http://rt.perl.org/rt3/Public/Bug/Display.html?id=34356


Re: [perl #39868] [CAGE] convert C NN; }> to C NN;>

2006-08-18 Thread nuno carvalho

(i initially posted this on RT, but since posts made by guests seem
not to get forwarded to the list here it is, only hope this message
goes into the right place)

Hi all,

I have applied the patch attatched to this ticket. Here's the outcome:

1) before the patch i did:

$ make test 2>&1 | tee test_before_patch

2) applied the patch (only a couple of problems, not a big deal):

$ patch -p0 < BEGIN-t.patch
(patching file ...)
can't find file to patch at input line 404
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|Index: t/pmc/none.t
|===
|--- t/pmc/none.t (revision 13607)
|+++ t/pmc/none.t (working copy)
--
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
(patching file ...)
Hunk #2 FAILED at 67.
1 out of 2 hunks FAILED -- saving rejects to file
t/compilers/tge/parser.t.rej
(patching file ...)

3) after appliyng the patch i ran make test again:

$ make test 2>&1 | tee test_after_patch

4) and then i got the test differences:

$ diff test_before_patch test_after_patch
258c258,264
< t/compilers/tge/parser...ok
---

t/compilers/tge/parser...You tried to plan twice!

Second plan at t/compilers/tge/parser.t line 92

BEGIN failed--compilation aborted at t/compilers/tge/parser.t line 92.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay

350c356
< Failed Test Stat Wstat Total Fail Failed List of Failed
---

Failed Test Stat Wstat Total Fail Failed List of Failed

352,353c358,360
< t/examples/library.t 1 256 4 1 25.00% 3
< t/library/pcre.t 1 256 1 1 100.00% 1
---

t/compilers/tge/parser.t 255 65280 1 2 200.00% 1
t/examples/library.t 1 256 4 1 25.00% 3
t/library/pcre.t 1 256 1 1 100.00% 1

355c362
< Failed 2/246 test scripts, 99.19% okay. 2/6710 subtests failed, 99.97%
okay.
---

Failed 3/246 test scripts, 98.78% okay. 3/6709 subtests failed, 99.96%

okay.

It revealed some problems in the patch, but nothing that can't be fixed.

Just my 2cents,


Mono, Bundles, and Ahead-Of-Time Compilation

2006-08-18 Thread chromatic
Miguel de Icaza recently posted some thoughts about improving startup time and 
memory usage of multiple Mono applications.  What ideas can we steal and 
improve?

http://tirania.org/blog/archive/2006/Aug-17.html

-- c


[perl #40200] t/pmc/threads.t test 16 fails under JIT (parrot -j)

2006-08-18 Thread via RT
# New Ticket Created by  Chip Salzenberg 
# Please include the string:  [perl #40200]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=40200 >


After the STM merge, all of t/pmc/threads.t succeeds (woggle++).
But one of the tests fails under JIT.  I'm hoping that somebody
will recognize the reason quickly, else I'll have to dive in...
-- 
Chip Salzenberg <[EMAIL PROTECTED]>