Re: upgrade kernel

Jim Wilson <[email protected]> 25 Jun 2002 17:27:21 -0400
Newsgroups gmane.linux.redhat.ia64.general
Message-ID <[email protected]>
Try using the compiler referenced here:
https://external-lists.vasoftware.com/archives//linux-ia64/2002-June/003592.html
This leads to
ftp://ftp.hpl.hp.com/pub/linux-ia64/gcc-3.1.tar.gz

>gcc3 -g -O2 -Wall -D__KERNEL__ -I/usr/src/linux-2.4.18/include =
>-DKBUILD_BASENAME=3D print_offsets.c -o print_offsets

I assume this is the optional gcc3.0 that comes with RHL 7.x.  It is unlikely
that this will work reliably, and I'm almost sure I can guarantee that it
won't work.  Use gcc 3.1 instead.

>/tmp/ccZQvpej.s: Assembler messages:
>/tmp/ccZQvpej.s:531: Warning: Unrecognized .section attribute: want =
>a,w,x

These are assembler messages.  You might need a newer assembler or a newer
gcc3.  I tried to reproduce this on a system with RHL 7.2 and did not see
this problem.  The system I tried has gcc version 3.0.4-1, and as version
2.11.90.0.8.  In any case, you are better off using gcc 3.1 instead.

Jim