[Linux-Xtensa] Re: invalid register number?

Piet Delaney pdelaney at tensilica.com
Tue Jan 10 13:45:03 PST 2012


Jim Li wrote:

*Hi Jim:
*
>
> Hi Piet,
>
> I had some time recently to revisit my linux endeavor.
>
> I am compiling the linux kernel (and buildroot) for ISS.
>
> The buildroot seems ok. But kernel build gives me error:
>
> /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux{415}% 
> make O=../build-iss ARCH=xtensa >& mymake.log
>
> /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux{416}% 
>
>
> /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux{416}% 
> m mymake.log
>
> Using 
> /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux 
> as source for kernel
>
> GEN 
> /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/build-iss/Makefile
>
> CHK include/linux/version.h
>
> CHK include/linux/utsrelease.h
>
> SYMLINK include/asm -> include/asm-xtensa
>
> CALL 
> /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux/scripts/checksyscalls.sh
>
> <stdin>:1345:2: warning: #warning syscall sync_file_range not implemented
>
> <stdin>:1377:2: warning: #warning syscall timerfd_create not implemented
>
> <stdin>:1385:2: warning: #warning syscall fallocate not implemented
>
> <stdin>:1389:2: warning: #warning syscall timerfd_settime not implemented
>
> <stdin>:1393:2: warning: #warning syscall timerfd_gettime not implemented
>
> <stdin>:1397:2: warning: #warning syscall signalfd4 not implemented
>
> <stdin>:1401:2: warning: #warning syscall eventfd2 not implemented
>
> <stdin>:1405:2: warning: #warning syscall epoll_create1 not implemented
>
> <stdin>:1409:2: warning: #warning syscall dup3 not implemented
>
> <stdin>:1413:2: warning: #warning syscall pipe2 not implemented
>
> <stdin>:1417:2: warning: #warning syscall inotify_init1 not implemented
>
> CHK include/linux/compile.h
>
> CC arch/xtensa/mm/fault.o
>
> {standard input}: Assembler messages:
>
> {standard input}:17970: Error: invalid register number (235) for 'rsr' 
> instruction
>
> make[2]: *** [arch/xtensa/mm/fault.o] Error 1
>
> make[1]: *** [arch/xtensa/mm] Error 2
>
> make: *** [sub-make] Error 2
>
> The ISA says 235 is PRID. So why would rsr not recognize PRID?
>

*I just fixed the #ifdef XCHAL_HAVE_PRID and push it to the git repo.
Thanks for the heads up.
*
*-piet*

> Thanks and best regards,
>
> Jim
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-xtensa.org/pipermail/linux-xtensa/attachments/20120110/40859599/attachment.html


More information about the linux-xtensa mailing list