This is what I get when I try to build:
http://pastie.org/private/tkvb5dz3xmzbgyvi7w
At the top, there are a ton of warnings emitted by tablegen building Hexagon .inc files.
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).
–Sean Silva
Hi Sean,
The warnings started w/ r154616. There’s active commentary on that thread in llvm-commits to get the committer to fix the problem.
-Jim
Jim’s comment handles the tablegen stuff…
This is what I get when I try to build:
http://pastie.org/private/tkvb5dz3xmzbgyvi7w
At the top, there are a ton of warnings emitted by tablegen building Hexagon
.inc files.
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).
What do you get if you grep the build directory for DEFAULT_SYSROOT?
--Sean Silva
Cheers,
Rafael
Andy was having this problem yesterday as well. Did you end up figuring out why Andy?
-eric
atrick
April 18, 2012, 8:07pm
6
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.
-Andy
Maybe an accidental configure in source directory? git status should definitely have notified you too. Maybe we've got too much in .gitignore.
-eric
atrick
April 18, 2012, 8:10pm
8
I think that's how I spotted it. But I never normally run git status within the clang repo.
-Andy
I believe that property was recently added. Try re-running the configure script to generate the property.
--bernie