[Ecls-list] Re: Build failure on OS X 10.4.5 x86

Brad Beveridge brad.beveridge at gmail.com
Fri Mar 31 07:57:02 UTC 2006

Well it turns out that most of my problems were me having GNU ar in my
path before Apple's ar - groan.
I've now managed to get another strange error.
in build/c/ffi_x86.c:78 (which comes from src/c/arch/ffi_x86.d:77),
gcc complains "operands given don't match any known 386 instruction",
it appears to be the "rep" part of the "rep movsb" instruction.

Commenting this out lets me get ecl_min working, which breaks with the

;;; Note: Invoking external command:
;;; ranlib liblsp.a

> ;;; Note: Invoking external command:
;;; gcc -o "/Users/brad/development/c/packages/ecls/build/libecl.dylib"
-L"/Users/brad/development/c/packages/ecls/build" "c/main.o"
"c/all_symbols2.o" "liblsp.a" "libeclmin.a"
"-Wl,-install_name,/opt/local/lib/ecl/libecl.dylib"  -dynamiclib
-flat_namespace -undefined suppress   -leclgmp -leclgc    -lm

ld: /Users/brad/development/c/packages/ecls/build/libeclgmp.a(add_n.o)
has local relocation entries in non-writable section (__TEXT,__text)
/usr/bin/libtool: internal link edit command failed
LAMBDA: Too many arguments to function CONTINUE.
Top level.
cd doc; make
make[2]: Nothing to be done for `all'.

So I am getting further, maybe even almost working.  Any suggestions
about why the "rep movsb" is causing breakage?
Any ideas about why ecl_min is breaking for the final part of the compile?


More information about the ecl-devel mailing list