From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] fix for unexec bootstrap fail on darwin Date: Wed, 30 Apr 2008 11:28:35 -0700 Message-ID: <20080430112835.307728d9@reforged> References: <6D13D5A4-6F6D-4A8E-8B6F-B1B8A0EF676A@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/HGRc8juUSfKnGhS0Yb8kqbx"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Trace: ger.gmane.org 1209580145 2056 80.91.229.12 (30 Apr 2008 18:29:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2008 18:29:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 30 20:29:42 2008 connect(): Connection refused 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 1JrH3l-0003h8-V9 for ged-emacs-devel@m.gmane.org; Wed, 30 Apr 2008 20:29:42 +0200 Original-Received: from localhost ([127.0.0.1]:59879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrH34-0005qq-V8 for ged-emacs-devel@m.gmane.org; Wed, 30 Apr 2008 14:28:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JrH31-0005qg-7i for emacs-devel@gnu.org; Wed, 30 Apr 2008 14:28:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JrH2z-0005qG-HV for emacs-devel@gnu.org; Wed, 30 Apr 2008 14:28:54 -0400 Original-Received: from [199.232.76.173] (port=57944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrH2z-0005qC-9x for emacs-devel@gnu.org; Wed, 30 Apr 2008 14:28:53 -0400 Original-Received: from py-out-1112.google.com ([64.233.166.178]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JrH2y-000082-Vm for emacs-devel@gnu.org; Wed, 30 Apr 2008 14:28:53 -0400 Original-Received: by py-out-1112.google.com with SMTP id u52so639954pyb.1 for ; Wed, 30 Apr 2008 11:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=/yZUAG8ggtPVLkNdl5p98VmUkM6AEndBg2gX+NePPaQ=; b=OOqFSVHU2Z5nImn5aavjv3RVPVrQBFk+sN4ICKUxEy5o1cthIZnHn22hRRp6Ecg3brifYJq4HmD5bm+FbJibqXZp7b2yJzAhIGEew/LD3Ukz71bf7fLBvi9yCODVaFczq4cI6D4ugX6HuQP8cjDvof7N1z5U7Czyu9ITfD9LO0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=CVUKduxh2jwSxy64i37FnlaRZu3xXV4mPL9itsGbNngnmS3+/E32yPl7fd3T60LqGqcqi19Q3PjQCf7Moy/ve+59fvnTFQqaLQnCQ8c9K4UqVmS8fe9fr3GzjTYaaB3Z1ei/htO/oguH41w3brMZnGjWTV55ogYtuEDMK69fqxI= Original-Received: by 10.140.139.3 with SMTP id m3mr441112rvd.244.1209580131382; Wed, 30 Apr 2008 11:28:51 -0700 (PDT) Original-Received: from reforged ( [71.217.206.83]) by mx.google.com with ESMTPS id k41sm1168086rvb.3.2008.04.30.11.28.50 (version=SSLv3 cipher=OTHER); Wed, 30 Apr 2008 11:28:51 -0700 (PDT) In-Reply-To: <6D13D5A4-6F6D-4A8E-8B6F-B1B8A0EF676A@mac.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.8; i686-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:96233 Archived-At: --Sig_/HGRc8juUSfKnGhS0Yb8kqbx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 30 Apr 2008 10:42:53 -0700 Mike Mattie wrote: > hello, >=20 > I ran into "not enough room for load commands for new __DATA =20 > segments" from unexecmacosx.c > while bootstrapping yesterday. I increased the room for load > commands from 30, to 40 and acheived > a successful bootstrap. >=20 > I did not know exactly how much room was required so increasing the =20 > padding by 10 commands > is a guess. otool -l src/emacs shows 43 load commands after > bootstrap completed. >=20 > I have included a one-liner fix with my solution. >=20 I found a message about unused Mach-O header. It appears that room for 33 extra commands should suffice. the minimal value of the Mach-O padding is then 0x738. --Sig_/HGRc8juUSfKnGhS0Yb8kqbx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIGLpTdfRchrkBInkRAnWJAKCrkmoUcF0CPfDZUJYSlUAtJTVHZwCg5uc4 NEDV7/PWIB3dU95SG28nFF0= =3IfM -----END PGP SIGNATURE----- --Sig_/HGRc8juUSfKnGhS0Yb8kqbx--