Re: arch xtensa does not compile

From: Jan Dittmer
Date: Sun Jul 03 2005 - 11:12:26 EST


Christian Zankel wrote:
> 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.

Current git tip (2.6.12-rc1-git5) still does not compile for me:

LD usr/built-in.o
AS arch/xtensa/kernel/align.o
AS arch/xtensa/kernel/entry.o
/usr/src/ctest/git/kernel/arch/xtensa/kernel/entry.S: Assembler messages:
/usr/src/ctest/git/kernel/arch/xtensa/kernel/entry.S:1612: Error: invalid register number (83) for 'rsr' instruction
make[2]: *** [arch/xtensa/kernel/entry.o] Error 1
make[1]: *** [arch/xtensa/kernel] Error 2
make: *** [_all] Error 2

I guess I'm using the wrong binutils version (2.15.94.0.2.2). Which is the
recommended gcc/binutils pair which is supposed to compile the kernel?

Reading specs from /usr/cc/xtensa/lib/gcc/xtensa-linux/3.4.4/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 --disable-libmudflap --with-newlib
--with-gnu-as --with-gnu-ld --enable-languages=c
Thread model: single
gcc version 3.4.4 20050513 (prerelease)

GNU ld version 2.15.94.0.2.2 20041220

Thanks,

--
Jan
-
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/