Hi Bernhard,

> I guess attached patch would at least remove the embedded
> build path from the files, which is mentioned in [2] too.

Thanks for working on this. Looking at your solution though, I believe
it implies that CFLAGS set by the dpkg-buildflags mechanism are not
being used in rr's build system.

Fixing this more general problem would resolve the reproducibility
issue, as it would imply -ffile-prefix-map and friends. It would also
solve other future problems too, so I don't think this patch is ready
to be applied as it stands.

IIRC CMake can be a bit of a pain with respecting flags, so just in
case it helps, there is some info here:

  https://wiki.debian.org/Hardening


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
       `-

Reply via email to