Re: Reproducible builds - supporting relative paths in *-prefix-map

2022-08-15 Thread Richard Purdie via Gcc
Hi Mark, Thanks for the reply. On Mon, 2022-08-15 at 21:55 +0200, Mark Wielaard wrote: > I added Sergio to the CC since he was looking at debuginfo/DWARF > relative paths created by -fdebug-prefix-map in Debian and having trouble > making them work correctly. Maybe he has some feedback how to mak

Re: Reproducible builds - supporting relative paths in *-prefix-map

2022-08-15 Thread Mark Wielaard
Hi Richard, I added Sergio to the CC since he was looking at debuginfo/DWARF relative paths created by -fdebug-prefix-map in Debian and having trouble making them work correctly. Maybe he has some feedback how to make this work. On Mon, Aug 15, 2022 at 12:13:28PM +0100, Richard Purdie via Gcc wro

Re: Reproducible builds - supporting relative paths in *-prefix-map

2022-08-15 Thread Richard Purdie via Gcc
On Mon, 2022-08-15 at 17:15 +, Joseph Myers wrote: > On Mon, 15 Aug 2022, Richard Purdie via Gcc wrote: > > > Currently it works well for absolute paths but if a file uses a > > relative path or a path with a symlink in, or a non-absolute path, it > > will miss those cases. For relative paths

Re: Reproducible builds - supporting relative paths in *-prefix-map

2022-08-15 Thread Joseph Myers
On Mon, 15 Aug 2022, Richard Purdie via Gcc wrote: > Currently it works well for absolute paths but if a file uses a > relative path or a path with a symlink in, or a non-absolute path, it > will miss those cases. For relative paths in particular it is > problematic as you can't easily construct a

Re: Reproducible builds - supporting relative paths in *-prefix-map

2022-08-15 Thread David Edelsohn via Gcc
On Mon, Aug 15, 2022 at 10:28 AM Richard Purdie via Gcc wrote: > > On Mon, 2022-08-15 at 12:13 +0100, Richard Purdie via Gcc wrote: > > Hi, > > > > I'm wondering if we'd be able to improve path handling in the -f*- > > prefix-map compiler options to cover relative paths? > > > > Currently it works

Re: Reproducible builds - supporting relative paths in *-prefix-map

2022-08-15 Thread Richard Purdie via Gcc
On Mon, 2022-08-15 at 12:13 +0100, Richard Purdie via Gcc wrote: > Hi, > > I'm wondering if we'd be able to improve path handling in the -f*- > prefix-map compiler options to cover relative paths? > > Currently it works well for absolute paths but if a file uses a > relative path or a path with a

Reproducible builds - supporting relative paths in *-prefix-map

2022-08-15 Thread Richard Purdie via Gcc
Hi, I'm wondering if we'd be able to improve path handling in the -f*- prefix-map compiler options to cover relative paths? Currently it works well for absolute paths but if a file uses a relative path or a path with a symlink in, or a non-absolute path, it will miss those cases. For relative pat