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 Sun, Jun 24, 2001 at 12:09:05PM -0400, Jeff Sturm wrote:
> 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;
>  }

Thanks. That got me further. The build now dies with:

/opt/build/gcc-3.0/objdir/gcc/xgcc -B/opt/build/gcc-3.0/objdir/gcc/
-B/opt/TWWfsw/gcc30/alpha-dec-osf4.0d/bin/
-B/opt/TWWfsw/gcc30/alpha-dec-osf4.0d/lib/ -isystem
/opt/TWWfsw/gcc30/alpha-dec-osf4.0d/include -DHAVE_CONFIG_H -I.
-I../../../libffi -I. -I../../../libffi/include -Iinclude
-I../../../libffi/src -fexceptions -g -mieee -c
../../../libffi/src/alpha/osf.S   -DPIC -o src/alpha/.libs/osf.o
as0: Error: ../../../libffi/src/alpha/osf.S, line 254: undefined
assembler operation: .section
     .section .rodata
gmake[4]: *** [src/alpha/osf.lo] Error 1
gmake[4]: Leaving directory `/opt/build/gcc-3.0/objdir/alpha-dec-osf4.0d/libffi'

-- 
albert chin (china@thewrittenword.com)


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