[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: 2.2.2pre5 followup (semaphores)
- From: Robert Bowles <rbowles op net>
- To: axp-list redhat com
- Subject: Re: 2.2.2pre5 followup (semaphores)
- Date: Sun, 21 Feb 1999 18:02:59 -0500
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" <dfrasnel@csee.wvu.edu>
> 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]