https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109805
--- Comment #6 from Sergio Durigan Junior <sergiodj at sergiodj dot net> --- As I mentioned in the description, a workaround for this would be to use -fdebug-prefix-map in LDFLAGS as well. I'm leaning towards implementing this in Ubuntu until we figure out how to properly solve the issue.