[cffi-devel] Purpose of libtest32.so in test suite?
![](https://secure.gravatar.com/avatar/e116be369e48b01a81c5e04706bf70fe.jpg?s=120&d=mm&r=g)
Hello, I have been running the cffi's test suite on my oldish pentium 4 for a while now and all is fine with it; but now I decided to port my software to an amd64 Athlon X2 and the test suite of cffi blows up trying to build libtest32.so. Here is what it prints out: ------------------------------------------ ; loading system definition from ; /home/Jean-Claude/.libs/systems/trivial-features.asd into ; #<ASDF1 package> ; registering #<SYSTEM TRIVIAL-FEATURES 34643616> as TRIVIAL-FEATURES gcc -m32 -o libtest32.so -shared -Wall -std=c99 -pedantic -g -fPIC libtest.c In file included from /usr/include/features.h:376, from /usr/include/stdio.h:28, from libtest.c:34: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory make: *** [libtest32.so] Error 1 Debugger called in: #<process SI:INITIAL 00000000010b4d20>. erred while invoking #<ASDF:COMPILE-OP (:VERBOSE NIL) 34714464> on #<CFFI-TESTS-SYSTEM::C-TEST-LIB "libtest" "cffi-tests" 34716192> --------------------------------------------------------------------- This is under Fedora 11 by the way. What purpose does libtest32.so serve if there is a libtest.so? Can I simply cut out all this "32" library thing? Thanks, Jean-Claude Beaudoin
![](https://secure.gravatar.com/avatar/326b108ffcc42f27628703b0c11ed239.jpg?s=120&d=mm&r=g)
On Thu, Oct 1, 2009 at 11:28 AM, Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com> wrote:
What purpose does libtest32.so serve if there is a libtest.so? Can I simply cut out all this "32" library thing?
You can install Fedora's 32-bit cross-compilation packages or you can indeed disable libtest32.so altogether. libtest32.so is used to test 32-bit Lisps on 64-bit systems. E.g., CMUCL does not have a 64-bit port. We could probably detect this situation (32-bit Lisp running on a 64-bit system) and only compile libtest32.so then. -- Luís Oliveira http://r42.eu/~luis/
participants (2)
-
Jean-Claude Beaudoin
-
Luís Oliveira