Compiles with GCC 4.8.3 but find the headers under GCC 5 and reports an error #6971
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Rules-CPP
Issues for C++ rules
under investigation
Description of the problem / feature request:
Under the /usr/lib/ GCC /x86_64-linux-gnu/ folder, there are the following files
I'm sure these environmental variables were not set:
I also executed the
and determined that the search path did not contain /usr/lib/gcc/x86_64-linux-gnu/5/
My question is, who searches for header files in this directory?
In bazel's default crosstool file,
I see the configuration
This establishes a dependency on the header file, but does not specify the version under x86_64-linux-gnu,How is the final search path determined?
I don't want to restrict the version of GCC to dead. How should I deal with it? Please give me some Suggestions
What operating system are you running Bazel on?
The text was updated successfully, but these errors were encountered: