https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102803
--- Comment #2 from Carlos Galvez <carlosgalvezp at gmail dot com> --- Did you read my detailed explanation and reproducible example? I took great care and time to make the problem easy to investigate. GCC is not doing what is supposed to do. Other compilers, like Clang, do actually apply the flag -no-canonical-prefixes. Putting the blame on Bazel doesn't sound like a good way to solve the problem.