Skip to contentSkip to conversation

2.5.5 compile on alpha bombs

DISCUSSION Jurriaan on Alpha 2 participants 2 messages Feb 20, 2002

lore
Share & tools
lore
#0 lore raw

I'm not sure if it is meant to work, it being a development kernel and all, but if anybody is interested:

ALPHA :make boot
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasin
g -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.5.5/include/linux/pagemap.h:16,

                 from /usr/src/linux-2.5.5/include/linux/blkdev.h:9,
                 from /usr/src/linux-2.5.5/include/linux/blk.h:4,
                 from init/main.c:25:

/usr/src/linux-2.5.5/include/linux/highmem.h: In function `memclear_highpage_flush':
/usr/src/linux-2.5.5/include/linux/highmem.h:112: warning: implicit declaration of function flush_dcache_page' /usr/src/linux-2.5.5/include/linux/highmem.h:113: warning: implicit declaration of function flush_page_to_ram' . scripts/mkversion > .tmpversion
gcc -D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasin g -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -DUTS_MACHINE='"alpha"' -DKBUILD_BASENAME=version -c -o init/version .o init/version.c
gcc -D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasin
g -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -c -o init/do_mounts.o init/do_mounts.c
In file included from /usr/src/linux-2.5.5/include/linux/pagemap.h:16,

                 from /usr/src/linux-2.5.5/include/linux/blkdev.h:9,
                 from /usr/src/linux-2.5.5/include/linux/blk.h:4,
                 from init/do_mounts.c:9:

/usr/src/linux-2.5.5/include/linux/highmem.h: In function `memclear_highpage_flush':
/usr/src/linux-2.5.5/include/linux/highmem.h:112: warning: implicit declaration of function flush_dcache_page' /usr/src/linux-2.5.5/include/linux/highmem.h:113: warning: implicit declaration of function flush_page_to_ram' init/do_mounts.c: At top level:
init/do_mounts.c:958: warning: `crd_load' defined but not used
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-stric t-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 " -C kernel
make[1]: Entering directory `/usr/src/linux-2.5.5/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.5.5/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasin
g -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-mev6 -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o sched.o sche
d.c
In file included from sched.c:22:
/usr/src/linux-2.5.5/include/asm/mmu_context.h:32: #error update this function.
sched.c:440: macro `switch_to' used with only 2 args
In file included from sched.c:24:
/usr/src/linux-2.5.5/include/linux/highmem.h: In function `memclear_highpage_flush':
/usr/src/linux-2.5.5/include/linux/highmem.h:112: warning: implicit declaration of function flush_dcache_page' /usr/src/linux-2.5.5/include/linux/highmem.h:113: warning: implicit declaration of function flush_page_to_ram' sched.c: In function `context_switch':
sched.c:440: parse error before `)'
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.5/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.5/kernel'
make: *** [_dir_kernel] Error 2
ALPHA :

Jurriaan

Signature · 3 lines
Lack of skill dictates economy of style.
	Joey Ramone
GNU/Linux 2.4.18-rc1 on Debian/Alpha 988 bogomips 5 users load:0.00 0.09 0.21
#1 lore raw
Quoted 3 lines · Jurriaan on Alpha

I'm not sure if it is meant to work, it being a development kernel and all, but if anybody is interested:

Cool, there are other users too ;-)

Yeah, Richard Henderson, alpha maintainer, is aware of it.. He already has a fix for switch_to(), I'm not sure about the others...

Signature · 4 lines
Jeff Garzik      | "Why is it that attractive girls like you
Building 1024    |  always seem to have a boyfriend?"
MandrakeSoft     | "Because I'm a nympho that owns a brewery?"
                 |             - BBC TV show "Coupling"