2002-07-17 00:56:41

by Justin M. Forbes

[permalink] [raw]
Subject: 2.4.19-rc2 compile fail

I get this failure when trying to compile 2.4.19-rc2


gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.19-rc2/include -traditional
-DCHIP=710 fake7.c | grep -v '^#' | perl -s script_asm.pl -ncr7x0_family
script_asm.pl : Illegal combination of registers in line 72 : MOVE
CTEST7 & 0xef TO CTEST7
Either source and destination registers must be the same,
or either source or destination register must be SFBR.
make[2]: *** [sim710_d.h] Error 255
make[2]: Leaving directory `/usr/src/linux-2.4.19-rc2/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-rc2/drivers'
make: *** [_mod_drivers] Error

Justin M. Forbes


2002-07-17 08:21:53

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.4.19-rc2 compile fail

On Tue, 16 Jul 2002, Justin M. Forbes wrote:

> I get this failure when trying to compile 2.4.19-rc2
>
>
> gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.19-rc2/include -traditional
> -DCHIP=710 fake7.c | grep -v '^#' | perl -s script_asm.pl -ncr7x0_family
> script_asm.pl : Illegal combination of registers in line 72 : MOVE
> CTEST7 & 0xef TO CTEST7
> Either source and destination registers must be the same,
> or either source or destination register must be SFBR.
> make[2]: *** [sim710_d.h] Error 255
> make[2]: Leaving directory `/usr/src/linux-2.4.19-rc2/drivers/scsi'
> make[1]: *** [_modsubdir_scsi] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.19-rc2/drivers'
> make: *** [_mod_drivers] Error


Which version of gcc do you use?
Could you send your .config?


> Justin M. Forbes

TIA
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox

2002-07-17 12:01:58

by Justin M. Forbes

[permalink] [raw]
Subject: Re: 2.4.19-rc2 compile fail

On Wed, 17 Jul 2002, Adrian Bunk wrote:

> On Tue, 16 Jul 2002, Justin M. Forbes wrote:
>
> > I get this failure when trying to compile 2.4.19-rc2
> >
> >
> > gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.19-rc2/include -traditional
> > -DCHIP=710 fake7.c | grep -v '^#' | perl -s script_asm.pl -ncr7x0_family
> > script_asm.pl : Illegal combination of registers in line 72 : MOVE
> > CTEST7 & 0xef TO CTEST7
> > Either source and destination registers must be the same,
> > or either source or destination register must be SFBR.
> > make[2]: *** [sim710_d.h] Error 255
> > make[2]: Leaving directory `/usr/src/linux-2.4.19-rc2/drivers/scsi'
> > make[1]: *** [_modsubdir_scsi] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.19-rc2/drivers'
> > make: *** [_mod_drivers] Error
>
>
> Which version of gcc do you use?
> Could you send your .config?
>
>
> > Justin M. Forbes
>
> TIA
> Adrian
>
GCC version is 3.1 .config is attached, fairly large as I base it off of
the original Red Hat one to make sure everything compiles, even though I
am not using most of it. Strangely no compile problems on my base 7.2 box
(gcc 2.96). .config is attached.

Justin M. Forbes



Attachments:
config (24.70 kB)

2002-07-17 17:08:58

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.4.19-rc2 compile fail

On Wed, 17 Jul 2002, Justin M. Forbes wrote:

> GCC version is 3.1 .config is attached, fairly large as I base it off of
> the original Red Hat one to make sure everything compiles, even though I
> am not using most of it. Strangely no compile problems on my base 7.2 box
> (gcc 2.96). .config is attached.

The short answer ist perhaps: 3.1 is not a supported compiler...

But I'm surprised that I wasn't able to reproduce it using the 20020703
(past 3.1) snapshot of the gcc-3.1 branch that is in Debian unstable.

> Justin M. Forbes

cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox


2002-07-17 22:16:41

by J.A. Magallon

[permalink] [raw]
Subject: Re: 2.4.19-rc2 compile fail


On 2002.07.17 Adrian Bunk wrote:
>On Wed, 17 Jul 2002, Justin M. Forbes wrote:
>
>> GCC version is 3.1 .config is attached, fairly large as I base it off of
>> the original Red Hat one to make sure everything compiles, even though I
>> am not using most of it. Strangely no compile problems on my base 7.2 box
>> (gcc 2.96). .config is attached.
>
>The short answer ist perhaps: 3.1 is not a supported compiler...
>
>But I'm surprised that I wasn't able to reproduce it using the 20020703
>(past 3.1) snapshot of the gcc-3.1 branch that is in Debian unstable.
>

I am building kernels with Mandrakes gcc-3.1.1 snapshots since time ago,
and have no problems with it (now gcc-3.1.1-0.7mdk, branch of 2002/07/01)

Probably kernel is more sensible to binutils version...
Here: binutils-2.12.90.0.14-2mdk

--
J.A. Magallon \ Software is like sex: It's better when it's free
mailto:[email protected] \ -- Linus Torvalds, FSF T-shirt
Linux werewolf 2.4.19-rc1-jam3, Mandrake Linux 8.3 (Cooker) for i586
gcc (GCC) 3.1.1 (Mandrake Linux 8.3 3.1.1-0.7mdk)