From rvanka at ncsu.edu Tue Aug 9 14:59:39 2011 From: rvanka at ncsu.edu (Rajeshwar Vanka) Date: Tue, 9 Aug 2011 14:59:39 -0700 Subject: [PTLsim-devel] make problem on PTLSim on Mac OS 10.6.6 Message-ID: Hi, I downloaded the latest stable version of PTLSim from the git repo, and typed "make" to make the simulator. I get the following error: " svn: '.' is not a working copy rm -fv ptlsim ptlstats ptlctl ptlxen.bin ptlxen.bin.debug usage.txt cpuid ptlsim.dst dstbuild.temp dstbuild.temp.cpp stats.i makeusage *.o core core.[0-9]* .depend *.gch .depend svn: '.' is not a working copy 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 -fno-stack-protector -Wreturn-type -D_FORTIFY_SOURCE=0 -D__PTLSIM_OOO_ONLY__ -I. -DBUILDHOST="`hostname -f`" -DSVNREV="0" -DSVNDATE="unknown" -MM ptlsim.cpp kernel.cpp mm.cpp superstl.cpp ptlhwdef.cpp decode-core.cpp decode-fast.cpp decode-complex.cpp decode-x87.cpp decode-sse.cpp lowlevel-64bit.S lowlevel-32bit.S linkstart.S linkend.S uopimpl.cpp dcache.cpp config.cpp datastore.cpp injectcode.cpp ptlcalls.c cpuid.cpp ptlstats.cpp klibc.cpp glibc.cpp mathlib.cpp syscalls.cpp makeusage.cpp ooocore.cpp ooopipe.cpp oooexec.cpp seqcore.cpp branchpred.cpp > .depend svn: '.' is not a working copy 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 -fno-stack-protector -Wreturn-type -D_FORTIFY_SOURCE=0 -D__PTLSIM_OOO_ONLY__ -I. -DBUILDHOST="`hostname -f`" -DSVNREV="0" -DSVNDATE="unknown" -c linkstart.S linkstart.S:10:Expected comma after segment-name linkstart.S:10:Rest of line ignored. 1st junk character valued 46 (.). linkstart.S:12:Unknown pseudo-op: .previous make: *** [linkstart.o] Error 1 " On checking forums online, I found that the error might be due to the fact that I am building on a 64-bit platform and the assembly insts in the linkstart.S were 32-bit instructions. But adding "-m32" didnt' help. Please help me resolve this problem. Thanks Rajesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.ptlsim.org/pipermail/ptlsim-devel/attachments/20110809/468d917b/attachment.htm