For reasons unknown, the build is now using compilers
from /usr/bin instead of /usr/local/bin which is where
we have our clang-12 aliases placed.
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rGf8bef4734845: [libcxx][CI] Work around Arm buildkite failures
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Working build:
[437/523] /usr/local/bin/c++ -DNDEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE...
Bad build:
[412/521] /usr/bin/c++ -DNDEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE ... c++: error: unrecognized command line option '--target=armv7-linux-gnueabihf'
Our /usr/bin/ is a gcc which is A: not what we want and B: doesn't need a target option so it throws it out.
The recent libcxx changes seem fine but we did have a container restart about 12hr ago so this issue could have been lingering and brought up by using a fresh cmake config. I will find the actual reason.
@ldionne This fixes the Arm bots so if you want them green today you can merge this.
I'll find out what's really going on on Monday.
Thanks for the workaround. Let's try to find out what's going on and fix it properly once we've put the fire out.
I found the issue and the next release of the buildkite agent will have a fix https://github.com/buildkite/agent/issues/1464.
I'll revert this once it's available. (your other uses of /usr/bin/cc for the other bots should continue to work it's just /usr/local that was effected)