Hello,

I have built some cross compilers for MIPS using crosstools-ng, but gem5 always 
terminated with error messages below when execute the binary generated by the 
cross compiler.
Does someone has any idea about the configuration for MIPS cross compiler which 
could work for gem5?


I would appreciate if some one can shed some light on this.


Best regards,
Will


==========================================================================


$ build/MIPS/gem5.debug configs/example/se.py -c ~/hello 
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.


gem5 compiled Oct 16 2015 14:43:56
gem5 started Oct 20 2015 12:59:38
gem5 executing on Stormy
command line: build/MIPS/gem5.debug configs/example/se.py -c /home/fkong/hello
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (512 Mbytes)
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
tcmalloc: large alloc 18206143029444608 bytes == (nil) @  0x7fd0f3fa7126 
0xbfe6ab 0xe921ac 0xe8df87 0xa818c8 0xb38580 0x1540118 0xb36f41 0xb33ca6 
0xe547d6 0xe756fc 0xe7547d 0xc4ab54 0xc4ad10 0x7fd0f5019f43 0x7fd0f501b6b4 
0x7fd0f501a5c6 0x7fd0f501a666 0x7fd0f501a666 0x7fd0f501b6b4 0x7fd0f501b7d9 
0x7fd0f5019ec2 0x7fd0f501b6b4 0x7fd0f501a5c6 0x7fd0f501b6b4 0x7fd0f501b7d9 
0x7fd0f5034bdf 0x7fd0f5035a54 0xe5a684 0xa6350d 0x7fd0f332d790
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Program aborted at cycle 391500
Aborted (core dumped)

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to