From: Adrian Bunk <bunk@kernel.org>
To: Al Viro <viro@ftp.linux.org.uk>
Cc: torvalds@linux-foundation.org, geert@linux-m68k.org,
linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arch@vger.kernel.org
Subject: -ffreestanding or not -ffreestanding
Date: Wed, 21 May 2008 10:52:34 +0300 [thread overview]
Message-ID: <20080521075233.GA18352@cs181133002.pp.htv.fi> (raw)
In-Reply-To: <E1JycsB-0000M9-36@ZenIV.linux.org.uk>
On Wed, May 21, 2008 at 02:12:07AM +0100, Al Viro wrote:
> Content-Length: 788
> Lines: 30
>
> Whether we sidestep it in init/main.c or not, such situations
> will arise again; compiler does generate calls of strcat()
> on optimizations, so we really ought to have an out-of-line
> version...
>...
Can we try to get this sorted out properly instead of constantly
fiddling with it?
Currently we use -ffreestanding on some architectures and fix breakages
on the other architectures when they arise.
The options I see for getting this fixed properly are:
- use -ffreestanding on all architectures or
- don't use -ffreestanding on any architecture and move the string
functions (and perhaps other functions if required) out-of-line
I'd prefer the first option, but I know that not everyone agrees with me.
No matter which option we choose, if we get an agreement on this one
I can send patches for it.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2008-05-21 7:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 1:12 [PATCH] provide out-of-line strcat() for m68k Al Viro
2008-05-21 3:34 ` Roman Zippel
2008-05-21 5:30 ` Al Viro
2008-05-21 10:53 ` Roman Zippel
2008-05-21 11:09 ` Al Viro
2008-05-21 7:52 ` Adrian Bunk [this message]
2008-05-21 11:44 ` -ffreestanding or not -ffreestanding Roman Zippel
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=20080521075233.GA18352@cs181133002.pp.htv.fi \
--to=bunk@kernel.org \
--cc=geert@linux-m68k.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@ftp.linux.org.uk \
/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
all inboxes | Powered by JetHome®