<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
See my attached CMakeCache.txt file to see what's being configured.<br>
<br>
I recommend you install Clang 3.5 from Ubuntu and all its packages.
Just cut out using gcc4.9 all together.<br>
<br>
Seeing as how Debian and Ubuntu share most of it when you build your
configuration:<br>
<br>
build-clang$ <b>cmake -DCMAKE_C_COMPILER=/usr/bin/clang
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ ../llvm</b>.<br>
<br>
This also assumes you have the following checked out:<br>
<br>
llvm<br>
<br>
<b>clang</b> underneath llvm/tools/clang<br>
<b>clang-extra</b> underneath llvm/tools/clang/tools/extra<br>
<b>lldb</b> underneath llvm/tools/lldb<br>
<b>test-suite</b> underneath llvm/projects/tests-suite<br>
<b>libcxxabi</b> underneath llvm/projects/libcxxabi<br>
<b>libcxx</b> underneath llvm/projects/libcxx<br>
<b>compiler-rt</b> underneath llvm/projects/compiler-rt<br>
<br>
<br>
You can diff through your CMakeCache.txt file and compare it to
mine. Edit by hand works just fine.<br>
<br>
- Marc<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 02/09/2015 03:35 AM, Dennis Luehring
wrote:<br>
</div>
<blockquote cite="mid:54D89B78.7050506@gmx.net" type="cite">the
tutorial on <a class="moz-txt-link-freetext" href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a> just uses
"make"
<br>
<br>
the page states "It is also possible to use CMake instead of the
makefiles."
<br>
so i assume im using make when following the build guide
<br>
<br>
maybe someone should update the build guide if cmake should be
prefered
<br>
<br>
Am 09.02.2015 um 12:17 schrieb Marc J. Driftmeyer:
<br>
<blockquote type="cite">What does your CMakeCache.txt file say?
<br>
<br>
- Marc
<br>
<br>
P.S. I build the entire offering, several times daily, on Debian
Sid,
<br>
sans debian package building.
<br>
<br>
On 02/09/2015 02:42 AM, Dennis Luehring wrote:
<br>
> i have found no solution to build clang svn under my ubuntu
14.04 x64
<br>
> + gcc 4.9.2
<br>
> still getting this error
<br>
>
<br>
>
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/cstddef:51:11:<br>
>
<br>
> error:
<br>
> no member named 'max_align_t' in the global
namespace
<br>
> using ::max_align_t;
<br>
> ~~^
<br>
>
<br>
> today i tried a fresh ubuntu 14.10 x64 (lastest + updates)
default:
<br>
> gcc.4.9.1 installation with clang svn 228566 in a virtual
machine
<br>
> the max_align_t problem does not occure but i was still not
able to
<br>
> compile clang out of the box getting this error from make
<br>
>
<br>
> llvm[2]: Compiling llvm-lto.cpp for Debug+Asserts build
<br>
> llvm[2]: Linking Debug+Asserts executable llvm-lto
<br>
> collect2: error: ld terminated with signal 9 [Killed]
<br>
> /home/test/llvm/Makefile.rules:1427: recipe for target
<br>
> '/home/test/build/Debug+Asserts/bin/llvm-lto' failed
<br>
> make[2]: *** [/home/test/build/Debug+Asserts/bin/llvm-lto]
Error 1
<br>
> make[2]: Leaving directory
'/home/test/build/tools/llvm-lto'
<br>
> /home/test/llvm/Makefile.rules:873: recipe for target 'all'
failed
<br>
> make[1]: *** [all] Error 1
<br>
> make[1]: Leaving directory '/home/test/build/tools'
<br>
> /home/test/llvm/Makefile.rules:873: recipe for target 'all'
failed
<br>
> make: *** [all] Error 1
<br>
>
<br>
> i've built svn clang serveral times before on former ubuntu
version
<br>
> without any problem
<br>
> is there something still to fix in the svn version or
should i use
<br>
> cmake or is the description
<br>
> on <a class="moz-txt-link-freetext" href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a> only for release
revisions?
<br>
>
<br>
>
<br>
> _______________________________________________
<br>
> cfe-dev mailing list
<br>
> <a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<br>
> <a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
<br>
<br>
<br>
<br>
_______________________________________________
<br>
cfe-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
cfe-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<p style="color:rgba(128,128,128,.75);font-family:sans;">Marc J.
Driftmeyer<br>
<br>
email:<a href="mailto:%27mjd@reanimality.com%27">mjd@reanimality.com</a><br>
www:<a href="http://www.reanimality.com">www.reanimality.com</a><br>
</p>
</div>
</body>
</html>