[Top][All Lists]

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

Re: --enable-gcc-warnings is broken on Fedora 21 by GnuTLS code

From: Paul Eggert
Subject: Re: --enable-gcc-warnings is broken on Fedora 21 by GnuTLS code
Date: Tue, 23 Dec 2014 13:26:02 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Dmitry Antipov wrote:
My suggestion is to define GnuTLS memory management functions with
__attribute__((weak)); for now, there are no strong objections against this.

Eli's point about ELF is a pretty strong objection to that idea.

Also, looking down the road, the GnuTLS folks seem like they don't want to let Emacs be in charge of memory allocation; they want to use talloc, which as far as I know is not compatible with Emacs memory allocation. This sounds like it could be a problem.

I guess I'm not fully understanding the problem they're trying to fix. What if we required that gnutls_global_set_mem_functions be called only when gnutls_global_initialized is zero? Wouldn't this requirement fix the problem? Emacs could live with that.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]