<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 26, 2014 at 4:49 PM, Alexey Luchko <span dir="ltr">&lt;<a href="mailto:soulne4ny@gmail.com" target="_blank">soulne4ny@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have working llvm-3.5 @3.5-r198565_0+assertions.<br>
Recently, it was updated to @3.5-r202097.<br>
<br>
An attempt to upgrade results in a message:<br>
Error: llvm-3.5 requires a C++11 runtime, which your configuration<br>
does not allow<br>
<br>
The cause is presence of /usr/lib/libc++.dylib as far as I can get.<br>
<br>
Does it mean that llvm-3.5 does not work on 10.7?<br></blockquote><div><br></div><div>By itself, it works fine. The problem is that it is never by itself; it exists in an ecosystem whose contents are defined by Apple. On 10.7 that ecosystem is not C++11, and while you can build a C++11 ecosystem of your own it is not compatible with anything else. In particular it is not compatible with any C++ libraries provided by Apple as part of the base system or Xcode, and if you ever try to use an Apple-compatible C++ library with it you will get link errors or possibly crashes.</div>
<div><br></div><div>After playing whack-a-mole for a while trying to get stuff to coexist, MacPorts has given up and acknowledged that the only thing that works reliably is to go with what is compatible with Apple libraries; that means only older llvm that uses pre-C++11 interfaces (provided by libstdc++ or an Apple-sourced compatible libc++) on pre-10.9 and only newer llvm that uses C++11 interfaces (provided by modern libc++ but not the libc++ shipped on older OS X) on 10.9. Any other combination *might* work if you are lucky but is not guaranteed in any way, and MacPorts no longer supports it.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>