From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Replacing malloc_get_state functionality. Date: Thu, 20 Feb 2014 23:38:00 -0800 Organization: UCLA Computer Science Department Message-ID: <53070258.5090804@cs.ucla.edu> References: <20140220232941.GA2929@domone.podge> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392968299 16119 80.91.229.3 (21 Feb 2014 07:38:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Feb 2014 07:38:19 +0000 (UTC) To: =?UTF-8?B?T25kxZllaiBCw61sa2E=?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 21 08:38:27 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WGkgl-0001kH-1x for ged-emacs-devel@m.gmane.org; Fri, 21 Feb 2014 08:38:27 +0100 Original-Received: from localhost ([::1]:42625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGkgk-0001OD-DJ for ged-emacs-devel@m.gmane.org; Fri, 21 Feb 2014 02:38:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGkga-0001O2-Ge for emacs-devel@gnu.org; Fri, 21 Feb 2014 02:38:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGkgT-0005q6-7L for emacs-devel@gnu.org; Fri, 21 Feb 2014 02:38:16 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:37263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGkgT-0005p0-1d for emacs-devel@gnu.org; Fri, 21 Feb 2014 02:38:09 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id DAE7CA6005D; Thu, 20 Feb 2014 23:38:00 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P-j2oTDgsbkP; Thu, 20 Feb 2014 23:38:00 -0800 (PST) Original-Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 7EAB9A6005B; Thu, 20 Feb 2014 23:38:00 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <20140220232941.GA2929@domone.podge> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169802 Archived-At: Ond=C5=99ej B=C3=ADlka wrote: > I as glibc contributor want to ask how feasible is replacing > malloc_get_state functionality in unexec by something else. > If so we could deprecate it for new binaries and use better malloc. It's feasible. You can run an Emacs today that doesn't use glibc's=20 malloc_get_state. Configure Emacs like this: ./configure emacs_cv_var_doug_lea_malloc=3Dno This tells 'configure' to assume that malloc_get_state does not work.