WITH_CTF vs -g

Andriy Gapon avg at FreeBSD.org
Wed Sep 10 17:24:19 UTC 2014


In my opinion WITH_CTF should imply -g in CFLAGS otherwise, as far as I can see,
there is nothing to generate CTF data from.  Forcing an end-user to remember to
additionally pass -g is not nice.

Also, I think that we can always have -g in CTFFLAGS, because the stripping step
takes care of the original DWARF data in any case.  But I am not 100% sure about
this.

What do you think?
Thanks!
-- 
Andriy Gapon


More information about the freebsd-toolchain mailing list