[cfe-users] Clang hangs when compiling Gecode on Windows

Mailing List Email mailinglistx at gmail.com
Mon May 13 09:06:07 PDT 2013

Hi all,

I'm trying to compile gecode with clang on windows, but it hangs when
trying to compile gist. I see no actual I/O activity, but it keeps eating
up one core. Leaving it alone seems to not work either. It doesn't complete.

I compiled clang myself, using this script:

svn up .
svn up tools/clang
cd build_mingw
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release ..
mingw32-make -j 4
copy bin\*.* C:\test\mingw32-dw2-4.6.3\bin /y

I compile gecode using:

cd build_clang
set build=%CD:\=/%
set C=-DCMAKE_C_COMPILER=clang.exe
set CXX=-DCMAKE_CXX_COMPILER=clang++.exe
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_FLAGS="-std=c++11 -w -isystem%build%
%C% %CXX% ..
set C=
set CXX=
mingw32-make -j 4

But it hangs when compiling gist (around ~94% finished).
Any ideas? Is this a bug in clang? It compiles fine with gcc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130513/48b80b70/attachment.html>

More information about the cfe-users mailing list