From: Mike Mattie <codermattie@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: [PATCH] fix for unexec bootstrap fail on darwin
Date: Wed, 30 Apr 2008 11:28:35 -0700 [thread overview]
Message-ID: <20080430112835.307728d9@reforged> (raw)
In-Reply-To: <6D13D5A4-6F6D-4A8E-8B6F-B1B8A0EF676A@mac.com>
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
On Wed, 30 Apr 2008 10:42:53 -0700
Mike Mattie <codermattie@mac.com> wrote:
> hello,
>
> I ran into "not enough room for load commands for new __DATA
> segments" from unexecmacosx.c
> while bootstrapping yesterday. I increased the room for load
> commands from 30, to 40 and acheived
> a successful bootstrap.
>
> I did not know exactly how much room was required so increasing the
> padding by 10 commands
> is a guess. otool -l src/emacs shows 43 load commands after
> bootstrap completed.
>
> I have included a one-liner fix with my solution.
>
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-04-30 18:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-30 17:42 [PATCH] fix for unexec bootstrap fail on darwin Mike Mattie
2008-04-30 18:28 ` Mike Mattie [this message]
2008-04-30 23:56 ` YAMAMOTO Mitsuharu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080430112835.307728d9@reforged \
--to=codermattie@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).