I use 64bit machine, and the gcc version is 4.1.2 20070925 (Red Hat 4.1.2-33) I turn the Werror off, and it can generate simulator.
--------------------------------------------------------------------------------------------------------------------------------- [linjiah@localhost gem5_dir]$ uname -a Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:18:33 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux [linjiah@localhost codec]$ gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20070925 (Red Hat 4.1.2-33) [linjiah@localhost codec]$ --------------------------------------------------------------------------------------------------------------------------------- On Tue, Jul 12, 2011 at 7:09 PM, Gabriel Michael Black < [email protected]> wrote: > You shouldn't have to do this, you should fix the warnings. Of course you > can do whatever you want, but sometimes the warnings can tip you of to real > problems. > > Gabe > > > Quoting Digant <[email protected]>: > > disable Werror or Wall from /src/SConscript >> >> Regards, >> Digant Desai. >> >> >> >> On Tue, Jul 12, 2011 at 11:30, xxx <[email protected]> wrote: >> >> Hello, >>> When I try to make ALPHA_SE simulator, I meet the following problem. >>> How can I turn off "warnings being treated as errors" ? >>> ------------------------------ >>> ------------------------------**- >>> Using saved variables file >>> /home/linjiah/gem5_dir/gem5_1/**gem5/build/variables/ALPHA_SE >>> scons: done reading SConscript files. >>> scons: Building targets ... >>> [ CXX] ALPHA_SE/arch/alpha/atomic_**simple_cpu_exec.cc -> .o >>> cc1plus: warnings being treated as errors >>> build/ALPHA_SE/arch/generic/**memhelpers.hh: In function 'Fault >>> writeMemAtomic(XC*, Trace::InstRecord*, const MemT&, Addr, unsigned int, >>> uint64_t*) [with XC = AtomicSimpleCPU, MemT = double]': >>> build/ALPHA_SE/arch/alpha/**atomic_simple_cpu_exec.cc:**1965: >>> instantiated >>> from here >>> build/ALPHA_SE/arch/generic/**memhelpers.hh:95: warning: converting to >>> 'long >>> unsigned int' from 'double' >>> scons: *** [build/ALPHA_SE/arch/alpha/**atomic_simple_cpu_exec.o] Error >>> 1 >>> scons: building terminated because of errors. >>> ------------------------------**------------------------------ >>> >>> L.J >>> >>> ______________________________**_________________ >>> gem5-users mailing list >>> [email protected] >>> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users> >>> >>> >> > > ______________________________**_________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users> >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
