I looked at the error. Its because '-DGITBRANCH=(no branch)'
Because scons can't find any git branch and its setting GITBRANCH to '(no
branch)'.

Following is a simple patch that will check if your git branch is not valid,
then it sets GITBRANCH to UNKNOWN.
Let me know if this fix the issue or not.

- Avadh

diff --git a/ptlsim/SConstruct b/ptlsim/SConstruct
index 298cf26..a0afb73 100644
--- a/ptlsim/SConstruct
+++ b/ptlsim/SConstruct
@@ -98,6 +98,9 @@ try:
 except:
     pass

+if git_branch == "(no branch)":
+    git_branch = "UNKNOWN"
+
 env.Append(CCFLAGS = "-DGITBRANCH=%s -DGITCOMMIT=%s -DGITDATE='%s'" %
         (git_branch, git_comm, git_date))


On Wed, Aug 24, 2011 at 7:29 AM, sparsh1 mittal1 <[email protected]>wrote:

> Hello
> I downloaded core-models branch of marss yesterday. Firstly it did not
> compile with python version 2.5 in my machine. So I installed 2.7 (2.6 would
> be fine also, I think).
>
> Then while compiling, it gives following error(Shown below). Although
> syntax error is shown, but I cannot understand which line it refers to. I
> would be grateful for any help.
> I also issued
> $ scons -Q c=2
> but this also does not compile. (Shown below).
>
> Earlier I was working with marss.dramsim , that was OK; since it compiled
> and ran fine.
> Sparsh
>
> [sparsh@longWorkstation marss]$scons -Q config=config/default.conf
> running with -j8
> Machine 'private_L2' requires minimum of 2 contexts while you are compiling
> with 1 contexts. Skipping this machine 'private_L2'.
> Machine 'ooo_2_th' requires minimum of 2 contexts while you are compiling
> with 1 contexts. Skipping this machine 'ooo_2_th'.
> Machine 'shared_l2' requires minimum of 2 contexts while you are compiling
> with 1 contexts. Skipping this machine 'shared_l2'.
> g++ -g3 -O3 -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -I/home/sparsh/cdrive/marss/qemu
> -I/home/sparsh/cdrive/marss/qemu/target-i386
> -I/home/sparsh/cdrive/marss/qemu/fpu
> -I/home/sparsh/cdrive/marss/qemu/x86_64-softmmu
> -I/home/sparsh/cdrive/marss/ptlsim/cache
> -I/home/sparsh/cdrive/marss/ptlsim/core
> -I/home/sparsh/cdrive/marss/ptlsim/lib
> -I/home/sparsh/cdrive/marss/ptlsim/sim
> -I/home/sparsh/cdrive/marss/ptlsim/stats
> -I/home/sparsh/cdrive/marss/ptlsim/tools
> -I/home/sparsh/cdrive/marss/ptlsim/x86 -E -C ptlsim/stats/stats.h >
> ptlsim/build/stats.i
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -g3 -O3 -march=native -mtune=native -DDISABLE_ASSERT
> -DDISABLE_LOGGING -fno-trapping-math -fno-stack-protector -fno-exceptions
> -fno-rtti -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -I/home/sparsh/cdrive/marss/qemu
> -I/home/sparsh/cdrive/marss/qemu/target-i386
> -I/home/sparsh/cdrive/marss/qemu/fpu
> -I/home/sparsh/cdrive/marss/qemu/x86_64-softmmu
> -I/home/sparsh/cdrive/marss/ptlsim/cache
> -I/home/sparsh/cdrive/marss/ptlsim/core
> -I/home/sparsh/cdrive/marss/ptlsim/lib
> -I/home/sparsh/cdrive/marss/ptlsim/sim
> -I/home/sparsh/cdrive/marss/ptlsim/stats
> -I/home/sparsh/cdrive/marss/ptlsim/tools
> -I/home/sparsh/cdrive/marss/ptlsim/x86 -E -C "ptlsim/stats/stats.h" >
> "ptlsim/build/stats.i"'
> Compiling :: ptlsim/build/cache/bus.cpp ==> ptlsim/build/cache/bus.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/bus.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86 "ptlsim/build/cache/bus.cpp"'
> Compiling :: ptlsim/build/cache/cacheController.cpp ==>
> ptlsim/build/cache/cacheController.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/cacheController.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/cacheController.cpp"'
> Compiling :: ptlsim/build/cache/cacheTypes.cpp ==>
> ptlsim/build/cache/cacheTypes.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/cacheTypes.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/cacheTypes.cpp"'
> Compiling :: ptlsim/build/cache/coherentCache.cpp ==>
> ptlsim/build/cache/coherentCache.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/coherentCache.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/coherentCache.cpp"'
> Compiling :: ptlsim/build/cache/cpuController.cpp ==>
> ptlsim/build/cache/cpuController.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/cpuController.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/cpuController.cpp"'
> Compiling :: ptlsim/build/cache/dcache.cpp ==> ptlsim/build/cache/dcache.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/dcache.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86 "ptlsim/build/cache/dcache.cpp"'
> Compiling :: ptlsim/build/cache/memoryController.cpp ==>
> ptlsim/build/cache/memoryController.o
> scons: *** [ptlsim/build/stats.i] Error 2
> scons: *** [ptlsim/build/cache/bus.o] Error 2
> scons: *** [ptlsim/build/cache/cacheController.o] Error 2
> scons: *** [ptlsim/build/cache/cacheTypes.o] Error 2
> scons: *** [ptlsim/build/cache/coherentCache.o] Error 2
> scons: *** [ptlsim/build/cache/cpuController.o] Error 2
> scons: *** [ptlsim/build/cache/dcache.o] Error 2
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/memoryController.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -D__x86_64__ -DGITBRANCH=(no branch) -DGITCOMMIT=188228... -DGITDATE='Wed
> Aug 17 07:21:22 2011' -Iptlsim/core/default_core -Iptlsim/core/atom-core
> -fexceptions -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/memoryController.cpp"'
> scons: *** [ptlsim/build/cache/memoryController.o] Error 2
>
>
> [sparsh@longWorkstation marss]$ scons -Q c=2
> running with -j8
> Machine 'single_core' requires maximum of 1 contexts while you are
> compiling with 2 contexts. Skipping this machine 'single_core'.
> g++ -g3 -O3 -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -I/home/sparsh/cdrive/marss/qemu
> -I/home/sparsh/cdrive/marss/qemu/target-i386
> -I/home/sparsh/cdrive/marss/qemu/fpu
> -I/home/sparsh/cdrive/marss/qemu/x86_64-softmmu
> -I/home/sparsh/cdrive/marss/ptlsim/cache
> -I/home/sparsh/cdrive/marss/ptlsim/core
> -I/home/sparsh/cdrive/marss/ptlsim/lib
> -I/home/sparsh/cdrive/marss/ptlsim/sim
> -I/home/sparsh/cdrive/marss/ptlsim/stats
> -I/home/sparsh/cdrive/marss/ptlsim/tools
> -I/home/sparsh/cdrive/marss/ptlsim/x86 -E -C ptlsim/stats/stats.h >
> ptlsim/build/stats.i
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -g3 -O3 -march=native -mtune=native -DDISABLE_ASSERT
> -DDISABLE_LOGGING -fno-trapping-math -fno-stack-protector -fno-exceptions
> -fno-rtti -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -I/home/sparsh/cdrive/marss/qemu
> -I/home/sparsh/cdrive/marss/qemu/target-i386
> -I/home/sparsh/cdrive/marss/qemu/fpu
> -I/home/sparsh/cdrive/marss/qemu/x86_64-softmmu
> -I/home/sparsh/cdrive/marss/ptlsim/cache
> -I/home/sparsh/cdrive/marss/ptlsim/core
> -I/home/sparsh/cdrive/marss/ptlsim/lib
> -I/home/sparsh/cdrive/marss/ptlsim/sim
> -I/home/sparsh/cdrive/marss/ptlsim/stats
> -I/home/sparsh/cdrive/marss/ptlsim/tools
> -I/home/sparsh/cdrive/marss/ptlsim/x86 -E -C "ptlsim/stats/stats.h" >
> "ptlsim/build/stats.i"'
> Compiling :: ptlsim/build/cache/bus.cpp ==> ptlsim/build/cache/bus.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/bus.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86 "ptlsim/build/cache/bus.cpp"'
> Compiling :: ptlsim/build/cache/cacheController.cpp ==>
> ptlsim/build/cache/cacheController.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/cacheController.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/cacheController.cpp"'
> Compiling :: ptlsim/build/cache/cacheTypes.cpp ==>
> ptlsim/build/cache/cacheTypes.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/cacheTypes.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/cacheTypes.cpp"'
> Compiling :: ptlsim/build/cache/coherentCache.cpp ==>
> ptlsim/build/cache/coherentCache.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/coherentCache.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/coherentCache.cpp"'
> Compiling :: ptlsim/build/cache/cpuController.cpp ==>
> ptlsim/build/cache/cpuController.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/cpuController.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/cpuController.cpp"'
> Compiling :: ptlsim/build/cache/dcache.cpp ==> ptlsim/build/cache/dcache.o
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/dcache.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86 "ptlsim/build/cache/dcache.cpp"'
> scons: *** [ptlsim/build/stats.i] Error 2
> Compiling :: ptlsim/build/cache/memoryController.cpp ==>
> ptlsim/build/cache/memoryController.o
> scons: *** [ptlsim/build/cache/bus.o] Error 2
> scons: *** [ptlsim/build/cache/cacheController.o] Error 2
> scons: *** [ptlsim/build/cache/cacheTypes.o] Error 2
> scons: *** [ptlsim/build/cache/coherentCache.o] Error 2
> scons: *** [ptlsim/build/cache/cpuController.o] Error 2
> scons: *** [ptlsim/build/cache/dcache.o] Error 2
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `g++ -o "ptlsim/build/cache/memoryController.o" -c -include
> /home/sparsh/cdrive/marss/ptlsim/build/cache/cacheTypes.h -g3 -O3
> -march=native -mtune=native -DDISABLE_ASSERT -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=2 -DNEED_CPU_H
> -D__STDC_FORMAT_MACROS -DMARSS_QEMU -D__x86_64__ -DGITBRANCH=(no branch)
> -DGITCOMMIT=188228... -DGITDATE='Wed Aug 17 07:21:22 2011'
> -Iptlsim/core/default_core -Iptlsim/core/atom-core -fexceptions
> -DMONGO_HAVE_STDINT -Iqemu -Iqemu/target-i386 -Iqemu/fpu
> -Iqemu/x86_64-softmmu -Iptlsim/cache -Iptlsim/core -Iptlsim/lib -Iptlsim/sim
> -Iptlsim/stats -Iptlsim/tools -Iptlsim/x86
> "ptlsim/build/cache/memoryController.cpp"'
> scons: *** [ptlsim/build/cache/memoryController.o] Error 2
>
>
>
> Thanks and Regards
> Sparsh Mittal
>
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to