[llvm-commits] problem with r132497 on linux

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sun Jun 5 06:45:47 PDT 2011


On 11-06-05 9:15 AM, pageexec at freemail.hu wrote:
> Hi,
>
> r132497 breaks clang on gentoo when one sets CXX_INCLUDE_ROOT as i do (to avoid
> all the guesswork regarding gcc paths). in particular, i set it to
>
>     /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include/g++-v4
>
> which doesn't match the pattern that this commit assumes and hence produces invalid
> paths for the linker. for now my workaround is below but i guess the proper solution
> is to explicitly pass linker paths to configure.

Linux distros are amazing!

Chandler is refactoring this to support absolute and relative paths. I 
would suggest waiting for that to avoid conflicts and then add support 
for distinct include and lib roots (with one defaulting to the other).


Cheers,
Rafael




More information about the llvm-commits mailing list