From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18375 invoked from network); 21 Feb 1999 23:03:20 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 21 Feb 1999 23:03:20 -0000 Received: from mail.op.net (d-bm5-13.ppp.op.net [209.152.194.211]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA07958 for ; Sun, 21 Feb 1999 17:47:49 -0500 Received: (from rbowles@localhost) by mail.op.net (8.8.7/8.8.7) id SAA18177 for axp-list@redhat.com; Sun, 21 Feb 1999 18:02:59 -0500 Message-ID: <19990221180259.A18098@op.net> Date: Sun, 21 Feb 1999 18:02:59 -0500 From: Robert Bowles To: axp-list@redhat.com Subject: Re: 2.2.2pre5 followup (semaphores) Reply-To: rbowles@infonautics.com References: <19990221120752.D29970@csee.wvu.edu> <36D03F4E.2A765264@alphalinux.org> <19990221172229.I29970@csee.wvu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <19990221172229.I29970@csee.wvu.edu>; from Daniel J. Frasnelli on Sun, Feb 21, 1999 at 05:22:29PM -0500 X-host-platform: Linux noname 2.2.1-ac1 #19 Tue Feb 2 22:25:39 EST 1999 alpha unknown Thanks for the answer: 'linux/include/asm-i386/semaphore.h' has an asmlinkage int __down_trylock(struct semaphore * sem); Whereas 'linux/include/asm-alpha/semaphore.h' has none. I'm just adding "the line" and building right now. :) On Sun, Feb 21, 1999 at 05:22:29PM -0500, Daniel J. Frasnelli wrote: > From: "Daniel J. Frasnelli" > To: axp-list@redhat.com > > 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 > -- > [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