From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#12242: Emacs 24.2 RC1 build fails on OpenBSD Date: Wed, 22 Aug 2012 11:35:26 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <877gstuyqb.fsf@moo.wxcvbn.org> <83txvxaquu.fsf@gnu.org> <83obm4b367.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1345602950 5549 80.91.229.3 (22 Aug 2012 02:35:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 02:35:50 +0000 (UTC) Cc: 12242@debbugs.gnu.org, jca@wxcvbn.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 04:35:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1T40nJ-0006SU-P6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 04:35:45 +0200 Original-Received: from localhost ([::1]:52975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40nI-0005I7-50 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Aug 2012 22:35:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40nG-0005Hy-1B for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:35:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T40nF-0005L9-3n for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:35:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T40nF-0005Kx-0b for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:35:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T40na-0005nA-Hu for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 22:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Aug 2012 02:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12242 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12242-submit@debbugs.gnu.org id=B12242.134560295922255 (code B ref 12242); Wed, 22 Aug 2012 02:36:02 +0000 Original-Received: (at 12242) by debbugs.gnu.org; 22 Aug 2012 02:35:59 +0000 Original-Received: from localhost ([127.0.0.1]:42260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T40nW-0005mu-5v for submit@debbugs.gnu.org; Tue, 21 Aug 2012 22:35:58 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:64614) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T40nQ-0005mg-JU for 12242@debbugs.gnu.org; Tue, 21 Aug 2012 22:35:54 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 85DF2C055D; Wed, 22 Aug 2012 11:35:26 +0900 (JST) In-Reply-To: <83obm4b367.fsf@gnu.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?Q?Shij=C5=8D?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63364 Archived-At: >>>>> On Tue, 21 Aug 2012 19:49:52 +0300, Eli Zaretskii said: >> Date: Tue, 21 Aug 2012 06:03:37 +0300 From: Eli Zaretskii >> Cc: 12242@debbugs.gnu.org >> >> I think I see the problem and will fix it later today. > Actually, no, I don't think I see the problem. I took a look at ralloc.c a bit, and I thought that the variable `use_relocatable_buffers' is not designed to be changed temporarily in the first place. I think we should use r_alloc_freeze/r_alloc_thaw instead of r_alloc_inhibit_buffer_relocation calls. In that case, we have to estimate how much memory can be malloc'ed while the relocation is frozen, so that we can pass an appropriate number to r_alloc_freeze. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp