On Thu, 2019-07-18 at 10:25 +0200, Florian Weimer wrote:
* Nathanael Noblet:
> I have been using a library for awhile now and have been
> thinking
> of submitting it to Fedora. Part of what I have been doing with
> it
> was compiling it using -fsanitize=address and leak etc. I’m
> kinda
> wondering about how that is handled with Fedora packages. Are we
> able to / should we provide library package versions that are
> compiled against these kinds of sanitizers?
Address Sanitizer does not provide ABI stability itself, and also
removes ABI stability for glibc functions. In general, you cannot
use it for distribution builds.
Right, I think I didn't communicate it clearly. What I meant was having
like libfoo and libfoo-sanitized or something like that that conflict
with each other so you could install libfoo-sanitized for debug
purposes. It seems that the answer is likely no need to do it.
> Or if someone wants to do that they should recompile the RPM
> with
> those flags and use it locally?
Yes, rebuilding the RPM or the upstream sources is currently the only
way.
Thanks,
Florian