On Thu, Jul 26, 2018 at 5:29 PM Florian Weimer <fweimer@redhat.com> wrote:
I would like to request a change of the Packaging Guidelines, advising
packagers not to interpose malloc.

The reasons are:

* We have resources to support glibc malloc, but not for other mallocs.
* Other mallocs  do not follow ABI and provide insufficient alignment.
* Choosing a malloc is workload-dependent and forcing a non-default
   malloc takes options away from system administrators.

This does not concern other allocators, such as Boehm GC or APR, only
the standard malloc interfaces.

Comments?

How does one detect that some other allocator is used? Do we have some automated tools? Do you have a draft?

P.S. Packaged Rust uses glibc's allocator, upstream uses malloc.
 
Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/43MAKHBKT5HHO6QEXQASWATMMK3TSH3K/
--

-Igor Gnatenko