Hi All,

I am trying to run NPB OpenMP benchmark code in X86 SE mode. I am getting
many errors during simulation like -
1. fatal: syscall clock_gettime (#228) unimplemented
..
[unimplementedFuncL build/X86_MESI_Two_Level/sim/syscall_emul.cc, line 83]

2. panic Tried to write unmapped address 0x6bf140
...
[invoke: build/X86_MESI_Two_Level/arch/x86/faults.cc, line 160]

I compiled the code with following options
CC = gcc
C_FLAGS = -O3 -fopenmp
CLINKFLAGS = -static -lgomp -lrt
CLIB  = ~/arch/m5threads/pthread.o -lgomp

The linker (gcc) uses both CLIB and CLINKFLAGS options.

I think part of the problem is with inclusion/integration of m5threads
library to replace pthread library in the code. Do I need to include files
from ~/gem5/util/m5 directory like m5op_x86.o or m5op_x86.S during
compilation. If so where should I include them in the compilation process?

Any help would be appreciated.

Regards,
Aditya Deshpande
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to