[cfe-dev] -O4 with #include <iostream>

Devang Patel dpatel at apple.com
Tue Jul 6 11:50:34 PDT 2010


On Jul 5, 2010, at 9:25 AM, Chris Lattner wrote:

> 
> On Jul 4, 2010, at 11:36 PM, Toralf Niebuhr wrote:
> 
>>>> 
>>>> I attached the complete error log that I get with the -v option set.
>>> 
>>> Aha, thanks for the log.  The issue here is that you're using ToT clang with an old version of the linker support library "liblto".  Please copy over /usr/lib/libLTO.dylib (and /Developer/usr/lib/libLTO.dylib) with the libLTO built with your ToT checkout of LLVM.
>>> 
>>> -Chris
>>> 
>> Thanks
>> 
>> Is there actually an option in the configure script such that everything is correctly installed?
> 
> Not that I know of.  Devang, is there a makefile target that installs liblto?

There is int any LTO specific install target. Usual 'make install' installs liblto in destination directory.
-
Devang





More information about the cfe-dev mailing list