[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile problem



As a followup, compiling in native gcc mode worked fine.  Only in 
2.91-66 mode does the compile fail.

I'm nervous about going with a non 2.91 compiled kernel, but may give it 
a go and hit the server harder than I had planned before production. 
ANyone else have experience running a kernel compiled with 2.96-98?

Mike

Mike Baptiste wrote:
> I am bringing a new mail server up with XFS partitions.  Not my first - 
> my others run nicely.  However, I've hit a problem compiling a newer 
> kernel (its currently running the 2.4.9 kernel from the XFS RedHat 
> installer).
> 
> I've got RH 7.2 with all the latest RedHat rpm updates installed.
> 
> I've downloaded both 2.4.17 and 2.4.18 with the xfs-all patches applied. 
>  Nothing else.  I'm using the stock .config from the 2.4.9-XFS source.
> 
> During the compile with 2.91.66, I get this error:
> 
> gcc -V egcs-2.91.66 -D__ASSEMBLY__ -D__KERNEL__ 
> -I/usr/src/linux-2.4.18-XFS/include -traditional -c trampoline.S -o 
> trampoline.o
> /tmp/ccE8u6Ji.s: Assembler messages:
> /tmp/ccE8u6Ji.s:2614: Error: suffix or operands invalid for 'ljmp'
> make[1]: *** [trampoline.o] Error 1
> 
> This happens with 2.4.17 and 2.4.18
> 
> The current gcc installed is gcc-2.96-98 though I'm using 2.91.66 mode.
> 
> I'm going to try mormal 2.96 compile next (though that makes me nervous 
> :) ) and I'm trying to track down a kgcc rpm to try though I wonder if 
> it'll make any difference.
> 
> Any ideas?  I've compiled 2.4.17 on 7.1 (2.91-66) with no problems, 
> though not with the latest gcc rpm form Redhat if memory serves.
> 
> Mike