Closed DonggeLiu closed 6 days ago
/gcbrun
Need to experiment with this to see if the way Bazel detects compiler features is impacted
Thanks! I conducted an experiment with C projects last night, here is the result: https://llm-exp.oss-fuzz.com/Result-reports/scheduled/2024-06-26-weekly-all/
I will look into them today and pay extra attention to Bazel projects.
Some projects failed to compile because its compilation command escalates warnings into errors (e.g.,
bind9
). This is particularly problematic for C projects becauseJCC
assumes these errors are due to C/C++ compatibility issues and then compiles these projects withclang++
, which causes different failures that LLM cannot fix (e.g., inbind9
, the error is caused by other files using C symbols that are not available in C++).This PR removes all flags that may cause this problem in all compilation commands. When tested locally, it fixed the compilation error in
bind9
(with some manual fix on the fuzz target).Here is the command that contains
-Werror*
and causes this problem inbind9
: