From: Christian Zankel <chris@zankel.net>
To: Jan Dittmer <jdittmer@ppp0.net>
Cc: czankel@tensilica.com, Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: arch xtensa does not compile
Date: Sat, 25 Jun 2005 09:28:18 -0700 [thread overview]
Message-ID: <42BD8622.8060506@zankel.net> (raw)
In-Reply-To: <42BD6557.9070102@ppp0.net>
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,
>
next prev parent reply other threads:[~2005-06-25 16:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-25 14:08 arch xtensa does not compile Jan Dittmer
2005-06-25 16:28 ` Christian Zankel [this message]
2005-07-03 15:58 ` Jan Dittmer
2005-07-04 6:51 ` Christian Zankel
2005-07-10 3:42 ` Christian Zankel
2005-07-10 11:12 ` Jan Dittmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42BD8622.8060506@zankel.net \
--to=chris@zankel.net \
--cc=czankel@tensilica.com \
--cc=jdittmer@ppp0.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox