[perl #52346] [TODO] avoid deprecated functions in config/gen/platform/darwin/dl.c

2009-05-02 Thread James Keenan via RT
On Fri May 01 13:16:13 2009, coke wrote: > > What I meant was, I'll apply this in a few days (sometime this weekend) > UNLESS I hear back from other darwin developers with complaints. I tried the suggested deletion. It caused no problems for me on Darwin/PPC. So +1 on the change. kid51

[perl #58680] [PATCH] new PLATFORM Linux S/390

2008-09-08 Thread NotFound via RT
Applied in r30907, thanks.

[perl #58680] [PATCH] new PLATFORM Linux S/390

2008-09-08 Thread Paco Linux
# 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 te

[svn:parrot-pdd] r29952 - in trunk: . compilers/bcg/src/pmc compilers/imcc compilers/pct/src/PAST compilers/pge/PGE config/gen/crypto config/gen/makefiles config/gen/platform/ansi config/gen/platform/

2008-08-02 Thread allison
trunk/compilers/pge/PGE/Exp.pir trunk/compilers/pge/PGE/OPTable.pir trunk/compilers/pge/PGE/P5Regex.pir trunk/compilers/pge/PGE/Perl6Regex.pir trunk/config/gen/crypto/digest_pmc.in trunk/config/gen/makefiles/root.in trunk/config/gen/platform/ansi/exec.c trunk/config/gen

[perl #55806] [config] Generate Platform-Independent Includeable Makefile

2008-06-14 Thread via RT
# New Ticket Created by chromatic # Please include the string: [perl #55806] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55806 > How about we generate a makefile that is full of all the macros we need RM_F, PERL, CP, et

Re: [perl #52346] [TODO] avoid deprecated functions in config/gen/platform/darwin/dl.c

2008-04-01 Thread Will Coleda
On Tue, Apr 1, 2008 at 6:48 AM, James Keenan via RT <[EMAIL PROTECTED]> wrote: > On Mon Mar 31 17:58:06 2008, [EMAIL PROTECTED] wrote: > > config/gen/platform/darwin/dl.c uses deprecated functions whose better > > performing replacements (dlopen and friends) were added in OS

[perl #52346] [TODO] avoid deprecated functions in config/gen/platform/darwin/dl.c

2008-04-01 Thread James Keenan via RT
On Mon Mar 31 17:58:06 2008, [EMAIL PROTECTED] wrote: > config/gen/platform/darwin/dl.c uses deprecated functions whose better > performing replacements (dlopen and friends) were added in OS X 10.3. > Is it possible that these deprecations were only made in OS X 10.5? It appears that

[perl #52346] [TODO] avoid deprecated functions in config/gen/platform/darwin/dl.c

2008-04-01 Thread James Keenan via RT
On Mon Mar 31 17:58:06 2008, [EMAIL PROTECTED] wrote: > config/gen/platform/darwin/dl.c uses deprecated functions whose better > performing replacements (dlopen and friends) were added in OS X 10.3. > I don't get this result on OS X 10.4. Examining my 'make' logs over th

[perl #52346] config/gen/platform/darwin/dl.c uses deprecated functions

2008-04-01 Thread Seneca Cunningham
# New Ticket Created by "Seneca Cunningham" # Please include the string: [perl #52346] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=52346 > config/gen/platform/darwin/dl.c uses deprecated functions

[perl #50768] [PATCH] Update Win32 platform documentation.

2008-02-13 Thread Andrew Whitworth
# New Ticket Created by "Andrew Whitworth" # Please include the string: [perl #50768] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50768 > I've updated some of the documenation and comments in config/pl

Re: Platform testing for concurrency scheduler runloop

2007-12-12 Thread Allison Randal
Andy Armstrong wrote: I uncommented the Parrot_cx calls and ran the tests twice - once with CX_DEBUG = 1, once with CX_DEBUG = 0. It got through them all both times :) Excellent! Thanks, Allison

Re: Platform testing for concurrency scheduler runloop

2007-12-12 Thread Andy Armstrong
On 12 Dec 2007, at 19:53, Allison Randal wrote: So, I'm interested to see what your 10.5 box does. I uncommented the Parrot_cx calls and ran the tests twice - once with CX_DEBUG = 1, once with CX_DEBUG = 0. It got through them all both times :) -- Andy Armstrong, Hexten

Re: Platform testing for concurrency scheduler runloop

2007-12-12 Thread Allison Randal
Andy Armstrong wrote: Again, let me know if you need more. Could you give it another go with the latest revision? (You'll need to uncomment the 'Parrot_cx...' lines in src/inter_create.c again, as I commented them out in trunk while working on the hangs.) I've eliminated the hangs on my du

Re: Platform testing for concurrency scheduler runloop

2007-12-11 Thread Allison Randal
Andy Armstrong wrote: Again, let me know if you need more. I pushed it far enough that I was able to repeat the deadlock hang on OS 10.4.11, that's good. The interesting thing was the order of operations. The usual order is: call to Parrot_cx_init_scheduler initializing scheduler runloop s

Re: Platform testing for concurrency scheduler runloop

2007-12-09 Thread Andy Armstrong
On 9 Dec 2007, at 21:02, Allison Randal wrote: Andy Armstrong wrote: And Instruments is telling me this: http://hexten.net/junk/parrot1.png Nice level of detail in this tool. Almost worth the cost of 10.5 all on its own. It seems rather lovely. Bear in mind that I didn't even launch it u

Re: Platform testing for concurrency scheduler runloop

2007-12-09 Thread Allison Randal
Andy Armstrong wrote: And Instruments is telling me this: http://hexten.net/junk/parrot1.png Nice level of detail in this tool. Almost worth the cost of 10.5 all on its own. It seems to hang much more readily with CX_DEBUG enabled - including once during make rather than make test. Good

Re: Platform testing for concurrency scheduler runloop

2007-12-09 Thread Paul Cochrane
On 07/12/2007, Allison Randal <[EMAIL PROTECTED]> wrote: > Andy Dougherty wrote: > > > > Whether this is a defect in the vtables_4 test sourcefile for failing to > > initialize the vtables, or whether pmc_new ought to be more defensive, I > > can't say. > > Looks like a bug in the test, as there ar

Re: Platform testing for concurrency scheduler runloop

2007-12-08 Thread Andy Armstrong
On 8 Dec 2007, at 20:22, Allison Randal wrote: Could you edit src/scheduler.c and change the value of CX_DEBUG to 1, recompile, and run the test suite? Most of the tests will fail because of the additional output on stderr, but if you can catch a hang, we'll have a little more detail on what

Re: Platform testing for concurrency scheduler runloop

2007-12-08 Thread Allison Randal
Andy Armstrong wrote: On 8 Dec 2007, at 14:18, Andy Armstrong wrote: Please let me know if there's anything you'd like me to investigate. I'm afraid I don't know my way around parrot, er, at all - but I'm willing to learn. Ah, Mac OS 10.5 has dtrace - which I hadn't tried before but turns ou

Re: Platform testing for concurrency scheduler runloop

2007-12-08 Thread Andy Armstrong
On 8 Dec 2007, at 14:18, Andy Armstrong wrote: Please let me know if there's anything you'd like me to investigate. I'm afraid I don't know my way around parrot, er, at all - but I'm willing to learn. Ah, Mac OS 10.5 has dtrace - which I hadn't tried before but turns out to be rather cool

Re: Platform testing for concurrency scheduler runloop

2007-12-08 Thread Andy Armstrong
On 8 Dec 2007, at 13:42, Allison Randal wrote: Are you sure you've got the very latest version of all files on this box ('make realclean', etc)? Yup. I've just done make realclean && make && make test again and this time it hung at t/pmc/parrotlibrary1/1 (time

Re: Platform testing for concurrency scheduler runloop

2007-12-08 Thread Allison Randal
Andy Armstrong wrote: But on Mac OS 10.5 I get random hangs. First at t/op/01-parse_ops..287/335 for about ten minutes until I interrupted it and then t/op/string_cs.1/50 for another ten or so minutes. Are you sure you've got the

Re: Platform testing for concurrency scheduler runloop

2007-12-08 Thread Allison Randal
chromatic wrote: On Ubuntu 7.10: t/src/vtables..1/4 # Failed test (t/src/vtables.t at line 142) # Exited with error code: [SIGNAL 139] [...] This didn't go away on a realclean. I even moved ending the runloop to before the full DOD when destroying an interpreter, but to no effect.

Re: Platform testing for concurrency scheduler runloop

2007-12-08 Thread Andy Armstrong
On 7 Dec 2007, at 16:32, chromatic wrote: On Friday 07 December 2007 05:23:39 Allison Randal wrote: I'm about to turn on the concurrency scheduler runloop in Parrot trunk. Before I do, I'd like test results on as many platforms as possible (especially Windows, since it doesn't use POSIX threa

Re: Platform testing for concurrency scheduler runloop

2007-12-07 Thread chromatic
On Friday 07 December 2007 05:23:39 Allison Randal wrote: > I'm about to turn on the concurrency scheduler runloop in Parrot trunk. > Before I do, I'd like test results on as many platforms as possible > (especially Windows, since it doesn't use POSIX threads). > > To test it, edit src/inter_create

Re: Platform testing for concurrency scheduler runloop

2007-12-07 Thread Allison Randal
Andy Dougherty wrote: Whether this is a defect in the vtables_4 test sourcefile for failing to initialize the vtables, or whether pmc_new ought to be more defensive, I can't say. Looks like a bug in the test, as there are other things in Parrot_exit that won't behave appropriately without an

Re: Platform testing for concurrency scheduler runloop

2007-12-07 Thread Andy Dougherty
On Fri, 7 Dec 2007, Allison Randal wrote: > I'm about to turn on the concurrency scheduler runloop in Parrot trunk. Before > I do, I'd like test results on as many platforms as possible (especially > Windows, since it doesn't use POSIX threads). > > To test it, edit src/inter_create.c and uncomme

Re: Platform testing for concurrency scheduler runloop

2007-12-07 Thread Patrick R. Michaud
On Fri, Dec 07, 2007 at 08:45:03PM +0200, Allison Randal wrote: > jerry gay wrote: > >> > >looks good to me. commit away! > >nice work. > > I've got a clean report on our core platform targets, so committed in > r23574. As usual, please report any issu

Re: Platform testing for concurrency scheduler runloop

2007-12-07 Thread Allison Randal
jerry gay wrote: looks good to me. commit away! nice work. I've got a clean report on our core platform targets, so committed in r23574. As usual, please report any issues. Thanks! Allison

Re: Platform testing for concurrency scheduler runloop

2007-12-07 Thread jerry gay
On Dec 7, 2007 5:23 AM, Allison Randal <[EMAIL PROTECTED]> wrote: > I'm about to turn on the concurrency scheduler runloop in Parrot trunk. > Before I do, I'd like test results on as many platforms as possible > (especially Windows, since it doesn't use POSIX threads). > > To test it, edit src/inte

Platform testing for concurrency scheduler runloop

2007-12-07 Thread Allison Randal
I'm about to turn on the concurrency scheduler runloop in Parrot trunk. Before I do, I'd like test results on as many platforms as possible (especially Windows, since it doesn't use POSIX threads). To test it, edit src/inter_create.c and uncomment the two lines that start with 'Parrot_cx...".

[perl #45437] [BUG]: platform-specific utility 'sed' appears in makefile

2007-09-14 Thread Paul Cochrane via RT
On Thu Sep 13 22:39:32 2007, [EMAIL PROTECTED] wrote: > > On Sep 13, 2007, at 8:21 PM, Jerry Gay (via RT) wrote: > > > # New Ticket Created by Jerry Gay > > # Please include the string: [perl #45437] > > # in the subject line of all future correspondence about this issue. > > # http://rt.perl.o

Re: [perl #45437] [BUG]: platform-specific utility 'sed' appears in makefile

2007-09-13 Thread Joshua Isom
On Sep 13, 2007, at 8:21 PM, Jerry Gay (via RT) wrote: # New Ticket Created by Jerry Gay # Please include the string: [perl #45437] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=45437 > in r21240, ptc added a 'cover' tar

[perl #45437] [BUG]: platform-specific utility 'sed' appears in makefile

2007-09-13 Thread via RT
# New Ticket Created by Jerry Gay # Please include the string: [perl #45437] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=45437 > in r21240, ptc added a 'cover' target to the makefile, along with 'cover-clean', which was

Who works on which platform?

2007-07-14 Thread Andy Lester
Can y'all please go update this page and talk about what platforms you're using? I can never keep track of who's doing what. http://www.perlfoundation.org/parrot/index.cgi?platforms -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: [svn:parrot] r18369 - in trunk: config/gen/platform/cygwin config/gen/platform/generic config/gen/platform/netbsd config/gen/platform/openbsd config/gen/platform/solaris src src/jit/ppc src/jit/su

2007-05-06 Thread Paul Cochrane
On 01/05/07, Nicholas Clark <[EMAIL PROTECTED]> wrote: Given that that file starts: /* This is a version (aka dlmalloc) of malloc/free/realloc written by Doug Lea and released to the public domain. Use, modify, and redistribute this code without permission or acknowledgment in any way y

Re: [svn:parrot] r18369 - in trunk: config/gen/platform/cygwin config/gen/platform/generic config/gen/platform/netbsd config/gen/platform/openbsd config/gen/platform/solaris src src/jit/ppc src/jit/su

2007-05-01 Thread Steve Peters
On Tue, May 01, 2007 at 10:52:19PM +0100, Nicholas Clark wrote: > > Date: Tue May 1 06:29:35 2007 > > New Revision: 18369 > > > > Modified: > > >trunk/src/malloc.c > > > Modified: trunk/src/malloc.c > > == > > [316

Re: [svn:parrot] r18369 - in trunk: config/gen/platform/cygwin config/gen/platform/generic config/gen/platform/netbsd config/gen/platform/openbsd config/gen/platform/solaris src src/jit/ppc src/jit/su

2007-05-01 Thread Nicholas Clark
> Date: Tue May 1 06:29:35 2007 > New Revision: 18369 > > Modified: >trunk/src/malloc.c > Modified: trunk/src/malloc.c > == [3168 lines of diff] Given that that file starts: /* This is a version (aka dlmalloc)

Re: [perl #38887] Result of INFINITY or NAN stringification is platform dependent

2007-04-15 Thread Nicholas Clark
On Sun, Jul 16, 2006 at 12:49:27PM +0100, Ron Blaschke wrote: > On Win32 the implementation is simple because the IEEE recommended > functions _finite and _isnan are supported. I'm thinking about adding a > test for these functions and use them. But what should happen if they > are not there? n

[perl #40480] [PATCH] C-code coda not output multiple times in platform.[ch]

2006-10-09 Thread Paul Cochrane
coda to the generated file +print PLATFORM_H <<"END_HERE"; + +$coda +END_HERE + close PLATFORM_H; # implementation files are merged into platform.c @@ -162,13 +184,20 @@ if (-e "config/gen/platform/$platform/begin.c") { local $/ = undef; open I

Re: [perl #38887] Result of INFINITY or NAN stringification is platform dependent

2006-08-19 Thread Nicholas Clark
On Wed, Jul 26, 2006 at 01:21:11PM -0700, Bill Coffman wrote: > That being said, you can optimize by looking at the bits. Wikipedia > explains IEEE-754 http://en.wikipedia.org/wiki/IEEE_754 > First, you have to be aware if the machine is big or little-endian, second, Beware. It's legal for the e

Re: [perl #38887] Result of INFINITY or NAN stringification is platform dependent

2006-07-27 Thread Ron Blaschke
Bill Coffman wrote: > There is no platform independent way to produce "NaN" or "Inf", so IMHO, > you > did it the only way it can be done. > > That being said, you can optimize by looking at the bits. Wikipedia > explains IEEE-754 http://en.wikipedia.o

Re: [perl #38887] Result of INFINITY or NAN stringification is platform dependent

2006-07-26 Thread Bill Coffman
On 7/26/06, Ron Blaschke <[EMAIL PROTECTED]> wrote: I'm looking into this issue and would like to ask for some advice. I have added the following platform dependent functions. int Parrot_math_isnan(double) int Parrot_math_finite(double) On Win32 the implementation is simple becau

[perl #38887] Result of INFINITY or NAN stringification is platform dependent

2006-07-26 Thread Ron Blaschke
I'm looking into this issue and would like to ask for some advice. I have added the following platform dependent functions. int Parrot_math_isnan(double) int Parrot_math_finite(double) On Win32 the implementation is simple because the IEEE recommended functions _finite and _isnan are supp

[perl #38887] Result of INFINITY or NAN stringification is platform dependent

2006-07-16 Thread Ron Blaschke
I'm looking into this issue and would like to ask for some advice. I have added the following platform dependent functions. int Parrot_math_isnan(double) int Parrot_math_finite(double) On Win32 the implementation is simple because the IEEE recommended functions _finite and _isnan are supp

Re: Parrot Platform API

2006-06-26 Thread Nicholas Clark
On Mon, Jun 26, 2006 at 12:08:52PM -0500, Vishal Soni wrote: > Hi Chip, > Let me know what your thoughts are. I would not mind writing up a draft PDD > or doing some proof of concept work. Chip's currently at YAPC::NA, and he's not yet presented his talk, so I'm guessing it might be a little whil

Parrot Platform API

2006-06-26 Thread Vishal Soni
Hi Chip, I have been looking at the Parrot code for last couple of weeks. While going through the code there were a few things that striked me. There are quite a few places where #ifdef constructs were used to define platform specific code (#ifdef WIN32). I was thinking would it make sense to

[perl #38887] Result of INFINITY or NAN stringification is platform dependent

2006-04-09 Thread via RT
# New Ticket Created by Ron Blaschke # Please include the string: [perl #38887] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38887 > .sub main # produce INFINITY (is there a constant for that?) set N0, 0.0 ln

[perl #38467] Parrot::Test cross platform nit

2006-02-08 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #38467] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38467 > Right now the Parrot::Test module is explicitly doing a check for a / dev/null and chan

Re: [perl #37434] [PATCH] number formatting (was: ARM Parrot benchmarks / Parrot on ARM platform)

2005-10-21 Thread François PERRAD
At 04:58 14/10/2005 -0700, you wrote: # New Ticket Created by Leopold Toetsch # Please include the string: [perl #37434] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37434 > Simon Vogl wrote: [ ... ] Here are some rele

Re: [perl #37434] [PATCH] number formatting (was: ARM Parrot benchmarks / Parrot on ARM platform)

2005-10-21 Thread François PERRAD
At 04:58 14/10/2005 -0700, you wrote: # New Ticket Created by Leopold Toetsch # Please include the string: [perl #37434] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37434 > Simon Vogl wrote: [ ... ] Here are some rele

[perl #37434] [PATCH] number formatting (was: ARM Parrot benchmarks / Parrot on ARM platform)

2005-10-14 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #37434] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37434 > Simon Vogl wrote: [ ... ] Here are some relevant snippets auf Parrot on ARM (see a

Re: [perl #31928] [PATCH] fix warning in config/gen/platform/darwin/dl.c

2004-10-12 Thread Leopold Toetsch
Jeff Clites <[EMAIL PROTECTED]> wrote: > This patch makes scan_paths() copy the passed-in string, Thanks, applied, as well as #31927 leo

[perl #31928] [PATCH] fix warning in config/gen/platform/darwin/dl.c

2004-10-11 Thread via RT
it and ultimately this (seemingly) would chew up a couple of environment variables; this also gets rid of a compiler warning about casting away the constness of libpath, which we shouldn't have been doing (since in fact it was being modified). JEff Index: config/gen/platform/dar

Re: [perl #31419] PATCH: Fix for solaris platform asctime_r argument number mismatch

2004-09-01 Thread Dan Sugalski
At 8:37 AM -0700 9/1/04, [EMAIL PROTECTED] (via RT) wrote: On Solaris 8, asctime_r takes 3 parameters instead of 2. The prototype looks like this: char *asctime_r(const struct tm *tm, char *buf, int buflen); This patch adds a time.c file to the solaris platform directory. The only change in this

[perl #31419] PATCH: Fix for solaris platform asctime_r argument number mismatch

2004-09-01 Thread via RT
oks like this: char *asctime_r(const struct tm *tm, char *buf, int buflen); This patch adds a time.c file to the solaris platform directory. The only change in this time.c file and the stock generic/time.c is that the call to asctime_r passes 26 as the buflen. The Solaris man page for asctime_r s

[perl #31119] [PATCH] portability tweak for config/gen/platform/generic/math.c

2004-08-14 Thread via RT
Sat Aug 14 14:34:05 2004 +++ config/gen/config_h/config_h.in Sat Aug 14 14:34:27 2004 @@ -71,6 +71,7 @@ #define INT_SIZE ${intsize} #define LONG_SIZE ${longsize} #define HUGEINTVAL_SIZE ${hugeintvalsize} +#define DOUBLE_SIZE ${doublesize} /* We don't have a portable config for 64-

Re: ICU data loading and platform support

2004-04-15 Thread George R
improvement without some porting help (please contact me if you want to help out). If the new building process can't be done on a platform, it uses the original slow building process (this only happens when we don't have access to the compiler or platform for testing). Item 2 c

Re: ICU data loading and platform support

2004-04-15 Thread Jeff Clites
On Apr 15, 2004, at 11:12 AM, George R wrote: I couldn't help but notice that you were talking about ICU on this mailing list. Let me interject with some suggestions. Thanks much for the message. I should mention that ICU 2.6 can build a static data library. I recommend that ICU be built with

ICU data loading and platform support

2004-04-15 Thread George R
Hello Perl6 people, I couldn't help but notice that you were talking about ICU on this mailing list. Let me interject with some suggestions. I should mention that ICU 2.6 can build a static data library. I recommend that ICU be built without the --with-data-packaging=archive configure option

Re: [perl #28087] [PATCH] wrong type for "status" in platform/win32/exec.c

2004-03-30 Thread Dan Sugalski
At 7:13 AM -0800 3/30/04, mrnobo1024 (via RT) wrote: The second arg of GetExitCodeProcess should be a pointer to DWORD, not int, this was causing a warning on mingw: src/platform.c: In function `Parrot_Run_OS_Command': src/platform.c:446: warning: passing arg 2 of `GetExitCodeProcess' from incompat

[perl #28087] [PATCH] wrong type for "status" in platform/win32/exec.c

2004-03-30 Thread via RT
on time. http://taxes.yahoo.com/filing.html--- config/gen/platform/win32/exec.c~ Wed Mar 3 16:06:08 2004 +++ config/gen/platform/win32/exec.cSat Mar 27 10:29:10 2004 @@ -4,7 +4,7 @@ */ INTVAL Parrot_Run_OS_Command(Parrot_Interp interpreter, STRING *command) { -int status = 0; +DWO

[PATCH] wrong type for "status" in platform/win32/exec.c

2004-03-27 Thread Goplat
inter type __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html--- config/gen/platform/win32/exec.c~ Wed Mar 3 16:06:08 2004 +++ config/gen/platform/win32/exec.cSat Mar 27 10:29:10 2004 @@ -4,7 +4,7 @@ */ INTVAL Parrot_Run_

Re: cvs commit: parrot/config/gen/platform/generic math.h

2004-03-19 Thread Brent 'Dax' Royal-Gordon
Leopold Toetsch wrote: Courtesy of Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]> Er...that wasn't me--I was just passing it along, as I said in the message. (If it was me, I'd likely have committed it myself. ;^) ) Credit goes to Matt Fowles <[EMAIL PROTECTED]>. (Leo, I tried to send this to you

Re: PLATFORM

2004-02-29 Thread chromatic
On Sat, 2004-02-28 at 03:43, Leopold Toetsch wrote: > CGoto core: make testg testC Both of these worked on Linux PPC with gcc-3.2.3 I did see an intermittent hang, this time on the second test of t/src/intlist.t. killall -HUP intlist_2 made the test continue, though it failed. > JIT:m

Re: PLATFORM

2004-02-29 Thread Kenneth A Graves
On Sat, 2004-02-28 at 06:43, Leopold Toetsch wrote: > Kenneth A Graves <[EMAIL PROTECTED]> wrote: > > On Fri, 2004-02-27 at 16:08, Kenneth A Graves wrote: > >> > >> How do I verify which runloops/features are working? > > CGoto core: make testg testC Both give: All tests successful, 1 test and 61

Re: PLATFORM

2004-02-28 Thread Leopold Toetsch
Kenneth A Graves <[EMAIL PROTECTED]> wrote: > On Fri, 2004-02-27 at 16:08, Kenneth A Graves wrote: >> >> How do I verify which runloops/features are working? CGoto core: make testg testC JIT:make testj > I added " or $^O eq 'freebsd'" to t/pmc/{threads,timer}.t and those > tests run succe

Re: PLATFORM

2004-02-27 Thread Kenneth A Graves
On Fri, 2004-02-27 at 16:08, Kenneth A Graves wrote: > I think this gives a PLATFORMS line of: > freebsd5.2-i386 YYY ? ? Y Y > > How do I verify which runloops/features are working? I added " or $^O eq 'freebsd'" to t/pmc/{threads,timer}.t and those tests run

PLATFORM

2004-02-27 Thread Kenneth A Graves
.0.13 configuration: configdate='Fri Feb 27 15:49:20 2004' Platform: osname=freebsd, archname=i386-freebsd jitcapable=1, jitarchname=i386-freebsd, jitosname=FREEBSD, jitcpuarch=i386 execcapable=1 perl=perl Compiler: cc='cc', ccflags='-DAPPLLIB_EXP=&quo

Re: [perl #27042] [PATCH] C:/parrot/config/gen/platform/win32/exec.c (Parrot_Run_OS_Command)

2004-02-24 Thread Goplat
--- via RT <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > # New Ticket Created by [EMAIL PROTECTED] > # Please include the string: [perl #27042] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org:80/rt3/Ticket/Display.html?id=27042 > > > ATTACHMENT

Re: [perl #27042] [PATCH] C:/parrot/config/gen/platform/win32/exec.c (Parrot_Run_OS_Command)

2004-02-24 Thread Leopold Toetsch
Nigelsandever @ Btconnect . Com <[EMAIL PROTECTED]> wrote: > This patch implements Parrot_Run_OS_Command() for Win32. Thanks, applied. > Whilst I'm posting this, I will mention the following build error > platform.c Should be fixed now. leo

[perl #27042] [PATCH] C:/parrot/config/gen/platform/win32/exec.c (Parrot_Run_OS_Command)

2004-02-24 Thread via RT
U1077: 'c:\Perl\bin\perl.exe' : return code '0x2' I bypassed this by commenting out the following code section in src/platform.c (207) as a temporary measure. /* ** config/gen/platform/generic/signal.c: */ /* * Signal handling stuff */ #ifdef PARROT_

Re: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-23 Thread Jonathan Worthington
- Original Message - From: "Leopold Toetsch" <[EMAIL PROTECTED]> To: "Jonathan Worthington" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, February 21, 2004 11:51 AM Subject: Re: [PATCH] Re: [perl #25239] Platform-specific files not gr

Re: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-21 Thread Leopold Toetsch
Jonathan Worthington <[EMAIL PROTECTED]> wrote: > I've attached a patch which causes stuff in begin.c to be put before the > #include "parrot/parrot.h" line, which fixes up this problem. I don't know > if it's the right thing to do, but it's the best one I could think of. Applied. > Please crea

Re: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-20 Thread Adam Thomason
> -Original Message- > From: Jonathan Worthington [mailto:[EMAIL PROTECTED] > Sent: Friday, February 20, 2004 4:47 PM > To: [EMAIL PROTECTED] > Subject: Re: [PATCH] Re: [perl #25239] Platform-specific files not > granular enough > > [snip] > > Creating an

Re: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-20 Thread Jonathan Worthington
- Original Message - From: "Leopold Toetsch" <[EMAIL PROTECTED]> To: "Jonathan Worthington" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 7:06 PM Subject: Re: [PATCH] Re: [perl #25239] Platform-specific files not gr

Re: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-19 Thread Leopold Toetsch
Jonathan Worthington <[EMAIL PROTECTED]> wrote: > src\exceptions.c > exceptions.c > c:\documents and settings\jonathan\desktop\pow\parrot\src\exceptions.c(125) > : error C2065: 'SIGQUIT' : undeclared identifier Seems that dumpcore is used from generic/signal.h You could try to create an empty wi

Re: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-19 Thread Jonathan Worthington
- Original Message - From: "Dan Sugalski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 3:10 PM Subject: [PATCH] Re: [perl #25239] Platform-specific files not granular enough > At 8:01 PM + 2/18

[PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-19 Thread Dan Sugalski
At 8:01 PM + 2/18/04, Adam Thomason via RT wrote: Attached patch is tested on Linux, AIX, and OpenBSD. It does twiddle the order of includes and declarations, so there might still be problems. Testing very much requested, most especially on Darwin and Win32. I've applied this locally and i

Re: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-19 Thread Leopold Toetsch
Adam Thomason <[EMAIL PROTECTED]> wrote: [ big patch ] Thanks, applied. leo

RE: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-19 Thread Adam Thomason
> -Original Message- > From: Leopold Toetsch [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 1:00 AM > To: Adam Thomason > Cc: [EMAIL PROTECTED] > Subject: Re: [PATCH] Re: [perl #25239] Platform-specific > files not granular enough > > BTW wha

Re: [PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-19 Thread Leopold Toetsch
Adam Thomason wrote: Hopefully in time to make the feature freeze, here's an effort at solving this problem. Looks really good. I've applied it here (with little tweaks in Configure/Step.pm) and it works fine. Testing very much requested, most especially on Darwin and Win32. Yeah. Anyway, I'll

[PATCH] Re: [perl #25239] Platform-specific files not granular enough

2004-02-18 Thread Adam Thomason
Hopefully in time to make the feature freeze, here's an effort at solving this problem. I went through the platform .c and .h files and broke out the redundant bits into the following "modules", which were already delimited by comments in generic.*: dl: dynamic

Re: [perl #25239] Platform-specific files not granular enough

2004-01-23 Thread Adam Thomason
While we're about it, there's a need for platform specific .s files as well, since some compilers like xlc don't support inlined asm. There's a ia64.s already in cvs, but I don't see by what magic it actually gets built (if it even is). Configure should likely have

[perl #25239] Platform-specific files not granular enough

2004-01-23 Thread via RT
# New Ticket Created by Dan Sugalski # Please include the string: [perl #25239] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=25239 > We've got per-platform .c and .h files that get loaded in by configure.pl,

Re: cvs commit: parrot/config/gen/platform ansi.c darwin.c generic.c openbsd.c platform_interface.h win32.c

2004-01-03 Thread Leopold Toetsch
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > I'll check in a test if malloced memory is executable RSN. The check is in. On fedora, the Configure line of JIT should have (has_exec_protect yes) If that's ok, some define in a header should be set. We currently seem to be missing a general solu

Re: cvs commit: parrot/config/gen/platform ansi.c darwin.c generic.c openbsd.c platform_interface.h win32.c

2004-01-03 Thread Leopold Toetsch
Peter Gibbs <[EMAIL PROTECTED]> wrote: > Log: > Prevent attempts to reallocate mmap'd executable memory until somebody > works out how to do it. For linux/fedora, I'd go with this scheme: - mem_alloc_executable uses valloc() that is memalign(getpagesize(), size) with size rounded up t

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-09-13 Thread Leopold Toetsch
Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2003 at 08:40:44PM -0400, Benjamin Goldberg wrote: >> When there are no events queued, for any thread, then we change "branch >> e_handler_foo" back into "branch label_foo", for speed. > Do we need to do this last bit explicitly? Or can

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-09-12 Thread Mark A. Biggar
Nicholas Clark wrote: On Thu, Jul 17, 2003 at 08:40:44PM -0400, Benjamin Goldberg wrote: Actually, I'm thinking of something like the following... suppose the original code is like: label_foo: loop body branch_address: branch label_foo Add in the following: e_handler_foo: .local Perl

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-09-12 Thread Nicholas Clark
On Thu, Jul 17, 2003 at 08:40:44PM -0400, Benjamin Goldberg wrote: > Actually, I'm thinking of something like the following... suppose the > original code is like: > >label_foo: >loop body >branch_address: >branch label_foo > > Add in the following: > >e_handler_foo: >.l

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-18 Thread Leopold Toetsch
Benjamin Goldberg <[EMAIL PROTECTED]> wrote: > Not "the next instruction" ... the next *branch* instruction. And only > replace those branch instructions which could be loops. Works. Many thanks for the input. I have now running this: 1) Initialization: - normal core: build op_func_table wi

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-17 Thread Benjamin Goldberg
Sean O'Rourke wrote: > > On Thu, 17 Jul 2003, Leopold Toetsch wrote: > > PC = ((op_func_t*) (*PC)) (PC, INTERP); // prederef functions > > > > To be able to switch function tables, this then should become: > > > > PC = ((op_func_t*) (func_table + *PC)) (PC, INTERP); > > > > Thus prederefernc

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-17 Thread Leopold Toetsch
Sean O'Rourke wrote: On Thu, 17 Jul 2003, Leopold Toetsch wrote: Replacing the next instruction with a branch to the signal handler (like adding a breakpoint) out of the question? I don't know, how to get the address of the next instruction i.e. the "PC" above. Thinking more of this: There is no

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-17 Thread Sean O'Rourke
this way would either mean: > - fill the bytecode segment with the handler opcode function or Yuck. > - locate the PC on the stack or in registers (like %esi in CGP) > The former seems rather expensive (at least if we heavily use events), > the latter seems to be possible only per plat

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-17 Thread Leopold Toetsch
least if we heavily use events), the latter seems to be possible only per platform/compiler(-revision). ...Of course, if we're sharing bytecode this is expensive, since you'd have to do something like this: The prederefed code can't be shared betwean threads: Registers are

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-17 Thread Sean O'Rourke
On Thu, 17 Jul 2003, Leopold Toetsch wrote: > PC = ((op_func_t*) (*PC)) (PC, INTERP); // prederef functions > > To be able to switch function tables, this then should become: > > PC = ((op_func_t*) (func_table + *PC)) (PC, INTERP); > > Thus predereferncing the function pointer would place an of

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-17 Thread Leopold Toetsch
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > ... Switching the whole op_func_table() or > ops_addr[] (for CG cores) is simpler, If have it running now for the slow and the computed goto core. The signal handler (interrupt code) switches the op_func_table (ops_addr) and returns. Then the next execu

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-15 Thread Jason Gloudon
On Tue, Jul 15, 2003 at 10:15:57AM +0200, Leopold Toetsch wrote: How is the described scheme supposed to work with JIT generated code ? -- Jason

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-15 Thread Leopold Toetsch
Gregor N. Purdy <[EMAIL PROTECTED]> wrote: > #define DO_OP(PC,INTERP) \ > (PC = ((INTERP->op_func_table)[*PC])(PC,INTERP)) > The easiest way to intercept this flow with minimal cost is to > have the mechanism that wants to take over replace the interpreter's > op_func_table with a block of po

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-13 Thread Leopold Toetsch
Gregor N. Purdy <[EMAIL PROTECTED]> wrote: > Benjamin -- > #define DO_OP(PC,INTERP) \ > (PC = ((INTERP->op_func_table)[*PC])(PC,INTERP)) > The easiest way to intercept this flow with minimal cost is to > have the mechanism that wants to take over replace the interpreter's > op_func_table with

  1   2   >