public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Kernel compile errors.
@ 2003-02-28 18:02 Brent Clements
  2003-02-28 18:21 ` Grant Grundler
  0 siblings, 1 reply; 2+ messages in thread
From: Brent Clements @ 2003-02-28 18:02 UTC (permalink / raw)
  To: linux-ia64

I am having the hardest time compiling kernel 2.4.20 with the latest
ia64 patches from kernel.org

I am using gcc-3.2.2 with binutils 2.13, I have set my path to point to
both of these directories direct. I have also specified in the kernel
Makefile to point to these paths directly.

When I do a compile of the kernel by doing make dep, make vmlinux

I get the following errors when it gets to the smp.c file

gcc3 -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-g -fomit-frame-pointer -pipe  -ffixed-r13
-mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers
--param max-inline-insnsP00 -mconstant-gp  -nostdinc -iwithprefix
include -DKBUILD_BASENAME=smp  -c -o smp.o smp.c
{standard input}: Assembler messages:
{standard input}:864: Warning: Use of 'mov' may violate WAW dependency
'RR#' (impliedf)
{standard input}:864: Warning: Only the first path encountering the
conflict is reported
{standard input}:863: Warning: This is the location of the conflicting
usage
{standard input}:864: Warning: Use of 'mov' may violate WAW dependency
'RR#' (impliedf)
{standard input}:864: Warning: Only the first path encountering the
conflict is reported
{standard input}:863: Warning: This is the location of the conflicting
usage
{standard input}:864: Warning: Use of 'mov' may violate WAW dependency
'RR#' (impliedf)
{standard input}:864: Warning: Only the first path encountering the
conflict is reported
{standard input}:863: Warning: This is the location of the conflicting
usage

Then I get the following.
gcc3 -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-g -fomit-frame-pointer -pipe  -ffixed-r13
-mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers
--param max-inline-insnsP00 -mconstant-gp  -nostdinc -iwithprefix
include -DKBUILD_BASENAME=smpboot  -c -o smpboot.o smpboot.c
smpboot.c:92: conflicting types for `smp_threads_ready'
/usr/src/linux-2.4.20/include/linux/smp.h:51: previous declaration of
`smp_threads_ready'
make[1]: *** [smpboot.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20/arch/ia64/kernel'
make: *** [_dir_arch/ia64/kernel] Error 2


Any help would be appreciated.

I have noticed that when I compile using gcc-2.96 with binutil-2.13 it
works great.

Thanks for any help.

-Brent






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Linux-ia64] Kernel compile errors.
  2003-02-28 18:02 [Linux-ia64] Kernel compile errors Brent Clements
@ 2003-02-28 18:21 ` Grant Grundler
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Grundler @ 2003-02-28 18:21 UTC (permalink / raw)
  To: linux-ia64

On Fri, Feb 28, 2003 at 12:02:27PM -0600, Brent Clements wrote:
> smpboot.c:92: conflicting types for `smp_threads_ready'
> /usr/src/linux-2.4.20/include/linux/smp.h:51: previous declaration of
> `smp_threads_ready'

This was discussed a while back.
IIRC, delete the "volatile" from the declaration in smpboot.c

grant


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-28 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-28 18:02 [Linux-ia64] Kernel compile errors Brent Clements
2003-02-28 18:21 ` Grant Grundler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox