<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
After some thinking on this idea, it would not work because I need /
want to use Debian/Ubuntu package to do the build and clang 3.4 is
not built on these architecture :(<br>
So, if I bootstrap clang 3.4, I will have a dependency on libstdc++
4.8... :/<br>
<br>
<br>
On 25/12/2013 22:23, Arnaud Allard de Grandmaison wrote:
<blockquote
cite="mid:CAJpfD9N1kEnk3=jFti1xSODfnTRTv=0Te+=-UA=ZS+L_1dXzYA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Sylvestre,
<div><br>
</div>
<div>The easiest is probably to have a dependency to (and use)
clang-3.4 to bootstrap.</div>
<div><br>
</div>
</div>
</blockquote>
<blockquote
cite="mid:CAJpfD9N1kEnk3=jFti1xSODfnTRTv=0Te+=-UA=ZS+L_1dXzYA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Cheers,</div>
<div>--</div>
<div>Arnaud</div>
<div><br>
</div>
</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">On Wed, Dec 25, 2013 at 4:06 PM,
Sylvestre Ledru <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:sylvestre@debian.org" target="_blank">sylvestre@debian.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Just a quick refresh, on <a moz-do-not-send="true"
href="http://llvm.org/apt/" target="_blank">llvm.org/apt/</a>
[1], I am rebuilding the sources<br>
of LLVM to create snapshot packages for the stable branches<br>
and development branches (currently, 3.4, in the hope of
point releases<br>
and 3.5). This currently targets 2 releases of Debian and 4
of Ubuntu<br>
[2] and the llvm<br>
toolchain is built using the compiler shipped with the
distribution.<br>
<br>
Following the recent discussions on the usage of C+11, we
have now/soon<br>
a requirement on having a recent and C++11 compiler. [3]<br>
That requires a recent version of gcc (for example, 4.6 is
not working).<br>
Unfortunately, more recent versions are not available in
Debian wheezy<br>
(current stable) or Ubuntu precise (an Ubuntu LTS).<br>
<br>
The usage of a backported version of gcc is not really
feasible because<br>
it would trigger a dependency on libstdc++ 4.8 [4] and the
installation<br>
by the user<br>
of the backported gcc.<br>
<br>
For now, the obvious solution would be to drop the support
of these<br>
releases but there are still many users of these
distributions.<br>
<br>
Any suggestions? Static linkage of libstdc++? Usage of
libc++? Usage of<br>
clang 3.4 to bootstrap them?<br>
<br>
Thanks,<br>
Sylvestre<br>
<br>
[1] <a moz-do-not-send="true" href="http://llvm.org/apt/"
target="_blank">http://llvm.org/apt/</a><br>
[2] <a moz-do-not-send="true"
href="http://llvm-jenkins.debian.net/" target="_blank">http://llvm-jenkins.debian.net/</a><br>
[3] For example, currently, lldb fails to build with<br>
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn197872/tools/lldb/source/../include/lldb/Utility/Iterable.h:197:22:<br>
sorry, unimplemented: non-static data member initializers<br>
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn197872/tools/lldb/source/../include/lldb/Utility/Iterable.h:197:22:<br>
error: 'constexpr' needed for in-class initialization of
static data<br>
member 'm_mutex' of non-integral type<br>
or fails to link with:<br>
<a moz-do-not-send="true"
href="http://llvm.org/bugs/show_bug.cgi?id=18077"
target="_blank">http://llvm.org/bugs/show_bug.cgi?id=18077</a><br>
[4] <a moz-do-not-send="true"
href="http://llvm.org/bugs/show_bug.cgi?id=18272"
target="_blank">http://llvm.org/bugs/show_bug.cgi?id=18272</a><br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a moz-do-not-send="true"
href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev"
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>