[M3devel] PPC_LINUX breaks
Jay
jayk123 at hotmail.com
Fri Jan 4 22:26:08 CET 2008
[redundant]
ok, I commited fixes for what I have seen so far.
There was no delete, though probably changes -- sigset changes from int to 1024 bits for example, or somesuch.
I'm sure you all see the commits.
Given that PPC_LINUX still uses usermode threads, could have "that" problem, we'll see..
Gotta go for a while now.
- Jay
From: jayk123 at hotmail.com
To: hosking at cs.purdue.edu; stsp at elego.de
CC: m3devel at elegosoft.com
Subject: RE: [M3devel] PPC_LINUX breaks
Date: Fri, 4 Jan 2008 20:45:06 +0000
I'm confused here on what got deleted. I keep seeing it present. I swear I saw the diff though.. :(
Browing CVS is such a pain.
- Jay
From: jayk123 at hotmail.com
To: hosking at cs.purdue.edu; stsp at elego.de
Date: Fri, 4 Jan 2008 19:58:45 +0000
CC: m3devel at elegosoft.com
Subject: Re: [M3devel] PPC_LINUX breaks
I figured out a bunch here.
a) the diffs I showed.
b) "nip" is "next instruction pointer"; that's what you want in the SegV function.
And the last parameter should be void_star instead of int.
You can use like pt_regs.nip for the old definition or uc_regs.gprregs[PT_NIP] for the new definition.
I have diffs here.
c) Usignal.i3 had the stuff vtalarm stuff removed, which PPC_LINUX still uses, "POSIX threads" vs. "PThreads" (oh the names..), though perhaps broken by setjmp/longjmp "scrambling".
Is it possible to break up an interface into
linux-common/foo.i3
linux-ppc/foo.i3
I think not.
Shall we just go ahead and translate LINUX_PPC pthread.h into Modula-3? (Btw, doesn't anyone find all this header rewriting sleazy? Or they have to maintain compat anyway so no problem?)
The error messages are poor.
Let's say I.T does not exist.
VAR x : I.T; (* no error *)
x.foo = bar; (* "unknown qualification" *)
FROM I IMPORT T; (* "T not exported" -- better, but should say T does not exist
I was fumbling around with needing a module to say "EXPORTS" or to capitalize
the Interface directive in m3makefile, neither of which seemed right
*)
- Jay
> From: hosking at cs.purdue.edu
> Date: Fri, 4 Jan 2008 09:43:31 -0500
> To: stsp at elego.de
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] PPC_LINUX breaks
>
> Has anyone built PPC_LINUX? I've never tried.
>
> On Jan 4, 2008, at 9:15 AM, Stefan Sperling wrote:
>
> > On Thu, Jan 03, 2008 at 10:09:22PM +0000, Jay wrote:
> >>
> >> I can't build PPC_LINUX.
> >
> > It's been broken at least since the 5.4 release was made.
> >
> > Back then I failed to build it, and we decided to drop
> > it from the 5.4 release. It needs fixing.
> >
> > --
> > Stefan Sperling <stsp at elego.de> Software Developer
> > elego Software Solutions GmbH HRB 77719
> > Gustav-Meyer-Allee 25, Gebaeude 12 Tel: +49 30 23 45 86 96
> > 13355 Berlin Fax: +49 30 23 45 86 95
> > http://www.elego.de Geschaeftsfuehrer: Olaf Wagner
>
Share life as it happens with the new Windows Live. Start sharing!
Share life as it happens with the new Windows Live. Start sharing!
_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080104/fd8f16da/attachment-0002.html>
More information about the M3devel
mailing list