Re: [PATCH] kbuild, rust: use -fremap-path-prefix to make paths relative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 11, 2025 at 12:04 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> GCC manual mentions the below about the -fdebug-prefix-map=old=new
>
> "It can also be used to change an absolute path to
> a relative path by using . for new.
> This can give more reproducible builds, which are location
> independent, but may require an extra command to tell GDB
> where to find the source files."
>
> I guess "the extra command" might be a bit annoying.

Ah, so you mean that could be reason for not doing it for the debug
case -- I see, thanks!

Cheers,
Miguel





[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux