lkml.org 
[lkml]   [2000]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectAthlon optimizations still broken in 2.3.49
I just tried 2.3.49, and it looks like the problem compiling for Athlon is
still there. When I select Athlon as the processor type, I get the
following error, building as a K6 works fine:

jtlayton@tlielax:/usr/src/linux$ make bzImage
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -DCPU=686
-march=pentiumpro -mpentiumpro -malign-functions=4 -fschedule-insns2
-mwide-multiply -fexpensive-optimizations -march=i686 -fno-strict-aliasing
-c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/irq.h:51,
from /usr/src/linux/include/asm/hardirq.h:5,
from /usr/src/linux/include/linux/interrupt.h:42,
from /usr/src/linux/include/asm/string.h:297,
from /usr/src/linux/include/linux/string.h:38,
from /usr/src/linux/include/linux/signal.h:64,
from /usr/src/linux/include/linux/sched.h:24,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/malloc.h:4,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/hw_irq.h: In function `x86_do_profile':
/usr/src/linux/include/asm/hw_irq.h:195: `prof_buffer' undeclared (first
use in this function)
/usr/src/linux/include/asm/hw_irq.h:195: (Each undeclared identifier is
reported only once
/usr/src/linux/include/asm/hw_irq.h:195: for each function it appears in.)
/usr/src/linux/include/asm/hw_irq.h:197: `prof_shift' undeclared (first
use in this function)
/usr/src/linux/include/asm/hw_irq.h:203: `prof_len' undeclared (first use
in this function)
In file included from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/malloc.h:4,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/sched.h: At top level:
/usr/src/linux/include/linux/sched.h:491: `prof_buffer' used prior to
declaration
/usr/src/linux/include/linux/sched.h:492: `prof_len' used prior to
declaration
/usr/src/linux/include/linux/sched.h:493: `prof_shift' used prior to
declaration
make: *** [init/main.o] Error 1
jtlayton@tlielax:/usr/src/linux$

I saw someone else mention that this was a problem with headers, is there
a fix for this?
-- Jeff


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

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site