Hi!

On Mon, 2016-03-28 at 18:33:49 -0400, Daniel Kahn Gillmor wrote:
> On Mon 2016-03-28 17:26:17 -0400, Guillem Jover wrote:
> >> The attached patch adds a "normalizedebugpath" feature to the
> >> "reproducible" feature set, which appends -fdebug-prefix-map=CWD=.
> >> (where CWD is the actual current working directory) to CFLAGS and
> >> CXXFLAGS.  It is off by default.
> >
> > Looks good to me, but shouldn't we try to set more language flags
> > here?
> 
> which other flags are you thinking of?  I think of this as belonging to
> anything that writes C/C++ debug symbols, and i haven't considered or
> tested it on non-C/C++ code.  If -fdebug-prefix-map is appropriate
> elsewhere, i certainly have no objection to including it elsewhere, but
> i don't know where that is.

I was thinking about the other language flags that dpkg-dev currently
supports, namely: OBJCFLAGS, OBJCXXFLAGS, GCJFLAGS, FFLAGS and
FCFLAGS. As I think all those should produce DWARF debugging symbols,
they would benefit from the option.

Thanks,
Guillem

Reply via email to