[pg-cvs] Problem compiling osicat-posix with quicklisp on x86_64 with 32-bit lispworks

Peter Denno podenno at gmail.com
Sat Nov 26 22:49:56 UTC 2011


Hi,

I ran into a problem compiling osicat-posix under the environment described
in the subject line. What I get:

[package osicat-posix]; /usr/bin/cc -m32
-I/home/pdenno/quicklisp/dists/quicklisp/software/cffi_0.10.6/ -fPIC -o
/home/pdenno/.cache/common-lisp/lw-6.0.1-linux-x86/home/pdenno/quicklisp/dists/quicklisp/software/osicat-20110619-git/posix/basic-unixint
/home/pdenno/.cache/common-lisp/lw-6.0.1-linux-x86/home/pdenno/quicklisp/dists/quicklisp/software/osicat-20110619-git/posix/basic-unixint.c

External process exited with code 1.
Command was: "/usr/bin/cc" "-m32"
"-I/home/pdenno/quicklisp/dists/quicklisp/software/..." "-fPIC" "-o"
"/home/pdenno/.cache/common-lisp/lw-6.0.1-linux-x86..."
"/home/pdenno/.cache/common-lisp/lw-6.0.1-linux-x86..."
Output was:
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/libgcc.a when
searching for -lgcc
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
cannot find -lgcc
collect2: ld returned 1 exit status

I thought the -m32 a bit suspicious. Perhaps this is a cffi problem? I get
CL-USER>  cffi-grovel::*cpu-word-size-flags*
("-m32")

... which seems odd.

Osicat, and everything else compiles fine on sbcl.

Best regards,
  Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/osicat-devel/attachments/20111126/e6ffd972/attachment.html>


More information about the osicat-devel mailing list