https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105088
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- In my case I have binutils 2.35. Anyway, if newer binutils breaks this, it is binutils fault. DW_AT_name of the CU in this case has to include the full path, because the only option it has to supply a path when DW_AT_name is relative is through DW_AT_comp_dir. But DW_AT_comp_dir should be the current working directory which can be and often is completely different from the /tmp/cwd path and some paths (e.g. of includes) can be relative to the current path.