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 12:13:27 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <877gstuyqb.fsf@moo.wxcvbn.org> <83txvxaquu.fsf@gnu.org> <83obm4b367.fsf@gnu.org> <837gsrbpe9.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 1345605226 20153 80.91.229.3 (22 Aug 2012 03:13:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 03:13:46 +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 05:13:46 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 1T41O5-0008SI-H7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 05:13:45 +0200 Original-Received: from localhost ([::1]:32807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T41O3-0002hW-ND for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Aug 2012 23:13:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T41O1-0002hO-Na for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 23:13:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T41O0-0000B3-HK for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 23:13:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T41O0-0000Az-Dl for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 23:13:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T41OM-0006fc-GG for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 23:14: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 03:14: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.134560523325613 (code B ref 12242); Wed, 22 Aug 2012 03:14:02 +0000 Original-Received: (at 12242) by debbugs.gnu.org; 22 Aug 2012 03:13:53 +0000 Original-Received: from localhost ([127.0.0.1]:42291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T41OC-0006f4-Rx for submit@debbugs.gnu.org; Tue, 21 Aug 2012 23:13:53 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:64592) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T41OB-0006ex-8X for 12242@debbugs.gnu.org; Tue, 21 Aug 2012 23:13:52 -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 664B1C055D; Wed, 22 Aug 2012 12:13:27 +0900 (JST) In-Reply-To: <837gsrbpe9.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:63370 Archived-At: >>>>> On Wed, 22 Aug 2012 06:02:06 +0300, Eli Zaretskii said: >> Date: Wed, 22 Aug 2012 11:35:26 +0900 From: YAMAMOTO Mitsuharu >> Cc: jca@wxcvbn.org, >> 12242@debbugs.gnu.org >> >> 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. > Why not? Can you tell what led you to that conclusion? > My reading of the code is that inhibiting relocation just means that > ralloc.c always asks for more memory when it cannot find a large > enough block in the existing heaps. For example, `virtual_break_value' is not updated in that case. It can lead to an inconsistent state as reported if r_alloc_sbrk is called with a positive argument via malloc when use_relocatable_buffers <= 0, and then it is called with a negative argument via free when use_relocatable_buffers > 0. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp