Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41110] [PATCH] tru64: compile (src/nci.c) and runtime (src/memory.c)

6 views
Skip to first unread message

Jarkko Hietaniemi

unread,
Dec 18, 2006, 9:25:25 PM12/18/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #41110]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41110 >


-------- Original Message --------
Subject: [PATCH] tru64: compile (src/nci.c) and runtime (src/memory.c)
Date: Sun, 03 Dec 2006 16:54:03 -0500
From: Jarkko Hietaniemi <j...@iki.fi>
Reply-To: j...@iki.fi
To: Perl6 Internals List <perl6-i...@perl.org>

Two patches, the first is needed for parrot trunk to compile at all
in Tru64, the second one is needed to dodge dozens of core dumps.
There still are some, will take a closer look when I have more time,
but least this way there is less wading in core dumps.

In more detail:

The first one is required because otherwise the strange 0xc4 in the
string constant makes the tru64 compiler quite unhappy. (I haven't
looked in detail but I think that without extra flags the tru64 compiler
allows only pure ASCII in string constants).

The second one: in tru64 malloc/calloc/realloc of zero bytes returns
a NULL ptr (quite logical, in a way: you couldn't put anything in a
memory block of zero bytes...). I guess one could be fancier and
add a probe for this feature in Configure.pl, but I was feeling lazy.


nativecall.pl.pat
memory.c.pat

jnthn@jnthn.net via RT

unread,
Dec 20, 2006, 5:11:45 PM12/20/06
to perl6-i...@perl.org
On Mon Dec 18 18:25:24 2006, jhi wrote:
> Two patches, the first is needed for parrot trunk to compile at all
> in Tru64, the second one is needed to dodge dozens of core dumps.
> There still are some, will take a closer look when I have more time,
> but least this way there is less wading in core dumps.
>
Both applied in r16208.

Thanks!

Jonathan

0 new messages