From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#18505: 24.3.93; intermittent unexec failures when building on Mac OS X 10.10 beta, Xcode 6.0 Date: Sun, 21 Sep 2014 11:15:26 +0200 Message-ID: <927680BE-0933-4F3E-AAAA-F2F3745F7D55@swipnet.se> References: <541BAD75.9010701@porkrind.org> <541DC7EE.6080309@porkrind.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1411290991 19875 80.91.229.3 (21 Sep 2014 09:16:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2014 09:16:31 +0000 (UTC) Cc: 18505@debbugs.gnu.org To: David Caldwell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 21 11:16:23 2014 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 1XVdFm-0006bu-5j for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Sep 2014 11:16:22 +0200 Original-Received: from localhost ([::1]:38578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVdFl-0004Ci-LF for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Sep 2014 05:16:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVdFd-0004Ca-BC for bug-gnu-emacs@gnu.org; Sun, 21 Sep 2014 05:16:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVdFX-0004Vm-DR for bug-gnu-emacs@gnu.org; Sun, 21 Sep 2014 05:16:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVdFX-0004VR-AB for bug-gnu-emacs@gnu.org; Sun, 21 Sep 2014 05:16:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XVdFR-00081i-OL for bug-gnu-emacs@gnu.org; Sun, 21 Sep 2014 05:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Sep 2014 09:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18505 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18505-submit@debbugs.gnu.org id=B18505.141129093430817 (code B ref 18505); Sun, 21 Sep 2014 09:16:01 +0000 Original-Received: (at 18505) by debbugs.gnu.org; 21 Sep 2014 09:15:34 +0000 Original-Received: from localhost ([127.0.0.1]:47162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVdEz-00080z-UE for submit@debbugs.gnu.org; Sun, 21 Sep 2014 05:15:34 -0400 Original-Received: from mailfe05.swip.net ([212.247.154.129]:45809 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVdEw-00080o-Ou for 18505@debbugs.gnu.org; Sun, 21 Sep 2014 05:15:32 -0400 X-T2-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_40 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 529205139; Sun, 21 Sep 2014 11:15:28 +0200 In-Reply-To: <541DC7EE.6080309@porkrind.org> X-Mailer: Apple Mail (2.1878.6) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:93569 Archived-At: Hello. 20 sep 2014 kl. 20:31 skrev David Caldwell : > On 9/20/14 8:31 AM, Jan Dj=E4rv wrote: >> Hello. >>=20 >> 19 sep 2014 kl. 06:13 skrev David Caldwell : >>=20 >>> Hello, >>>=20 >>> I tried to build the latest pretest on Mac OS X Yosemite Beta with = the >>> new Xcode 6.0 (GM) tools and ran into this error during the unexec = step: >>>=20 >>> unexec: not enough room for load commands for new __DATA segments >>=20 >> Does it happen all the time or just some times? >=20 > It depends on 2 variables: the number of load commands that need to be > added (num_unexec_regions) and text_seg_lowest_offset. >=20 > num_unexec_regions jumps around a lot, doing "make clean && make" over > and over it'll be different every time. Somewhere between 12 and 34. What makes it do that? Some address randomization? Some other unknown = bug? I would expect num_unexec_regions to be the same for every make. = text_seg_lowest_offset could be address randomization, but if it stays = somewhat constant, that can't be it. I've seen this failure before, but usually a new make works. I'm trying to decide if this is emacs 24 or trunk material. Is there a way to dynamically react to these changes and adjust = headerpad_extra dynamically at dump time? >=20 > text_seg_lowest_offset seems more stable, but it still changes. When I > first unpacked the tarball and compiled, text_seg_lowest_offset was = very > low: 0x17c0. This stayed constant for about an hour while I was > debugging this (adding debug prints) and then mysteriously jumped up = to > 0x24f0 at which point the unexec started succeeding without the change > to headerpad_extra. >=20 > I just unpacked a clean pretest source directory and > text_seg_lowest_offset was 0x17a0 and unexec failed. >=20 > Doing > (make clean && make) 2>&1 | grep "Lowest offset of all sections" > over and over gives me: >=20 > Lowest offset of all sections in __TEXT segment: 0x17a0 > Lowest offset of all sections in __TEXT segment: 0x17a0 > Lowest offset of all sections in __TEXT segment: 0x17a0 > Lowest offset of all sections in __TEXT segment: 0x17a0 > Lowest offset of all sections in __TEXT segment: 0x17a0 > Lowest offset of all sections in __TEXT segment: 0x17a0 >=20 > Though one of those times it didn't fail (presumably because > num_unexec_regions was low enough). Jan D.