[PTLsim-devel] Anyone could help me??

g_lqyan at stu.edu.cn
Mon Oct 22 03:18:54 EDT 2007


Sorry, I forget to tell you my development environment.
The version of my g++ is 4.1.2,  and the version of svn is 1.4.4
I look forward to your help. Thanks.

Dear all,
I have successfully compiled the latest PTLsim in my computer, but it is 32bits,
it could not catch the "stoprip" point, so I recompile the source code in a
64bits computer. But the are so much errors, as the following, could you tell me
how to fix it? Thanks.
BTW, When I run PTLsim in my computer, which kernel is 32bits. Would you like to
tell me how to get the high accruracy runtime of a program. When I run a program
in PTLsim, I could get the simulated cycles and simulated time, but I found both
of them are bigger than the runtime of the program running on my original OS,
linux.  Would you like to tell me why? Any suggestions from you are appreciated.
I look forwards you help. Thanks.

The Error tips When I recomplie PTLsim,
.......................................
./kernel.h:363: warning: converting to non-pointer type ?Waddr? from NULL
g++ -O99 -g -fomit-frame-pointer -pipe -march=k8 -falign-functions=16
-funroll-loops -funit-at-a-time -minline-all-stringops -fno-trapping-math
-fno-stack-protector -fno-exceptions -fno-rtti -funroll-loops
-mpreferred-stack-boundary=4 -fno-strict-aliasing -Wreturn-type 
-D__PTLSIM_OOO_ONLY__ -I. -DBUILDHOST="`hostname -f`" -DSVNREV="`LANG=C; svn
info | grep "Last Changed Rev" | cut -d " " -f4`" -DSVNDATE="`LANG=C; svn info |
grep "Last Changed Date" | cut -d " " -f4`" -c decode-sse.cpp
./kernel.h: In member function ?Waddr Context::check_and_translate(Waddr, int,
bool, bool, int&, PageFaultErrorCode&, PTEUpdate&, Level1PTE&)?:
./kernel.h:363: warning: converting to non-pointer type ?Waddr? from NULL
g++ -O99 -g -fomit-frame-pointer -pipe -march=k8 -falign-functions=16
-funroll-loops -funit-at-a-time -minline-all-stringops -fno-trapping-math
-fno-stack-protector -fno-exceptions -fno-rtti -funroll-loops
-mpreferred-stack-boundary=4 -fno-strict-aliasing -Wreturn-type 
-D__PTLSIM_OOO_ONLY__ -I. -DBUILDHOST="`hostname -f`" -DSVNREV="`LANG=C; svn
info | grep "Last Changed Rev" | cut -d " " -f4`" -DSVNDATE="`LANG=C; svn info |
grep "Last Changed Date" | cut -d " " -f4`" -c uopimpl.cpp
./kernel.h: In member function ?Waddr Context::check_and_translate(Waddr, int,
bool, bool, int&, PageFaultErrorCode&, PTEUpdate&, Level1PTE&)?:
./kernel.h:363: warning: converting to non-pointer type ?Waddr? from NULL
{standard input}: Assembler messages:
{standard input}:195: Error: suffix or operands invalid for `movq'
{standard input}:195: Error: suffix or operands invalid for `movq'
{standard input}:215: Error: suffix or operands invalid for `movq'
{standard input}:215: Error: suffix or operands invalid for `movq'
{standard input}:235: Error: suffix or operands invalid for `movq'
{standard input}:235: Error: suffix or operands invalid for `movq'
{standard input}:255: Error: suffix or operands invalid for `movq'
{standard input}:255: Error: suffix or operands invalid for `movq'
............................
{standard input}:147846: Error: suffix or operands invalid for `movq'
{standard input}:147846: Error: suffix or operands invalid for `movq'
{standard input}:147858: Error: suffix or operands invalid for `movq'
{standard input}:147882: Error: suffix or operands invalid for `movq'
{standard input}:147882: Error: suffix or operands invalid for `movq'
{standard input}:147894: Error: suffix or operands invalid for `movq'
{standard input}:147918: Error: suffix or operands invalid for `movq'
{standard input}:147918: Error: suffix or operands invalid for `movq'
{standard input}:147930: Error: suffix or operands invalid for `movq'
make: *** [uopimpl.o] ?? 1





-------------------------------------------------
This mail sent through STU: http://www.stu.edu.cn



More information about the PTLsim-devel mailing list