Re: Compiling with AddressSanitizer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux