Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-29 Thread Rasmus Villemoes
On 29/08/2022 09.15, Rasmus Villemoes wrote: > I'm inclined to say that is a bug in gcc. I'll open a bug and see what > they say. And it turns out this is already reported, with the same suggested resolution as I was thinking of, namely extending the ASM_MAP definition:

Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-29 Thread Rasmus Villemoes
On 28/08/2022 23.46, Vagrant Cascadian wrote: > On 2022-08-28, Vagrant Cascadian wrote: >> On 2022-08-28, Rasmus Villemoes wrote: >>> On 26/08/2022 22.59, Tom Rini wrote: On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote: > From: Vagrant Cascadian > > The

Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-28 Thread Vagrant Cascadian
On 2022-08-28, Vagrant Cascadian wrote: > On 2022-08-28, Rasmus Villemoes wrote: >> On 26/08/2022 22.59, Tom Rini wrote: >>> On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote: From: Vagrant Cascadian The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use

Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-28 Thread Vagrant Cascadian
On 2022-08-28, Rasmus Villemoes wrote: > On 26/08/2022 22.59, Tom Rini wrote: >> On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote: >> >>> From: Vagrant Cascadian >>> >>> The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use >>> -ffile-prefix-map and

Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-28 Thread Rasmus Villemoes
On 26/08/2022 22.59, Tom Rini wrote: > On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote: > >> From: Vagrant Cascadian >> >> The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use >> -ffile-prefix-map and --debug-prefix-map, respectively, to use >> relative paths for

Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-26 Thread Tom Rini
On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote: > From: Vagrant Cascadian > > The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use > -ffile-prefix-map and --debug-prefix-map, respectively, to use > relative paths for occurrences of __FILE__ and debug paths. > >

Re: [PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-19 Thread Rasmus Villemoes
On 18/08/2022 19.31, Vagrant Cascadian wrote: > From: Vagrant Cascadian > > The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use > -ffile-prefix-map and --debug-prefix-map, respectively, to use > relative paths for occurrences of __FILE__ and debug paths. > > This enables

[PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-18 Thread Vagrant Cascadian
From: Vagrant Cascadian The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use -ffile-prefix-map and --debug-prefix-map, respectively, to use relative paths for occurrences of __FILE__ and debug paths. This enables reproducible builds regardless of the absolute path to the build