RE: Problems with mm on Alpha...
"Oliver Pitzeier" <[email protected]> Wed, 22 May 2002 12:38:48 +0200
| Newsgroups | gmane.linux.redhat.axp.kernel |
|---|---|
| Organization | UPtime Systemlosungen |
| Message-ID | <[email protected]> |
Hi Ivan!
I was wrong. The patch doesn't work with 2.5.17...
I get the following error:
[ ... ]
gcc -D__KERNEL__ -I/root/linux-2.5.17/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -DKBUILD_BASENAME=math
-c -o math.o math.c
math.c: In function `alpha_fp_emul':
math.c:204: warning: right shift count is negative
math.c:204: warning: left shift count >= width of type
math.c:220: warning: left shift count is negative
math.c:238: warning: statement with no effect
math.c:258: warning: right shift count >= width of type
math.c:258: warning: right shift count >= width of type
math.c:262: warning: right shift count >= width of type
math.c:262: warning: right shift count >= width of type
math.c:270: warning: statement with no effect
math.c:270: warning: statement with no effect
math.c:270: warning: statement with no effect
math.c:277: warning: statement with no effect
math.c:277: warning: statement with no effect
math.c:277: warning: statement with no effect
math.c:99: warning: `SR_f' might be used uninitialized in this function
math.c:100: warning: `DR_f' might be used uninitialized in this function
ld -r -o math-emu.o math.o qrnnd.o
make[1]: Leaving directory `/root/linux-2.5.17/arch/alpha/math-emu'
ld -static -T arch/alpha/vmlinux.lds -N arch/alpha/kernel/head.o
init/init.o \
--start-group \
arch/alpha/kernel/kernel.o arch/alpha/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o arch/alpha/math-emu/math-emu.o \
/root/linux-2.5.17/arch/alpha/lib/lib.a
/root/linux-2.5.17/lib/lib.a /root/linux-2.5.17/arch/alpha/lib/lib.a \
drivers/pci/driver.o drivers/base/base.o drivers/char/char.o
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/media/media.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/pnp/pnp.o drivers/video/video.o \
net/network.o \
--end-group \
-o vmlinux
mm/mm.o: In function `clear_page_tables':
mm/mm.o(.text+0x144): undefined reference to `pte_free_tlb'
mm/mm.o(.text+0x148): undefined reference to `pte_free_tlb'
mm/mm.o(.text+0x170): undefined reference to `pmd_free_tlb'
mm/mm.o(.text+0x174): undefined reference to `pmd_free_tlb'
mm/mm.o: In function `zap_pte_range':
mm/mm.o(.text+0x840): undefined reference to `tlb_remove_tlb_entry'
mm/mm.o(.text+0x844): undefined reference to `tlb_remove_tlb_entry'
mm/mm.o: In function `unmap_page_range':
mm/mm.o(.text+0xae8): undefined reference to `tlb_start_vma'
mm/mm.o(.text+0xaec): undefined reference to `tlb_start_vma'
mm/mm.o(.text+0xb38): undefined reference to `tlb_end_vma'
mm/mm.o(.text+0xb3c): undefined reference to `tlb_end_vma'
mm/mm.o: In function `zap_page_range':
mm/mm.o(.text+0xbf4): undefined reference to `tlb_flush'
mm/mm.o(.text+0xbf8): undefined reference to `tlb_flush'
mm/mm.o: In function `unmap_region':
mm/mm.o(.text+0x4144): undefined reference to `tlb_flush'
mm/mm.o(.text+0x4148): undefined reference to `tlb_flush'
mm/mm.o: In function `exit_mmap':
mm/mm.o(.text+0x4a6c): undefined reference to `tlb_flush'
mm/mm.o(.text+0x4a70): more undefined references to `tlb_flush' follow
make: *** [vmlinux] Error 1
> -----Original Message-----
> From: Oliver Pitzeier [mailto:[email protected]]
> Sent: Wednesday, May 22, 2002 12:10 PM
> To: 'Ivan Kokshaysky'
> Cc: '[email protected]'
> Subject: RE: Problems with mm on Alpha...
>
>
> Hi Ivan!
>
> Can you remember... You sent me this patch some time ago...
> (8th of May as you can see). Now kernel 2.5.17 is ready, but
> the problem is still the same. It also was with 2.5.15. Your
> patch works fine with 2.5.15/17. But can Andrea or someone please
> add it!?
[ ... ]