
HI Paul, On Friday, 16. November 2012 17:26:46 Paul A. Bristow wrote:
So I'm doing something wrong here.
So, I've done a new install of clang and gcc from rubenvb personal builds and can reproduce your problems with my fresh install. This can be "workaround" by using using clang : 3.1 : e:/dev/apps/mingw64/bin/clang++ : # options <cxxflags>-Ie:/dev/apps/mingw64/include/c++/4.7.2 <cxxflags>-Ie:/dev/apps/mingw64/include/c++/4.7.2/x86_64-w64- mingw32 ; that means explicitly specifying the include paths. It seems that <include> seems to be broken whereas <define> works in user-config.jam. Will investigate this later. Unfortunately, linking then fails with lots and lots of missing symbols from the standard library. Conclusion: Either the build is broken or (most posssible) I have messed up the installation. I found my old installation on our (not yet removed) windows compile server and there everything works out of the box. clang-linux.link bin\foo.test\clang-linux-3.1\debug\link-static\foo.exe testing.capture-output bin\foo.test\clang-linux-3.1\debug\link-static\foo.run ====== BEGIN OUTPUT ====== Running 1 test case... foo.cpp(7): error: in "foo": check false failed *** 1 failure detected in test suite "foo" Setup: E:\Home\hunold\src\test\graph>clang++ -v clang version 3.1 (trunk 146147) Target: i686-w64-mingw32 Thread model: posix E:\Home\hunold\src\test\graph>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=e:/home/hunold/mingw32/bin/../libexec/gcc/i686-w64- mingw32/4.6.3/lto-wrapper.exe Target: i686-w64-mingw32 Configured with: /home/ruben/mingw-w64/toolchain/src/gcc/configure --host=i686- w64-mingw32 --build=x86_64-linux-gnu --target=i686- w64-mingw32 --with-sysroot=/home/ruben/mingw- w64/toolchain/mingw32mingw32/mingw32 --prefix=/home/ruben/mingw- w64/toolchain/mingw32 mingw32/mingw32 --with-libiconv-prefix=/home/ruben/mingw- w64/toolchain/mingw32mingw32/prereq_install --with-gmp=/home/ruben/mingw- w64/toolchain/mingw32mingw32/prereq_install --with-mpfr=/home/ruben/mingw- w64/toolchain/mingw32mingw32/prereq_install --with-mpc=/ home/ruben/mingw-w64/toolchain/mingw32mingw32/prereq_install --with- ppl=/home/ruben/mingw-w64/toolchain/mingw32mingw32/prereq_inst all --with-cloog=/home/ruben/mingw-w64/toolchain/mingw32mingw32/prereq_install --enable-cloog-backend=isl --with-host-libstdcxx='- lstdc++ -lm -lgcc_eh' --enable-shared --enable-static --enable-threads=posix --disable-multilib --enable-languages=c,lto,c++,fortr an,objc,obj-c++,java --enable-libgomp --enable-sjlj-exceptions --enable-fully- dynamic-string --disable-nls --disable-werror --enab le-checking=release --disable-win32-registry --disable-rpath --disable-werror CFLAGS='-O2 -mtune=core2 -fomit-frame-pointer -momit -leaf-frame-pointer -fgraphite-identity -floop-interchange -floop-block -floop- parallelize-all' LDFLAGS= Thread model: posix gcc version 4.6.3 20111208 (prerelease) (GCC) I think both older versions from Ruben, too. I set up those machine at least half a year ago, so I don't remember details. I'll do a new setup and report again. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! * voice: ++49 4257 300 ! Fährstraße 1 * fax : ++49 4257 300 ! 31609 Balge/Sebbenhausen * jhunold@gmx.eu ! Germany