Pl. look at make file in m5thread test folder there are some example and see how they are compiled.
hope that helps On Mon, Mar 24, 2014 at 1:19 PM, Aditya Deshpande <[email protected]> wrote: > All, > > I am trying to run OpenMP code in gem5 simulator. I am getting this error > message during SE mode execution > fatal: syscall clock_gettime (#228) unimplemented. > @ cycle .... > [unimplementedFunc:build/X86_MESI_Two_Level/sim/syscall_emul.cc, line 83] > > I compiled the code to use m5thread library > the linker command used is > gcc -static -o benchmark1 $(OBJECTS) -lgomp ../pthread.o -lgomp -lm -lrt > > I had posted a similar question regarding compiling openmp code for gem5 > simulator here - > http://www.mail-archive.com/[email protected]/msg09591.html > > Is there something else that I need to do to get code properly compiled for > gem5 SE mode simulation. > > Any help would be appreciated. > > Regards, > Aditya > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
