Hi all, How can I change GEM5 to use GCC4.4 or 4.5 ? since I have updated to gcc 4.6.x , building GEM5 gives errors Like
[ CXX] ARM_FS/base/inet.cc -> .do build/ARM_FS/base/inet.cc: In member function 'bool Net::TcpOpt::sack(std::vector<Range<short unsigned int> >&) const': build/ARM_FS/base/inet.cc:262:39: error: expected primary-expression before ',' token build/ARM_FS/base/inet.cc:262:54: error: 'offsetof' was not declared in this scope scons: *** [build/ARM_FS/base/inet.do] Error 1 build/ARM_FS/base/inet.cc: In member function 'bool Net::TcpOpt::sack(std::vector<Range<short unsigned int> >&) const': build/ARM_FS/base/inet.cc:262:39: error: expected primary-expression before ',' token build/ARM_FS/base/inet.cc:262:54: error: 'offsetof' was not declared in this scope scons: *** [build/ARM_FS/base/inet.do] Error 1 scons: building terminated because of errors. * * *and here is my gcc,* * gcc -v* Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6.1/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) Thank you. Regards, Digant Desai.
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
