64-bit build failure without hugetlbfs

Sebastien Dugue sebastien.dugue at bull.net
Tue Aug 5 23:10:55 EST 2008


On Tue, 05 Aug 2008 13:39:49 +0200 Johannes Berg <johannes at sipsolutions.net> wrote:

>   LD      vmlinux.o
> mm/built-in.o: In function `.arch_get_unmapped_area_topdown':
> (.text+0x1d084): multiple definition of `.arch_get_unmapped_area_topdown'
> arch/powerpc/mm/built-in.o:(.text+0x7240): first defined here
> mm/built-in.o: In function `arch_get_unmapped_area_topdown':
> (.opd+0x2730): multiple definition of `arch_get_unmapped_area_topdown'
> arch/powerpc/mm/built-in.o:(.opd+0x918): first defined here
> mm/built-in.o: In function `.arch_get_unmapped_area':
> (.text+0x1ce3c): multiple definition of `.arch_get_unmapped_area'
> arch/powerpc/mm/built-in.o:(.text+0x72b8): first defined here
> mm/built-in.o: In function `arch_get_unmapped_area':
> (.opd+0x2718): multiple definition of `arch_get_unmapped_area'
> arch/powerpc/mm/built-in.o:(.opd+0x930): first defined here
> make: *** [vmlinux.o] Error 1
> 
> enabling hugetlbfs cures it.
> 
> johannes

  Or disabling CONFIG_PPC_64K_PAGES if you do not want to enable hugetlbfs...

  Sebastien.



More information about the Linuxppc-dev mailing list