-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 31/01/12 05:00, Samuel Thibault wrote:
> Could you check in the config.log that the test for buildability of > cpuid.h includes your -mcmodel option and (would be surprising) doesn't > fail? I can replicate that failure, and I can confirm that cpuid seems to pass the configure test (assuming I'm looking in the right place): configure:11701: checking for cpuid configure:11727: gcc -o conftest -mcmodel=medium -I/tmp/hwloc-1.4/include -mcmodel=medium conftest.c >&5 configure:11727: $? = 0 configure:11728: result: yes Diffing config.log between a plain ./configure and one with CFLAGS and LDFLAGS set doesn't appear to show any real differences. This is on 64-bit Ubuntu 11.04. samuel@eris:/tmp/hwloc-1.4$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --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.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) cheers, Chris - -- Christopher Samuel - Senior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545 http://www.vlsci.unimelb.edu.au/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8nKd8ACgkQO2KABBYQAh/K6ACcDv1EHPyZ1dRPmP1LhM7oexRx tzQAnRAeksg+BS0BHHRV6Rmw1XjJE19W =bo+c -----END PGP SIGNATURE-----