[Ecls-list] OpenSolaris issue : Error: suffix or operands invalid for `mov'

David Kirkby david.kirkby at onetel.net
Sat Jun 19 07:59:08 UTC 2010


On 19 June 2010 08:32, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> On Sat, Jun 19, 2010 at 12:22 AM, Dr. David Kirkby <david.kirkby at onetel.net>
> wrote:
>>
>> I should have added, the option
>> --without-dffi
>> was already added to ECL - without it, ECL would not build.
>
> Of course, because of the error message you showed before, which was due to
> not using --without-dffi.
>
>>
>> However, although the option allowed ECL to build, Maxima failed to build
>> very quickly. The error message generated by Maxima looks quite similar to
>> that which ECL generates if that option is not given.
>
> I think you are quite confused with this. If you do not use --without-dffi,
> then you get the previous messages which are due to problems with the inline
> assembly
>
> /var/tmp//cclaaOtH.s: Assembler messages:
> /var/tmp//cclaaOtH.s:49: Error: suffix or operands invalid for `mov'
> /var/tmp//cclaaOtH.s:51: Error: suffix or operands invalid for `mov'
> /var/tmp//cclaaOtH.s:140: Error: suffix or operands invalid for `mov'
>
> This is not at all what you showed in the ticket. In the ticket you used
> --without-dffi and thus the DFFI was not linked in and ECL built, but then
> Maxim afailed to link
>
> ld.so.1: ecl: fatal: relocation error: R_AMD64_PC32: file
> /export/home/drkirkby/sage-4.4.2/local/lib//libecl.so: symbol main: value
> 0x22800097de04 does not fit


Sorry. You are correct. I've seen both sorts of messages before
building Sage, and confused the two situations.

> The only thing I can think of is that Maxima is being compiled with some
> other flags that are not the same used to build ECL. For instance if some
> object model option (-fPIC?) disappears when compiling files vs. when
> building ECL. That should not happen, but I can not see it from your ticket.
>
> Juanjo

It does not look to me like Maxima is being compiled - at least not in
the sense of using a compiler like gcc.

Here is the full error message

maxima-5.20.1.p0/src/src/comm.lisp
maxima-5.20.1.p0/src/AUTHORS
Finished extraction
****************************************************
Host system
uname -a:
SunOS hawk 5.11 snv_134 i86pc i386 i86pc
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: /export/home/drkirkby/gcc-4.4.4/configure
--prefix=/usr/local/gcc-4.4.4-multilib
--enable-languages=c,c++,fortran
--with-gmp=/usr/local/gcc-4.4.4-multilib
--with-mpfr=/usr/local/gcc-4.4.4-multilib --disable-nls
--enable-checking=release --enable-werror=no --enable-multilib
--with-system-zlib --enable-bootstrap --with-gnu-as
--with-as=/usr/local/binutils-2.20/bin/as --without-gnu-ld
--with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 4.4.4 (GCC)
****************************************************
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for emacs... no
checking for xemacs... no
checking where .elc files should go... ${datadir}/emacs/site-lisp
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for ecl... true
checking for iconv... true
checking for recode... false
checking POSIX shell to see that it contains getopts... trying /bin/sh
POSIX shell is /bin/sh
checking for egrep... egrep
configure: creating ./config.status
config.status: creating maxima-local
config.status: creating xmaxima-local
config.status: creating Makefile
config.status: creating maxima.spec
config.status: creating maxima.iss
config.status: creating src/Makefile
config.status: creating src/maxima
config.status: creating src/maxima.bat
config.status: creating src/rmaxima
config.status: creating src/autoconf-variables.lisp
config.status: creating lisp-utils/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating doc/emaxima/Makefile
config.status: creating doc/info/Makefile
config.status: creating doc/info/include-maxima.texi
config.status: creating doc/info/es/Makefile
config.status: creating doc/info/es.utf8/Makefile
config.status: creating doc/info/pt/Makefile
config.status: creating doc/info/pt.utf8/Makefile
config.status: creating doc/info/pt_BR/Makefile
config.status: creating doc/info/pt_BR.utf8/Makefile
config.status: creating doc/intromax/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/maxima.1
config.status: creating doc/man/ru/maxima.1
config.status: creating doc/share/Makefile
config.status: creating interfaces/Makefile
config.status: creating interfaces/emacs/Makefile
config.status: creating interfaces/emacs/emaxima/Makefile
config.status: creating interfaces/emacs/imaxima/Makefile
config.status: creating interfaces/emacs/misc/Makefile
config.status: creating interfaces/xmaxima/Makefile
config.status: creating interfaces/xmaxima/autoconf-variables.tcl
config.status: creating interfaces/xmaxima/Tkmaxima/Header.tcl
config.status: creating interfaces/xmaxima/doc/Makefile
config.status: creating interfaces/xmaxima/doc/figures/Makefile
config.status: creating interfaces/xmaxima/msgs/Makefile
config.status: creating interfaces/xmaxima/win32/Makefile
config.status: creating plotting/mgnuplot
config.status: creating share/Makefile
config.status: creating demo/Makefile
config.status: creating plotting/Makefile
config.status: creating locale/Makefile

Summary:
ECL enabled. Executable name: "ecl"
default lisp: ecl
wish executable name: "wish"
Making all in src
make[1]: Entering directory
`/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/maxima-5.20.1.p0/src/src'
test -d binary-ecl || mkdir binary-ecl
ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (funcall
(intern (symbol-name :operate-on-system) :mk) "maxima" :compile
:verbose t) (build-maxima-lib))' -eval '(ext:quit)'
ld.so.1: ecl: fatal: relocation error: R_AMD64_PC32: file
/export/home/drkirkby/sage-4.4.4.alpha1/local/lib//libecl.so: symbol
main: value 0x228000808674 does not fit
make[1]: *** [binary-ecl/maxima] Killed
make[1]: Leaving directory
`/export/home/drkirkby/sage-4.4.4.alpha1/spkg/build/maxima-5.20.1.p0/src/src'
make: *** [all-recursive] Error 1
***********************************************************
Failed to make Maxima.
***********************************************************

real    0m1.979s
user    0m0.462s
sys     0m0.793s
sage: An error occurred while installing maxima-5.20.1.p0
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /export/home/drkirkby/sage-4.4.4.alpha1/install.log.  Describe your
computer, operating system, etc.

Dave




More information about the ecl-devel mailing list