On Sat, 17 Mar 2012, Jinchun Kim wrote:
Hi, I'm trying to run simple Helloworld code on gem5.==================== #include <stdio.h> int main(void) { printf("Hello world!\n"); return 0; } ==================== I've compiled this code on my host machine(kernel : i686, version 3.0) and tried to run it on gem5 (x86 full system, x86_64, version 2.6.22.9). However, this segmentation fault message popped up and the code is not working. (none) Projects # ./c_test c_test[812]: segfault at 00000000000000c8 rip 00000000f7efbac7 rsp 00000000ffc8122c error 6 Segmentation fault (none) Projects # I can't understand why this error message showed up.
Which cpu type are you using? -- Nilay _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
