Re: [PATCH] lto-streamer: Ensure src_pwd is remapped

2024-03-07 Thread Richard Biener
On Wed, Mar 6, 2024 at 10:56 PM Morten Linderud wrote: > > I've made an attempt at patching this issue as it produces unreproducible > unreproducible binaries for Golang. I don't know C/C++ and it's my first gcc > patch so please bear with me :) I think this is a very fragile area - see https://g

[PATCH] lto-streamer: Ensure src_pwd is remapped

2024-03-06 Thread Morten Linderud
I've made an attempt at patching this issue as it produces unreproducible unreproducible binaries for Golang. I don't know C/C++ and it's my first gcc patch so please bear with me :) -- >8 -- When -flto is used with line macros containing bare symbols instead of absolute paths the full path is ad