All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: GRUB2 Build on Mac OS X
Date: Sat, 10 Dec 2005 00:26:18 +0100	[thread overview]
Message-ID: <87zmn9ons5.fsf@xs4all.nl> (raw)
In-Reply-To: <200512091649.19820.hollis@penguinppc.org> (Hollis Blanchard's message of "Fri, 9 Dec 2005 16:49:19 -0600")

Hollis Blanchard <hollis@penguinppc.org> writes:

>> I really hope you're willing to entertain patches that remove use of
>> nested functions.  If so, I'll certainly put some effort that direction
>> when next I look at moving RHEL and Fedora to GRUB 2.
>
> I am willing to entertain them.
>
> Marco found a nice description from Roland McGrath on this subject: 
> https://www.redhat.com/archives/fedora-devel-list/2003-November/msg00838.html
>
> His only suggestions for nested functions were a) do not use function pointers 
> with them, or b) rewrite them entirely.

Entertain them?

Anyways, removing nested functions is not something I want to do.  But
we could have a case to case look if it would be possible to not use
local variables without making the code obscure.  I assume we can find
all of the locations by having a look at some errors or warnings,
perhaps those from the compile log that was sent in.  But I still
prefer having a sane solution to make it work.

The apple specific case won't be fixed this way.  But I can not help
that apple disabled this feature while it doesn't even rely on an
executable stack in all cases.

--
Marco




  parent reply	other threads:[~2005-12-09 23:26 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08  6:10 GRUB2 Build on Mac OS X Andre Smith
2005-12-08 12:26 ` Marco Gerards
2005-12-08 16:27   ` Peter Jones
2005-12-08 18:25     ` Yoshinori K. Okuji
2005-12-08 23:40       ` Peter Jones
2005-12-10  0:18         ` Yoshinori K. Okuji
2005-12-10 14:32           ` Marco Gerards
2005-12-08 18:45     ` Marco Gerards
2005-12-08 19:10     ` Andrei Warkentin
2005-12-08 20:00       ` Marco Gerards
2005-12-08 20:10         ` Andrei Warkentin
2005-12-08 20:14           ` Marco Gerards
2005-12-08 20:51             ` Andrei Warkentin
2005-12-09 22:49     ` Hollis Blanchard
2005-12-09 23:07       ` Peter Jones
2005-12-09 23:32         ` Marco Gerards
2005-12-10  0:23           ` Yoshinori K. Okuji
2005-12-10 18:52             ` Peter Jones
2005-12-09 23:26       ` Marco Gerards [this message]
2005-12-08 15:09 ` Andrei Warkentin
  -- strict thread matches above, loose matches on Subject: below --
2005-12-08 22:01 andre-smith
2005-12-08 23:06 ` Andrei Warkentin
2005-12-09 21:34   ` Marco Gerards
2005-12-08 23:18 ` Andrei Warkentin
2005-12-09 21:40 ` Marco Gerards

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zmn9ons5.fsf@xs4all.nl \
    --to=mgerards@xs4all.nl \
    --cc=grub-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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.