[Ecls-list] assembler error with ffi_x86_64 on AMD Sempron ?

Frederik Cheeseman fcheesem at vub.ac.be
Mon Jun 4 11:28:02 UTC 2007


In a new CVS checkout with GCC 4.2.0 (?), see :
...
-rwxr-xr-x  1 root  bin     426041 Jun  1 16:40 ecpp
-r-xr-xr-x  3 root  bin     420278 Jun  1 16:40 i386-unknown-openbsd4.1-gcc-4.2.0
-r-xr-xr-x  3 root  bin     420278 Jun  1 16:40 i386-unknown-openbsd4.1-egcc
-r-xr-xr-x  3 root  bin     420278 Jun  1 16:40 egcc
...
$ dmesg
...
cpu0: Mobile AMD Sempron(tm) Processor 3500+ ("AuthenticAMD" 686-class, 512KB L2
 cache) 1.80 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16
...
$ uname -p 
Mobile AMD Sempron(tm) Processor 3500+ ("AuthenticAMD" 686-class, 512KB L2 cache)
$ arch -k 
OpenBSD.i386
$ echo $SHELL
/bin/ksh
$
(same problem with bash)
$ CC=egcc ./configure --prefix=/usr/local
...
$ gmake 
...
egcc -c -I. -I/home/frederik/openbsd-ports/ecl/ecl/build -I/home/frederik/openbsd-ports/ecl/ecl/src/c -I../ecl/gc  -g -O2 -fPIC  -fstrict-aliasing -Dopenbsd  -o ffi_x86_64.o ffi_x86_64.c
/tmp//ccbF4451.s: Assembler messages:
/tmp//ccbF4451.s:432: Error: suffix or operands invalid for `mov'
/tmp//ccbF4451.s:433: Error: suffix or operands invalid for `sub'
/tmp//ccbF4451.s:434: Error: suffix or operands invalid for `mov'
/tmp//ccbF4451.s:445: Error: `(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:446: Error: `0x08(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:447: Error: `0x10(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:448: Error: `0x18(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:449: Error: `0x20(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:450: Error: `0x28(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:456: Error: `(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:457: Error: `0x08(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:458: Error: `0x10(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:459: Error: `0x18(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:460: Error: `0x20(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:461: Error: `0x28(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:462: Error: `0x30(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:463: Error: `0x38(%rax)' is not a valid 32 bit base/index expression
/tmp//ccbF4451.s:502: Error: suffix or operands invalid for `mov'
gmake[2]: *** [ffi_x86_64.o] Error 1
rm array.c symbol.c num_rand.c num_sfun.c ffi.c cmpaux.c backq.c list.c num_arith.c load.c string.c stacks.c hash.c main.c num_log.c unixint.c instance.c compiler.c character.c gfun.c structure.c sequence.c unixfsys.c unixsys.c reference.c time.c print.c format.c typespec.c num_co.c num_pred.c multival.c macros.c alloc_2.c read.c error.c num_comp.c number.c pathname.c file.c cfun.c predicate.c assignment.c disassembler.c interpreter.c mapfun.c package.c eval.c
gmake[2]: Leaving directory `/home/frederik/openbsd-ports/ecl/ecl/build/c'
gmake[1]: *** [libeclmin.a] Error 2
gmake[1]: Leaving directory `/home/frederik/openbsd-ports/ecl/ecl/build'
gmake: *** [all] Error 2
$
-- 




More information about the ecl-devel mailing list