This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Successful build of gcc3.0 on alphaev56-dec-osf5.1




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;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]