[cfe-dev] Misleading "must be able to find libstdc++4.7 or newer" message

Jordan Rose jordan_rose at apple.com
Fri Mar 7 09:39:28 PST 2014


On OS X, we should just default to enabling LLVM_ENABLE_LIBCXX. That seems fair.

Jordan


On Mar 7, 2014, at 8:51 , Sean McBride <sean at rogue-research.com> wrote:

> Hi all,
> 
> When I do a vanilla CMake build of clang svn trunk on OS X 10.7, I get this:
> 
> CMake Error at cmake/modules/HandleLLVMOptions.cmake:37 (message):
>   Host Clang must be able to find libstdc++4.7 or newer!
> Call Stack (most recent call first):
>   CMakeLists.txt:301 (include)
> 
> I realize I just need to turn LLVM_ENABLE_LIBCXX on, but that error message seems pretty misleading to me.  Seems like it should say "libstdc++4.7 or newer **or libc++ x.y or newer**".  Some people may go looking to install libstdc++4.7 on their Mac when the OS-provided libc++ will do.  Better yet, why can't it just find libc++?  Or am I missing something?
> 
> Thanks,
> 
> -- 
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com 
> Mac Software Developer              Montréal, Québec, Canada
> 
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list