lkml.org 
[lkml]   [2005]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: arch xtensa does not compile
Jan Dittmer wrote:
> Hello Chris,
>
> the recently merged xtensa arch does not (cross) compile successfully.
> I'm using 2.6.12-git7 which seems to have all patches (1-8) merged.

I did have to make some more changes because of the other changes in
Andrew's tree, but wasn't sure what other patches would make it in.
I'll submit the Xtensa patches shortly.

Thanks for the report.
~Chris

>
> 1. numnodes.h missing
> $ make mrproper
> $ make ARCH=xtensa CROSS_COMPILE=xtensa-linux- defconfig
> $ make ARCH=xtensa CROSS_COMPILE=xtensa-linux-
> CHK include/linux/version.h
> UPD include/linux/version.h
> SYMLINK include/asm -> include/asm-xtensa
> SPLIT include/linux/autoconf.h -> include/config/*
> Setting up cpu (linux_be) and platform (xt2000) symlinks
> HOSTCC scripts/genksyms/genksyms.o
> SHIPPED scripts/genksyms/lex.c
> SHIPPED scripts/genksyms/parse.h
> SHIPPED scripts/genksyms/keywords.c
> HOSTCC scripts/genksyms/lex.o
> SHIPPED scripts/genksyms/parse.c
> HOSTCC scripts/genksyms/parse.o
> HOSTLD scripts/genksyms/genksyms
> CC scripts/mod/empty.o
> HOSTCC scripts/mod/mk_elfconfig
> MKELF scripts/mod/elfconfig.h
> HOSTCC scripts/mod/file2alias.o
> HOSTCC scripts/mod/modpost.o
> HOSTCC scripts/mod/sumversion.o
> HOSTLD scripts/mod/modpost
> HOSTCC scripts/kallsyms
> HOSTCC scripts/conmakehash
> CC arch/xtensa/kernel/asm-offsets.s
> In file included from include/linux/nodemask.h:82,
> from include/linux/sched.h:17,
> from arch/xtensa/kernel/asm-offsets.c:18:
> include/linux/numa.h:7:26: asm/numnodes.h: No such file or directory
> make[1]: *** [arch/xtensa/kernel/asm-offsets.s] Error 1
> make: *** [arch/xtensa/kernel/asm-offsets.s] Error 2
>
> 2. O= support
> $ mkdir /tmp/x
> $ make mrproper
> $ make ARCH=xtensa CROSS_COMPILE=xtensa-linux- O=/tmp/x defconfig
> [ ... ]
> $ make ARCH=xtensa CROSS_COMPILE=xtensa-linux- O=/tmp/x
> Using /usr/src/ctest/oo/kernel as source for kernel
> GEN /tmp/x/Makefile
> CHK include/linux/version.h
> UPD include/linux/version.h
> SYMLINK include/asm -> include/asm-xtensa
> GEN /tmp/x/Makefile
> scripts/kconfig/conf -s arch/xtensa/Kconfig
> #
> # using defaults found in .config
> #
> SPLIT include/linux/autoconf.h -> include/config/*
> Setting up cpu (linux_be) and platform (xt2000) symlinks
> /bin/sh: line 1: cd: include/asm-xtensa/: No such file or directory
> /bin/sh: line 1: cd: include/asm-xtensa/xtensa: No such file or directory
>
> then a lots of follow up errors.
>
> $ xtensa-linux-gcc -v
> Reading specs from /usr/cc/xtensa/lib/gcc-lib/xtensa-linux/3.3.6/specs
> Configured with: ../configure --prefix=/usr/cc --exec-prefix=/usr/cc/xtensa --target=xtensa-linux --disable-shared --disable-werror --disable-nls
> --disable-threads --disable-werror --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c
> Thread model: single
> gcc version 3.3.6
> $ xtensa-linux-ld -v
> GNU ld version 2.15.94.0.2.2 20041220
>
> It would be nice if you could fix these issues.
>
> Thanks,
>

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

\
 
 \ /
  Last update: 2005-06-25 18:25    [W:0.067 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site