Le jeu 11/04/2002 à 12:09, Brad Felmey a écrit :
> On Wed, 2002-04-10 at 11:00, Juan Quintela wrote:
> 
> > - use gcc30 by default.
> 
> Hmmm
> 
> How about 3.1? Any known issues with it (yes, I know it's not released
> yet)?
> -- 
> Brad Felmey

I compiled gcc3.1-3.1-0.3mdk on my athlon 750Mhz.
and then compiled stuff with it since yesterday without anymore problems
than the gcc3.0.4 except on kernel-2.4.18-10mdk.

I changed the following in original kernel-2.4.spec :

%define build_gcc30 1
%define build_gcc31 0

by

%define build_gcc30 0
%define build_gcc31 1

Then I've no longer the gcc3.0 requirement warning but Kernel is not
compiling. It stuck on the following xfs compilation error (tried
several time on two different hosts):

/usr/bin/gcc-3.1 -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon 
-Os -falign-functions=4 -DMODULE -nostdinc -I
/usr/lib/gcc-lib/athlon-mandrake-linux-gnu/3.1/include -I..
-funsigned-char -nostdinc -I
/usr/lib/gcc-lib/athlon-mandrake-linux-gnu/3.1/include
-DKBUILD_BASENAME=xfs_super  -c -o xfs_super.o xfs_super.c
{standard input}: Assembler messages:
{standard input}:1162: Error: suffix or operands invalid for `bsf'
make[3]: *** [xfs_super.o] Erreur 1
make[3]: Quitte le répertoire `/usr/src/RPM/BUILD/linux/fs/xfs/linux'
make[2]: *** [_modsubdir_linux] Erreur 2
make[2]: Quitte le répertoire `/usr/src/RPM/BUILD/linux/fs/xfs'
make[1]: *** [_modsubdir_xfs] Erreur 2
make[1]: Quitte le répertoire `/usr/src/RPM/BUILD/linux/fs'
make: *** [_mod_fs] Erreur 2
error: Bad exit status from /var/tmp/rpm-tmp.5993 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.5993 (%build)

However linux-2.4.10.Tgz patched with IPtables1.2.6a
.tgz is compiling normally with gcc3.1 on the same hosts.

Anybody has a clue ? or ever tried to compile last MDK kernel with last
gcc ?




Reply via email to