Repository navigation
Description
% uname -a
Linux timbuntu 3.8.0-22-generic #33-Ubuntu SMP Thu May 16 15:17:59 UTC 2013 i686 i686 i686 GNU/Linux
% gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.7/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --enable-targets=all --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
% ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in /home/tim/tmp/watchman': configure: error: cannot run C compiled programs. If you meant to cross compile, use--host'.
See `config.log' for more details
Here's config.log:
configure:3320: checking whether we are cross compiling
configure:3328: gcc -o conftest -m64 -D_REENTRANT conftest.c >&5
configure:3332: $? = 0
configure:3339: ./conftest
./configure: line 3341: ./conftest: cannot execute binary file
configure:3343: $? = 126
configure:3350: error: in /home/tim/tmp/watchman': configure:3352: error: cannot run C compiled programs. If you meant to cross compile, use--host'.
See `config.log' for more details
If I modify configure to not use -m64, configure succeeds. But then make fails. I'll put that in another issue.
Activity
wez commentedon May 30, 2013
I think this is because we're assuming that everyone has a 64-bit system these days.
wez commentedon May 30, 2013
Try
./configure --enable-lenientto relax the compiler warnings in the meantimewez commentedon May 31, 2013
This should help:
a63bc86
tests/integration/modified.php
watchman: avoid recursive case during age out
avoid a deadlock in the idle watch reaper
don't leak client states hash
avoid leaking thread names at thread exit
ChildProcess: when waitpid fails, mark ChildProcess as having been wa…
change logging in exit handlers to not avoid locking
distinguish notify wait termination