https://sourceware.org/bugzilla/show_bug.cgi?id=30589
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
Last reconfirmed| |2023-06-27
Ever confirmed|0 |1
Status|UNCONFIRMED |WAITING
--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> ---
In my tests here on f38, the gcc -ffile-prefix-map option resulted in highly
sus dwarf:
% gcc -g -O0 test.c -Wl,--build-id=0xaaaaaaaaaabbbbbbbbbbccccccccccdddddddddd
-ffile-prefix-map=`pwd`=`pwd`/servefrom
% eu-readelf -w a.out
Directory table:
[path(line_strp)]
0 /home/fche/[...]/servefrom/servefrom (61)
i.e., the suffix was added twice. On another test, where the map target
was to a non-subdirectory like /tmp/foo, gcc produced correct looking dwarf,
and debuginfod took it like a champ.
gcc version 13.1.1 20230614 (Red Hat 13.1.1-4) (GCC)
--
You are receiving this mail because:
You are on the CC list for the bug.