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

Re: compiling 2.4.18 on pws au500

>>>>> On Tue, 26 Nov 2002 16:32:08 +0100 (MET)
>>>>> "AM" == Andrew Maier <andrew.maier@gmx.net> wrote:
AM> OK so I managed to compile everything using gcc-3.0. gcc-2.95 did not work.
AM> Again this is the vanilla config gile uesed for the official debian 2.4.18
AM> kernel.

The problem still exists wit 2.4.19 and cureenc gcc-2.95 on both sid
and woody.

For those, who read about this for the first time: make modules for
'generic' alpha Herbert's kernel fails with

gcc -D__KERNEL__ -I/var/tmp/kernel-source-2.4.19/include -Wall -Wstrict-prototyp
es -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pip
e -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -DMODULE -DMODVERSIONS -include /va
r/tmp/kernel-source-2.4.19/include/linux/modversions.h  -nostdinc -I /usr/lib/gc
c-lib/alpha-linux/2.95.4/include -DKBUILD_BASENAME=ambassador  -c -o ambassador.
o ambassador.c
ambassador.c: In function `do_loader_command':
ambassador.c:1985: warning: passing arg 1 of `virt_to_bus' discards qualifiers f
rom pointer target type
ambassador.c: In function `amb_talk':
ambassador.c:2256: internal error--unrecognizable insn:
(insn:TI 648 362 649 (set (reg:DI 1 $1)
        (plus:DI (reg:DI 30 $30)
            (const_int 4398046511104 [0x40000000000]))) -1 (insn_list:REG_DEP_OU
TPUT 627 (insn_list:REG_DEP_ANTI 359 (nil)))
make[2]: *** [ambassador.o] Error 1
make[2]: Leaving directory `/var/tmp/kernel-source-2.4.19/drivers/atm'
make[1]: *** [_modsubdir_atm] Error 2
make[1]: Leaving directory `/var/tmp/kernel-source-2.4.19/drivers'
make: *** [_mod_drivers] Error 2
zsh: exit 2     make modules

AM> BTW I have had the same error on another 500au. Actually I discovered the
AM> problem there for the first time, but since this machie has a flaky disk I was
AM> not sure.
AM> Anyhow, I can compile the kernel and I am happy.
AM> Thanks ,
AM>     Andrew
>> On Sun, Nov 24, 2002 at 06:24:59PM +0100, Andrew Maier wrote:
>> > I am using the standard gcc-2.95 compiler. By the way, compilation fails
>> > also on other module 
>> > files (with similar messages).
>> I just rebuilt my kernel using gcc-2.95.4. That's debian version
>> 2.95.4-17 and I'm running sid. No problems what so ever.
>> Did you look at the kernel config I mailed you privatly?

Alexander Kotelnikov
Saint-Petersburg, Russia

Reply to: