Re: x86-64 compile error in 2.6.9-rc1-bk1

From: Andi Kleen
Date: Sat Aug 28 2004 - 08:53:04 EST


On Wed, 25 Aug 2004 11:54:54 -0700
Thomas Duffy <Thomas.Duffy.99@xxxxxxxxxxxxxxxx> wrote:

> If you have CONFIG_SWIOTLB=y (GART_IOMMU=y), you get:
>
> ld: BFD 2.15.90.0.3 20040415 assertion fail ../../bfd/linker.c:619
> arch/x86_64/mm/built-in.o(.init.text+0x52a): In function `mem_init':
> : undefined reference to `swiotlb_force'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [_all] Error 2
>
> This was added in Linus's tree. But I cannot find where swiotlb_force is defined...

It is defined in a ia64 specific file (believe it or not) The change should
go in as soon as Linus pulls the IA64 update from Tony Luck.

For now you can just comment out the if.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/