These errors are coming up because you are compiling Marss on 32 bit
machine/kernel.
Marss doesn't support 32 bit mode, please compile and run it on 64 bit
machine.
I'll add a configure check in next release to avoid this confusion.

- Avadh

On Wed, May 2, 2012 at 4:15 AM, Muhammad Yasir Qadri <[email protected]>wrote:

>  Hi
> I am new to MARSS as well. I have been following your messages closely. I
> had same problems like Sabeen. I went into QEMU directory and did
>
> 1. ./configure
> 2. make
> 3. make install
> That removed many errors, but am getting these now:
>
>  scons -Q
> running with -j4
>
> Machine 'private_L2' requires minimum of 2 contexts while you are
> compiling with 1 contexts. Skipping this machine 'private_L2'.
> Machine 'ooo_2_th' requires minimum of 2 contexts while you are compiling
> with 1 contexts. Skipping this machine 'ooo_2_th'.
> Machine 'moesi_private_L2' requires minimum of 2 contexts while you are
> compiling with 1 contexts. Skipping this machine 'moesi_private_L2'.
> Machine 'shared_l2' requires minimum of 2 contexts while you are compiling
> with 1 contexts. Skipping this machine 'shared_l2'.
> Compiling :: ptlsim/build/cache/bus.cpp ==> ptlsim/build/cache/bus.o
> Compiling :: ptlsim/build/cache/cacheTypes.cpp ==>
> ptlsim/build/cache/cacheTypes.o
> Compiling :: ptlsim/build/cache/coherentCache.cpp ==>
> ptlsim/build/cache/coherentCache.o
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/bus.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/bus.cpp:31:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> Compiling :: ptlsim/build/cache/cacheController.cpp ==>
> ptlsim/build/cache/cacheController.o
> In file included from ptlsim/build/cache/cacheTypes.cpp:12:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/coherentCache.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/build/cache/cacheTypes.cpp:12:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/sim/ptlsim.h:14,
>
>                  from ptlsim/build/cache/coherentCache.cpp:31:
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/cacheController.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/cacheController.cpp:31:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
>
> scons: *** [ptlsim/build/cache/coherentCache.o] Error 1
> scons: *** [ptlsim/build/cache/bus.o] Error 1
> scons: *** [ptlsim/build/cache/cacheTypes.o] Error 1
> scons: *** [ptlsim/build/cache/cacheController.o] Error 1
> root@yasir-desktop:/home/yasir/marss-0.3# scons -Q > dump.txt
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/bus.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/bus.cpp:31:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/build/cache/cacheTypes.cpp:12:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/build/cache/cacheTypes.cpp:12:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/cacheController.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/coherentCache.cpp:31:
> ptlsim/sim/globals.h:434: error: explicit template specialization cannot
> have a storage class
> In file included from ptlsim/sim/ptlsim.h:14,
>                  from ptlsim/build/cache/cacheController.cpp:31:
>
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
> In file included from ptlsim/sim/ptlsim.h:14,
>
>                  from ptlsim/build/cache/coherentCache.cpp:31:
> ptlsim/sim/globals.h: In function ‘unsigned int lsbindex64(W64)’:
> ptlsim/sim/globals.h:716: warning: unused variable ‘z’
>
> ptlsim/sim/globals.h: In function ‘unsigned int msbindex64(W64)’:
> ptlsim/sim/globals.h:749: warning: unused variable ‘z’
>
> scons: *** [ptlsim/build/cache/bus.o] Error 1
> scons: *** [ptlsim/build/cache/cacheTypes.o] Error 1
> scons: *** [ptlsim/build/cache/cacheController.o] Error 1
>
> scons: *** [ptlsim/build/cache/coherentCache.o] Error 1
>
>
> *Any help in this would be highly appreciated.*
> *Cheers*
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to