gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] OpenBSD progress


From: Camm Maguire
Subject: Re: [Gcl-devel] OpenBSD progress
Date: 23 Apr 2004 23:47:54 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

Magnus Henoch <address@hidden> writes:

> I've gotten GCL to compile on OpenBSD.
> 

Great!

> * W^X, "write xor exec", seems to cause problems with unexec.  The
>   Emacs people haven't solved them, but just disabled it, so I did the
>   same.
> 

How?

>   With W^X on OpenBSD/i386, code starts at 0x1c000000, and data starts
>   at 0x3c000000, since (as I gather from skimming OpenBSD
>   documentation) the only way to make parts of memory non-executable
>   on i386 is to draw a line in the middle of it, dividing into
>   executable and non-executable memory.
> 
>   The -Z flag needs to be added to all ld calls, including the one in
>   configure where it tries to find the value of DBEGIN.  It is not
>   immediately obvious to me how to do that - I would imagine that
>   setting LDFLAGS would do it, but LDFLAGS is not mentioned at all in
>   configure.in.
> 

We can also explicitly add in configure.  Is there a relevant test, or
is the best just to add when building on openbsd?

> * Process limits are not saved with unexec, so the getrlimit stuff in
>   alloc.c needs to be in main as well.

OK

> 
> There are still some changes in my tree which I haven't verified that
> they're really needed.  I'll sort that out in the next few days.
> 

Perhaps when I get back on wed. I can take a look at your patche and
merge if not too difficult for 2.6.2, providing the windows problems
are still outstanding by this date.

Would be nice to know if you can run the ansi-test suite, the
random-tester, maxima, acl2 and axiom, as time permits of course.

Take care, and thanks again,

> Regards,
> Magnus
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]