Hello,

I had a similar problem using Ubuntu 10.04. I installed the older gcc-4.1 and g++-4.1 started the building with "scons CC=gcc-4.1 CXX=g++-4.1....". This fixed the problem in my case. I hope this helps.

regards
    Fabian


Am 28.07.2010 09:55, schrieb MJose Díaz:

Hello

I am an graduate student and I am interested in the M5 simulator. The Operating system installed is Ubuntu 10.04 LST. I have downloaded Full System Files and I have installed all necessary libraries ( gcc-4.4, python2.6, scons 1.2.0, swig, zlib and m4). However, I have next problem when I try build some target:

mjd...@mjdiaz:/dist/m5$ sudo scons build/ALPHA_FS/m5.opt
scons: Reading SConscript files ...
.hg directory not found
Checking for leading underscore in global variables...(cached) no
Checking for C header file Python.h... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library dl... (cached) yes
Checking for C library util... (cached) yes
Checking for C library m... (cached) yes
Checking for C library python2.6... (cached) yes
Checking for accept(0,0,0) in C++ library None... (cached) yes
Checking for zlibVersion() in C++ library z... (cached) yes
Checking for C header file fenv.h... (cached) yes
Reading /dist/m5/src/arch/mips/SConsopts
Reading /dist/m5/src/arch/arm/SConsopts
Reading /dist/m5/src/arch/x86/SConsopts
Reading /dist/m5/src/arch/sparc/SConsopts
Reading /dist/m5/src/arch/alpha/SConsopts
Reading /dist/m5/src/mem/ruby/SConsopts
Reading /dist/m5/src/mem/protocol/SConsopts
Reading /dist/m5/src/cpu/o3/SConsopts
Reading /dist/m5/src/cpu/simple/SConsopts
Reading /dist/m5/src/cpu/ozone/SConsopts
Reading /dist/m5/src/cpu/inorder/SConsopts
Building in /dist/m5/build/ALPHA_FS
Using saved variables file /dist/m5/build/variables/ALPHA_FS
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/ALPHA_FS/mem/cache/base.o -c -Wno-deprecated -pipe -fno-strict-aliasing -Wall -Wno-sign-compare -Wundef -g -O3 -Werror -DTHE_ISA=ALPHA_ISA -DTRACING_ON=1 -Ibuild/gzstream -Ibuild/libelf -Iext -I/usr/include/python2.6 -Ibuild/ALPHA_FS build/ALPHA_FS/mem/cache/base.cc
cc1plus: warnings being treated as errors
build/ALPHA_FS/sim/eventq.hh: In member function 'void BaseCache::CachePort::clearBlocked()': build/ALPHA_FS/sim/eventq.hh:474: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false
scons: *** [build/ALPHA_FS/mem/cache/base.o] Error 1
scons: building terminated because of errors.
mjd...@mjdiaz:/dist/m5$

I don't undertand what happens.
Can you help me, please?

Thank you very much

--
--------------------------------------------------------------
Un saludo
Mª José Díaz Álvarez
Arquitectura y Tecnología de los Computadores
Centro Universitario de Mérida
06800-Mérida


_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


--
Karlsruhe Institute of Technology (KIT)
Chair of Dependable Nano Computing (CDNC)
Institut für Technische Informatik (ITEC)

Dipl.-Math. techn. Fabian Oboril
Research Associate

Haid-und-Neu-Str. 7
Building 07.21
76131 Karlsruhe, Germany

Phone: +49 721 608-4859
Fax:   +49 721 608-3962
Email: fabian.oboril?kit edu
Web:   http://cdnc.itec.kit.edu/

KIT -- University of the State of Baden-Wuerttemberg and
National Research Center of the Helmholtz Association

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to