On Mon, 13 Aug 2012, jinsong wrote:

Hi, Nilay: Following your suggestion, I applied the patch you mentioned to gem5 (the one you released in 12th, August, is it?). Below is the results:

jinsong@ubuntu:~/gem5$ patch -p1  < bug.patch
patching file src/arch/alpha/system.hh
patching file src/arch/alpha/system.cc

However, during the rebuilding process, error occurred which hasn't been met 
before. The reported error is as follow:
[     CXX] 
ALPHA_MOESI_hammer_patched/cpu/testers/directedtest/RubyDirectedTester.cc -> .o
In file included from 
build/ALPHA_MOESI_hammer_patched/mem/ruby/system/System.hh:43:0,
                from 
build/ALPHA_MOESI_hammer_patched/mem/ruby/system/RubyPort.hh:49,
                from 
build/ALPHA_MOESI_hammer_patched/cpu/testers/directedtest/RubyDirectedTester.hh:40,
                from 
build/ALPHA_MOESI_hammer_patched/cpu/testers/directedtest/DirectedGenerator.hh:33,
                from 
build/ALPHA_MOESI_hammer_patched/cpu/testers/directedtest/RubyDirectedTester.cc:42:
build/ALPHA_MOESI_hammer_patched/mem/ruby/system/MemoryVector.hh: In member 
function 'void MemoryVector::populatePages(uint8*)':
build/ALPHA_MOESI_hammer_patched/mem/ruby/system/MemoryVector.hh:228:17: error: 
statement has no effect [-W error=unused-value]
cc1plus: all warnings being treated as errors
scons: *** 
[build/ALPHA_MOESI_hammer_patched/cpu/testers/directedtest/RubyDirectedTester.o]
 Error 1
scons: building terminated because of errors.

So any suggestion? Thank you very much!


I am surprised that you did not even try to check why the compiler is complaining about line 228 in MemoryVector.hh. Since, I regularly compile gem5 without any problems, I am confident that you made some changes to that file because of which the compiler is having problems.

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

Reply via email to