Hi Hagen, Thanks for your help. I update my gcc to 4.6.4 and the problem is solved.
Regards, Cheng On 14 Feb, 2014, at 0:28, Hagen, Andrew M. <[email protected]> wrote: > I was able to build for ARM with no trouble using gcc 4.6.3 (and now that I > checked the version, I should probably update to 4.7...) It could just be gcc > version issue. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Cheng Tan > Sent: Thursday, February 13, 2014 11:23 AM > To: [email protected] > Subject: [gem5-users] ARM build error > > Hi all, > > I am new to gem5. I clone the latest gem5 revision 10061 and use "scons > build/ARM/gem5.opt -j8" to build ARM, but I got the errors below, > > build/ARM/arch/arm/generated/timing_simple_cpu_exec.cc:231811: error: > 'destReg' may be used uninitialized in this function > build/ARM/arch/arm/generated/timing_simple_cpu_exec.cc:231294: error: > 'destReg' may be used uninitialized in this function > ... > > I use Ubuntu 10.04, and gcc version is 4.4.3. I will really appreciate any > help from the community. > > Regards, > Cheng > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
