That's true, but these particular errors may be from the __delay function being patched for M5 in a way that's incompatible with the SPARC build of the kernel or that particular version. You could try not applying M5 patches (assuming you've applied them), or try a different version of the kernel. That being said, though, Ali's still right that no one (to our knowledge) has attempted to run Linux on SPARC_FS and there's a reasonable chance it won't work. It may or may not be easy to get it going but you're of course welcome to try. If it just works or you get it to work, please let us know.

Gabe

Quoting Ali Saidi <[email protected]>:


I don't believe that anyone has run Linux on SPARC full system on M5. Only Solaris has been run.

Ali


On Tue, 14 Dec 2010 11:59:58 +0530, "Sudhanshu(Duke)" <[email protected]> wrote:
If someone who has compiled for sparc64, please help. I tried
compiling using make 3.81 and got the following error. What is __delay
fuction used for? And how do I overcome it?
[wiz...@dungeon sparc64]$ /usr/local/bin/make ARCH=sparc64

CROSS_COMPILE=~/repos/m5/m5extra/cc/sparc64/bin/sparc64-unknown-linux-gnu-
vmlinux
 CHK     include/linux/version.h
 CHK     include/linux/utsrelease.h
 CALL    scripts/checksyscalls.sh
 CHK     include/linux/compile.h
 CC      init/calibrate.o
init/calibrate.c: In function `calibrate_delay':
init/calibrate.c:150: error: too many arguments to function `__delay'
init/calibrate.c:168: error: too many arguments to function `__delay'
make[1]: *** [init/calibrate.o] Error 1
make: *** [init] Error 2

Make 3.82 doesn't work too as it gave:
Makefile:1601: *** mixed implicit and normal rules.  Stop.

Any suggestion will be appreciated.(and during configuration I kept on
pressing enter key)

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users



_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to