From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] to make grub2 compile on NetBSD
Date: Wed, 13 Feb 2008 04:55:47 +0100 [thread overview]
Message-ID: <200802130455.48437.okuji@enbug.org> (raw)
In-Reply-To: <1202860566.26121.6.camel@k9.localnet>
On Wednesday 13 February 2008 00:56, walt wrote:
> This is a link-time error, and I have no clue how to detect it at
> configure time. Please show me how you would do it.
I think the following would be sufficient:
1. Find small code which produces a reference to __enable_execute_stack even
with -fno-stack-protector. Probably using a nested function should be enough.
2. Compile it to an object file, and run "nm -u object_file | grep
__enable_execute_stack".
3. Write a test in aclocal.m4 using the above, and call it from configure.ac.
You can see many examples in aclocal.m4. If you have no clue on writing an
autoconf test, I can write it for you, if you show me such code.
Okuji
prev parent reply other threads:[~2008-02-13 3:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 21:33 [PATCH] to make grub2 compile on NetBSD walt
2008-02-04 15:56 ` Marco Gerards
2008-02-04 20:21 ` walt
2008-02-04 20:55 ` Marco Gerards
2008-02-04 22:27 ` Robert Millan
2008-02-04 22:55 ` walt
2008-02-04 23:30 ` Robert Millan
2008-02-05 6:37 ` Marco Gerards
2008-02-11 22:44 ` walt
2008-02-12 7:22 ` Yoshinori K. Okuji
2008-02-12 23:56 ` walt
2008-02-13 3:55 ` Yoshinori K. Okuji [this message]
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=200802130455.48437.okuji@enbug.org \
--to=okuji@enbug.org \
--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.