Asking for trouble

abbott abbott at dima.unige.it
Mon Mar 10 16:03:10 CET 2008


Hi,

I report a silly (and unimportant) bug, but I though you should know about it.

The cause appears to be trying to build GMP (version 4.2.2) in a
subdirectory of a directory whose name contains a space (probably other
special chars cause trouble too).  In my test case there was a directory
called "silly name" just above the GMP root.

The symptoms are:
 *  a warning among the first lines printed out by "./configure" (but this
    quickly scrolls out of sight)
 *  the build seems to complete OK
 *  make check fails after a while; the last few lines printed are these
-----------------------------------------------------------------------------
ranlib .libs/libtests.a
creating libtests.la
(cd .libs && rm -f libtests.la && ln -s ../libtests.la libtests.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL -mcpu=7450 -c t-bswap.c
/bin/sh ../libtool --mode=link gcc  -O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL -mcpu=7450   -o t-bswap  t-bswap.o libtests.la ../libgmp.la 
libtool: link: cannot find the library `name/gmp-4.2.2/libgmp.la' or unhandled argument `name/gmp-4.2.2/libgmp.la'
make[4]: *** [t-bswap] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
-----------------------------------------------------------------------------

PLATFORM INFORMATION
--------------------
$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5247.obj~4/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5247)


$ uname -a
Darwin abbottpb.dima.unige.it 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc


$ ./config.guess
powerpc7450-apple-darwin8.11.0


More information about the gmp-bugs mailing list