From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [ppc patch] ASFLAGS and CFLAGS
Date: Sun, 17 Oct 2004 16:36:57 +0000 [thread overview]
Message-ID: <87is99nvx2.fsf@marco.marco-g.com> (raw)
In-Reply-To: <28ED5A02-1F85-11D9-8A15-000A95A0560C@penguinppc.org> (Hollis Blanchard's message of "Sat, 16 Oct 2004 10:07:56 -0500")
Hollis Blanchard <hollis@penguinppc.org> writes:
> On Oct 16, 2004, at 4:34 AM, Marco Gerards wrote:
>
>> Hollis Blanchard <hollis@penguinppc.org> writes:
>>
>>> I haven't yet resolved the genmk.rb issues with listing grubof in
>>> sbin_UTILITIES. We don't want grubof to be an "IMAGE", as that does an
>>> objcopy -O binary. So I think a new class is required in genmk.rb...
>>> perhaps called pkgdata_ELF or so.
>>
>> Perhaps you can prevent that when using the proper LDFLAGS for grubof
>> only. I prefer that over what you did in this patch, if that also
>> fixes the problem.
>
> I don't understand. There are a few problems:
> - -msoft-float is missing from COMMON_CFLAGS
I think the best thing is to add this until all code depending on this
is removed.
> - COMMON_ASFLAGS contains C-specific flags (-nostdinc -fno-builtin)
This is just copied from i386-pc.rmk. I assume there was a good
reason for this so I copied this. Please leave it there unless there
is a good reason to remove it or Okuji says it is not required.
> - COMMON_CFLAGS contains assmebly-specific flags (-D__ASSEMBLY__)
This is a stupid copy-paste mistake from me.
> My patch addresses all three problems, with the caveat that
> COMMON_ASFLAGS is not actually used yet. To use COMMON_ASFLAGS, we
> need to fix genmk.rb. Changing LDFLAGS would have no effect on the
> problems listed above.
The problem I talked about is that COMMON_ASFLAGS is not used. You
are right genmk.rb might need to be fixed, I do not know. But using
pkgdata_IMAGES would be the right thing to do, AFAIK. The best thing
to do is fixing both issues.
Thanks,
Marco
next prev parent reply other threads:[~2004-10-17 16:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-16 0:48 [ppc patch] ASFLAGS and CFLAGS Hollis Blanchard
2004-10-16 9:34 ` Marco Gerards
2004-10-16 15:07 ` Hollis Blanchard
2004-10-17 16:36 ` Marco Gerards [this message]
2004-10-17 20:30 ` Yoshinori K. Okuji
2004-10-17 21:41 ` Hollis Blanchard
2004-10-17 21:52 ` Yoshinori K. Okuji
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=87is99nvx2.fsf@marco.marco-g.com \
--to=metgerards@student.han.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.