[perl #48677] [BUG] r23917 led to 'make' failure

2007-12-19 Thread James Keenan via RT
The immediate issue is resolved, so I'm resolving the ticket. Larger issues about gcc should be dealt with in a new, separate ticket.

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-18 Thread Nicholas Clark
On Mon, Dec 17, 2007 at 05:33:51PM -0500, Jeff Horwitz wrote: On Mon, 17 Dec 2007, chromatic wrote: Okay, so memcpy doesn't fix it. That's good to know. How about explicitly putting the destination PMC in a named variable so there's less pointer shuffling and macro madness? memmove

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-18 Thread Jonathan Worthington
Nicholas Clark wrote: Do the structures actually overlap, or is this necessary band aid for a subtly broken compiler? I think the compiler is to blame. It only happens when compiling the code in the computed goto core. I *suspect* the compiler backs out of a lot of analysis and transforms

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-18 Thread ajr
Nicholas Clark wrote: Do the structures actually overlap, or is this necessary band aid for a subtly broken compiler? Jonathan Worthington replied: I think the compiler is to blame. Are we hurling abuse at^H^H^H^H^H^H^H^H informing the GNU folks about the apparent problem? :-)* BTW, I

[perl #48677] [BUG] r23917 led to 'make' failure

2007-12-17 Thread James Keenan via RT
On Sat Dec 15 15:11:53 2007, [EMAIL PROTECTED] wrote: This afternoon I began to get failures in 'make'. Via IRC, pmichaud, jonathan and I tracked the break point down to r23917. Given that I originally reported this failure as occurring on a fairly standard Debian installation (the only

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-17 Thread chromatic
On Saturday 15 December 2007 15:11:54 James Keenan wrote: This afternoon I began to get failures in 'make'. Via IRC, pmichaud, jonathan and I tracked the break point down to r23917. At r23917, when I configure with 'perl Configure.pl' -- and no options -- I get the breakage described in

[perl #48677] [BUG] r23917 led to 'make' failure

2007-12-17 Thread James Keenan via RT
No, at least not on Ubuntu. (Will have to check later on other OSes.) Here's the last part of the 'make' output: src/string.c src/ops/core_ops.c src/ops/debug.ops: In function ‘Parrot_debug_break’: src/ops/debug.ops:103: warning: null argument where non-null required (argument 2)

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-17 Thread chromatic
On Monday 17 December 2007 12:52:05 James Keenan via RT wrote: No, at least not on Ubuntu. (Will have to check later on other OSes.) Okay, so memcpy doesn't fix it. That's good to know. How about explicitly putting the destination PMC in a named variable so there's less pointer shuffling

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-17 Thread Jonathan Worthington
Jeff Horwitz wrote: unfortunately, chromatic's memcpy patch still generated the compiler error, perhaps because gcc is optimizing it back to the original code it was replacing. using memmove fixes this issue. it performs the copy, but it's not optimized in the same way because it deals with

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-17 Thread Jeff Horwitz
On Mon, 17 Dec 2007, chromatic wrote: Okay, so memcpy doesn't fix it. That's good to know. How about explicitly putting the destination PMC in a named variable so there's less pointer shuffling and macro madness? memmove fixes it. i submitted a patch, but for some reason it hasn't made it

[perl #48677] [BUG] r23917 led to 'make' failure

2007-12-17 Thread James Keenan via RT
On Mon Dec 17 14:44:55 2007, jhorwitz wrote: t/op/copy.t passes with this patch. can others try it out? Jeff's patch enabled me to build successfully on both Darwin and Linux (the Debian box). I ran 'make test' on the Linux and all non-TODO tests passed. So I have applied it to trunk in

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-16 Thread Allison Randal
Jonathan Worthington wrote: I suspect re-writing it to do a memcpy would solve the problem...anyway, sleep calls... See the thread from earlier this year: http://groups.google.com/group/perl.perl6.internals/browse_frm/thread/f50d1057d4855b7f/93fdb2d7e24e35f5 Allison

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-16 Thread Jonathan Worthington
Allison Randal wrote: Jonathan Worthington wrote: I suspect re-writing it to do a memcpy would solve the problem...anyway, sleep calls... See the thread from earlier this year: http://groups.google.com/group/perl.perl6.internals/browse_frm/thread/f50d1057d4855b7f/93fdb2d7e24e35f5 Having

Re: [perl #48677] [BUG] r23917 led to 'make' failure

2007-12-15 Thread Jonathan Worthington
Hi, Basically, it appears to me that the failure happens with some versions of GCC when you're doing (once you look through the macros): *d = *s; Where d and s are PMCs. I can only conclude that the compiler is generating all the reads, then all the writes, which of course requires