Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2003 22:52:25 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        knu@freebsd.org
Subject:   Re: No ruby versions available on ia64
Message-ID:  <20031127065225.GB12853@dhcp01.pn.xcllnt.net>
In-Reply-To: <20031127044433.GA60298@xor.obsecurity.org>
References:  <20031127044433.GA60298@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Nov 26, 2003 at 08:44:33PM -0800, Kris Kennaway wrote:
> FYI, no versions of ruby are buildable on ia64; they're both marked
> IGNORE for ia64.  This means portupgrade (a disc1 package) is
> unavailable.

The following patches fix ruby18 on ia64. Minimal runtime testing
has been performed by way of how the ruby build uses a mini ruby
interpreter.

Note that we currently don't have a way for a process to get the
base address for the RSE backing store. I hardcoded the values.

FYI,

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-eval.c"

--- eval.c.orig	Wed Nov 26 22:41:47 2003
+++ eval.c	Wed Nov 26 22:40:38 2003
@@ -7788,8 +7788,7 @@
 
 #ifdef __ia64__
 #include <ucontext.h>
-#pragma weak __libc_ia64_register_backing_store_base
-extern unsigned long __libc_ia64_register_backing_store_base;
+#define __libc_ia64_register_backing_store_base (4ULL<<61)
 #endif
 
 /* Windows SEH refers data on the stack. */

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-gc.c"

--- gc.c.orig	Wed Nov 26 22:42:01 2003
+++ gc.c	Wed Nov 26 22:40:43 2003
@@ -32,8 +32,7 @@
 
 #ifdef __ia64__
 #include <ucontext.h>
-#pragma weak __libc_ia64_register_backing_store_base
-extern unsigned long __libc_ia64_register_backing_store_base;
+#define __libc_ia64_register_backing_store_base (4ULL<<61)
 #endif
 
 void re_free_registers _((struct re_registers*));

--G4iJoqBmSsgzjUCe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031127065225.GB12853>