This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Successful build of gcc3.0 on alphaev56-dec-osf5.1
- To: gcc at gcc dot gnu dot org
- Subject: Re: Successful build of gcc3.0 on alphaev56-dec-osf5.1
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Sun, 24 Jun 2001 12:09:05 -0400 (EDT)
- cc: grote at gsf dot de
On Sat, 23 Jun 2001, Albert Chin-A-Young wrote:
> as0: Error: ../../../libffi/src/alpha/ffi.c, line 6: undefined
> assembler operation: imb
Hrmm... Compaq's as must not understand the "imb" mnemonic, which is
really shorthand for a PAL call. Below is an untested patch.
I don't think libgcj has been tested on Tru64 recently. :(
--- ffi.c.orig Fri Mar 2 17:21:22 2001
+++ ffi.c Sun Jun 24 12:00:38 2001
@@ -167,7 +167,7 @@
closure->user_data = user_data;
/* Flush the Icache. */
- asm volatile ("imb" : : : "memory");
+ asm volatile ("call_pal 134" : : : "memory"); /* PAL_imb */
return FFI_OK;
}