https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102803
Carlos Galvez <carlosgalvezp at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #9 from Carlos Galvez <carlosgalvezp at gmail dot com> --- Ok I've built from source with a different configuration than Ubuntu's and the -no-canonical-prefixes works as expected! So indeed it must be something in the Ubuntu configuration. I will then go and diff the configs to get to the root of this. Closing the bug as it's definitely not on GCC side, sorry for the confusion and thanks a lot for the help!