[LLVMdev] Build warnings and errors

Andrew Trick atrick at apple.com
Wed Apr 18 13:10:36 PDT 2012


On Apr 18, 2012, at 1:08 PM, Eric Christopher <echristo at apple.com> wrote:

> 
> On Apr 18, 2012, at 1:07 PM, Andrew Trick <atrick at apple.com> wrote:
> 
>> On Apr 18, 2012, at 1:03 PM, Eric Christopher <echristo at apple.com> wrote:
>> 
>>> 
>>> On Apr 18, 2012, at 1:00 PM, Chandler Carruth <chandlerc at google.com> wrote:
>>> 
>>>> Jim's comment handles the tablegen stuff...
>>>> 
>>>> On Wed, Apr 18, 2012 at 10:50 AM, Sean Silva <silvas at purdue.edu> wrote:
>>>> At the bottom there is a failure when building the clang driver, complaining about finding `DEFAULT_SYSROOT`
>>>> 
>>>> I'm building with ninja (generated by CMake).
>>>> 
>>>> Have you updated both LLVM and Clang? This was a relatively recent change, but everything is working on my end (and on others' ends)...
>>> 
>>> Andy was having this problem yesterday as well. Did you end up figuring out why Andy?
>> 
>> I had a stray config.h in my Clang dir!
>> 
>> Stupid, but the problem wasn't obvious because my clean build config looked fine. I was reluctant to blow away the source because it was the my main git repo from which everything else is git --cloned.
>> 
>> I don't know how the stray config.h got there.
> 
> Maybe an accidental configure in source directory? git status should definitely have notified you too. Maybe we've got too much in .gitignore.

I think that's how I spotted it. But I never normally run git status within the clang repo.
-Andy



More information about the llvm-dev mailing list