Gustavo Henrique Nihei wrote:
> Hi,
>
> I'm trying to make m5threads work with 32-bit SPARC applications.
> But the simulation is stopping on the following error:
>
> panic: Unimplemented trap to operating system: trap number 0x6d. @
> cycle 479500
>
> I modified the spinlock_sparc.h file according to
> ($gcc)/usr/include/asm-sparc/spinlock.h.
> Also changed __ELF_NATIVE_CLASS to 32 in tls_defs.h
>
> Should this trap be implemented or it is a erroneous scenario?
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

There was a thread related to this sort of message on m5-dev back around
July 12th of this year titled Re: [m5-dev] sparc64-linux writev syscall
patch / unhandled trap. You could try to find that in an archive
somewhere and see if it explains things. It looks like your 32 bit
application is trying to do a 64 bit syscall. Likely you need to add
something like -m32 to your command line, or maybe use a cross compiler
specifically for 32 bit.

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

Reply via email to