From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Building without Emacs malloc, possible? Date: Thu, 22 Feb 2007 18:33:03 -0500 Message-ID: References: <45DCAC15.40305@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172187210 29865 80.91.229.12 (22 Feb 2007 23:33:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Feb 2007 23:33:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 23 00:33:23 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HKNRB-0004Zc-Fw for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 00:33:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKNRA-000725-UQ for ged-emacs-devel@m.gmane.org; Thu, 22 Feb 2007 18:33:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKNQz-00071R-QI for emacs-devel@gnu.org; Thu, 22 Feb 2007 18:33:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKNQy-0006zp-PU for emacs-devel@gnu.org; Thu, 22 Feb 2007 18:33:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKNQy-0006zV-HC for emacs-devel@gnu.org; Thu, 22 Feb 2007 18:33:08 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HKNQy-0006KS-9o for emacs-devel@gnu.org; Thu, 22 Feb 2007 18:33:08 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 9A0AC2CF2BA; Thu, 22 Feb 2007 18:33:07 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 97F7A3FE0; Thu, 22 Feb 2007 18:33:03 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 7279A4C6D25; Thu, 22 Feb 2007 18:33:03 -0500 (EST) In-Reply-To: <45DCAC15.40305@swipnet.se> (Jan =?iso-8859-1?Q?Dj=E4rv's?= message of "Wed\, 21 Feb 2007 21\:31\:17 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66650 Archived-At: > What is the status of building without Emac malloc? There are some problems > on cygwin + Gtk. Basically Gtk+ (glib actually) calls memalign, but on > cygwin this does not call the Emacs supplied memalign, but cygwins own. > Since malloc is the one Emacs has, cygwin memalign refuses to work. I don't > know why the Emace memalign is not called, dynamic libraries on W32 seems to > behave strange in this regard. BTW, isn't the problem that Emacs uses `posix_memalign' because it's found in libc, even though its own malloc doesn't provide it? Stefan