Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Daniel J. Frasnelli" <dfrasnel@csee.wvu.edu>
To: axp-list@redhat.com
Subject: 2.2.2pre5 followup
Date: Sun, 21 Feb 1999 17:22:29 -0500	[thread overview]
Message-ID: <19990221172229.I29970@csee.wvu.edu> (raw)
In-Reply-To: <36D03F4E.2A765264@alphalinux.org>; from Peter Petrakis on Sun, Feb 21, 1999 at 12:15:58PM -0500

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

> It might be the makefile. See how it complains about first rule? Compare
> the makefiles in that directory between the two versions as well.
	The Makefiles are identical between the two.  Only thing that 
seems to have changed was ksyms.c:

[root@relativity cmp]# diff ksyms.c-pre4 ksyms.c-pre5
64c64
< #ifdef MODVERSIONS
---
> #ifdef CONFIG_MODVERSIONS
324a325,326
> EXPORT_SYMBOL(bdevname);
> EXPORT_SYMBOL(cdevname);
372a375
> EXPORT_SYMBOL(__down_trylock);                                   

Here is the kicker, though: pre5 compiles just fine on an x86 machine.  
Same compiler, same kernel presently installed (2.2.2pre4).  
Attached is a comparison of the kernel builds on 2.2.2pre5 under x86, 
2.2.2pre4 under axp, and 2.2.2pre5 under axp.  
	Creating a trivial work-around for the time being is simple, but
the problem should be tracked down before 2.2.2 goes final. 

Daniel
-- 

[-- Attachment #2: pre5_compile.ascii --]
[-- Type: text/plain, Size: 4244 bytes --]

[root@relativity cmp]# diff ksyms.c-pre4 ksyms.c-pre5
64c64
< #ifdef MODVERSIONS
---
> #ifdef CONFIG_MODVERSIONS
324a325,326
> EXPORT_SYMBOL(bdevname);
> EXPORT_SYMBOL(cdevname);
372a375
> EXPORT_SYMBOL(__down_trylock);

Kernel: Linux 2.2.2-pre5.
Arch: 	x86, P5/133
Compiler: EGCS 1.1.1

scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DUTS_MACHINE='"i386"' -c
 -o init/version.o init/version.c
make -C  kernel
make[1]: Entering directory `/usr/src/linux/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586   -DEXPORT_SYMTAB -c signal.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586   -DEXPORT_SYMTAB -c ksyms.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
 -malign-jumps=2 -malign-functions=2 -DCPU=586   -fno-omit-frame-pointer
 -c -o sched.o sched.c
 (continues compliation)

Kernel: Linux-2.2.2-pre4
Arch: Alpha, EV56
Compiler: EGCS 1.1.1

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/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED  -c -o init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED -DUTS_MACHINE='"alpha"' -c -o init/version.o init/version.c
make -C  kernel
make[1]: Entering directory `/usr/src/linux-pre4/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-pre4/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED   -DEXPORT_SYMTAB -c signal.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED   -DEXPORT_SYMTAB -c ksyms.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED   -fno-omit-frame-pointer -c -o sched.o sched.c
 (continues compilation)

Kernel: Linux-2.2.2-pre5
Arch: Alpha, EV56
Compiler: EGCS 1.1.1

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED  -c -o init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED -DUTS_MACHINE='"alpha"' -c -o init/version.o init/version.c
make -C  kernel
make[1]: Entering directory `/usr/src/linux-pre5/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-pre5/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED   -DEXPORT_SYMTAB -c signal.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a
 -DBWIO_ENABLED   -DEXPORT_SYMTAB -c ksyms.c
ksyms.c:375: `__down_trylock' undeclared here (not in a function)
ksyms.c:375: initializer element for `__ksymtab___down_trylock.value' is not constant

  reply	other threads:[~1999-02-21 22:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-21 17:07 Kernel 2.2.2pre5 does not compile Daniel J. Frasnelli
1999-02-21 17:15 ` Peter Petrakis
1999-02-21 22:22   ` Daniel J. Frasnelli [this message]
1999-02-21 23:02     ` 2.2.2pre5 followup (semaphores) Robert Bowles
1999-02-21 22:59       ` Daniel J. Frasnelli
1999-02-22  3:20       ` Robert Bowles
1999-02-22  3:12         ` Daniel J. Frasnelli
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox