From: Thorsten Glaser <tg@mirbsd.de>
To: linux-m68k@vger.kernel.org
Subject: Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS
Date: Tue, 23 Apr 2013 15:00:32 +0000 (UTC) [thread overview]
Message-ID: <loom.20130423T165848-570@post.gmane.org> (raw)
In-Reply-To: 1365585879-5321-1-git-send-email-geert@linux-m68k.org
Geert Uytterhoeven <geert <at> linux-m68k.org> writes:
> QUESTION: Should we re-enable -ffreestanding in the main Makefile instead?
+1
It is wrong to not compile a kernel or bootloader with -ffreestanding
(and -ffreestanding implying -fno-builtin is *also* correct; kernels
and bootloaders can use stuff like __builtin_strlen explicitly if/when
desired *and* aware of the side effects).
FWIW, adding -ffreestanding to the kernel I inherited from OpenBSD
fixed several issues at once…
bye,
//mirabilos
prev parent reply other threads:[~2013-04-23 15:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-10 9:24 [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS Geert Uytterhoeven
2013-04-10 10:18 ` Michal Marek
2013-04-10 17:06 ` David Miller
[not found] ` <51653C5D.4060408@suse.cz>
2013-04-10 10:59 ` Geert Uytterhoeven
[not found] ` <CAMuHMdXEvLMz5rRjQrhENxJ6UHRnPCtzyNg=hqitspuY88G7sA@mail.gmail.com>
2013-04-10 12:26 ` Michal Marek
2013-04-10 14:19 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUHiiBEZm7eFYtL3PqCXF6PjscbFKjiJ33BEwQ+YLKOXQ@mail.gmail.com>
2013-04-10 15:22 ` Michal Marek
2013-04-11 18:04 ` Geert Uytterhoeven
[not found] ` <CAMuHMdXJWo=R28rexHJZGof==CgEa0gbC3yr18iPs-tAkv2FZQ@mail.gmail.com>
2013-04-12 19:47 ` Geert Uytterhoeven
2013-04-24 12:01 ` Thorsten Glaser
2013-04-24 12:10 ` Geert Uytterhoeven
2013-04-24 15:54 ` Thorsten Glaser
2013-04-10 17:48 ` Andi Kleen
2013-04-23 15:00 ` Thorsten Glaser [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=loom.20130423T165848-570@post.gmane.org \
--to=tg@mirbsd.de \
--cc=linux-m68k@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox