This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Getting rid of -fno-unit-at-a-time [Was Re: RFC: Preserving order of functions and top-level asms via cgraph]
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andi Kleen <ak at muc dot de>
- Cc: Daniel Kegel <dkegel at google dot com>, gcc at gcc dot gnu dot org, me at rupey dot net
- Date: Tue, 12 Apr 2005 14:34:31 -0400
- Subject: Re: Getting rid of -fno-unit-at-a-time [Was Re: RFC: Preserving order of functions and top-level asms via cgraph]
- References: <425AAD8E.1030601@google.com> <20050411170358.GA31028@nevyn.them.org> <m1ll7oymwa.fsf@muc.de>
On Tue, Apr 12, 2005 at 06:34:29PM +0200, Andi Kleen wrote:
> Daniel Jacobowitz <drow@false.org> writes:
>
> > On Mon, Apr 11, 2005 at 10:02:06AM -0700, Daniel Kegel wrote:
> >> BTW, I hope -fno-unit-at-a-time doesn't go away until at least gcc-4.1.1
> >> or so... I still lean on that crutch.
> >
> > A user! Can you explain why?
>
> The x86-64 2.4 linux kernel uses it too, because some code relies on
> the ordering between asm and several functions.
> Other Linux ports might be similarly affected. 2.6 is fixed, but the
> fix is a bit too big to merge into a stable-nearly-dead tree like 2.4.
Thanks. I was under the impression that 2.4 doesn't build with GCC
HEAD, anyway - I saw some patches pile up and not get applied.
Does 2.6 still use the option?
--
Daniel Jacobowitz
CodeSourcery, LLC