[gambit-list] Error from "make check" under MinGW build
Marc Feeley
feeley at iro.umontreal.ca
Thu Jan 26 12:07:54 EST 2012
Argggg... Autoconf is causing problems. It seems this isn't acceptable in configure.ac:
case "$target_os" in
darwin*) AC_PROG_CC(i686-apple-darwin11-gcc-4.2.1 i686-apple-darwin10-gcc-4.2.1 clang gcc)
;;
*) AC_PROG_CC
;;
esac
When target_os is not darwin the second branch of the case is not executed, so the C compiler doesn't get configured.
Anyone know how to do this properly? I want the search list for C compilers to be different from the default on Mac OS X to avoid clang and LLVM gcc which misbehave when compiling Gambit (clang takes over an hour to compile Gambit, and LLVM gcc 4.2.1 has a code generation bug for label values).
Marc
On 2012-01-26, at 11:19 AM, Bradley Lucier wrote:
> Marc:
>
> After this latest update, when I
>
> 125 11:09 tar zxf gambc-v4_6_3-devel.tgz
> 126 11:09 cd gambc-v4_6_3-devel/
> 129 11:10 ./configure CC='gcc -march=native -fschedule-insns -frename-registers' --enable-single-host --enable-shared --enable-multiple-versions
> 130 11:11 make -j 4
> 131 11:13 make doc
> 133 11:14 git pull http://www.iro.umontreal.ca/~gambit/repo/gambit.git
> 134 11:14 make
>
>
> I get lots of messages like this in the re-configure:
>
> checking stropts.h presence... yes
> configure: WARNING: stropts.h: present but cannot be compiled
> configure: WARNING: stropts.h: check for missing prerequisite headers?
> configure: WARNING: stropts.h: see the Autoconf documentation
> configure: WARNING: stropts.h: section "Present But Cannot Be Compiled"
> configure: WARNING: stropts.h: proceeding with the preprocessor's result
> configure: WARNING: stropts.h: in the future, the compiler will take precedence
> configure: WARNING: ## -------------------------------------- ##
> configure: WARNING: ## Report this to
> gambit at iro.umontreal.ca
> ##
> configure: WARNING: ## -------------------------------------- ##
> checking for stropts.h... yes
>
>
> Do you know what's happening?
>
> heine:~/programs/gambc-v4_6_3-devel> uname -a
> Linux heine 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> heine:~/programs/gambc-v4_6_3-devel> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
>
>
More information about the Gambit-list
mailing list