lkml.org 
[lkml]   [2003]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: gcc-3.3.1-hammer breaks mm/memory.c
On Wed, Jul 16, 2003 at 02:05:32AM +0200, J.A. Magallon wrote:
>
> On 07.16, J.A. Magallon wrote:
> > Hi all...
> >
> > After some binary search and a 'couple' kernel builds, I narrowed the
> > problem to mm/memory.c. With that file built at -O1:
> >
> > CFLAGS_memory.o = -O1
> >
> > The kernel boots, starts /sbin/init and looks like working normally
> > (2.4.22-pre5).
> >
> > Anybody can see what is miscompiled with an assembler listing ?
> > Any #pragma to switch optmizations on the half of a file or for
> > a function ?
> >
>
> I finally got this: -O2 fails but
>
> CFLAGS_memory.o = -Os -falign-functions -falign-jumps -falign-loops -falign-labels -fprefetch-loop-arrays -freorder-blocks
>
> works.
>
> Those are specific options disabled by -Os, but -Os does more things...
> (assembler output is very different)
>
> Any SuSE site (hammer comes from SuSE, isn't it ?) to submit a decent
> bug report ?

bugs@x86-64.org should be appropriate.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.215 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site