I sincerely thank both Saidi sir and Tao sir..... I followed both suggestions..
1.) I downloaded the recent version of gem5 rather than using the stable version.... 2.) I used gcc 4.4.2..... Now i got my system running successfully.... Thank you very much... On 11/10/11, Tao Zhang <[email protected]> wrote: > Hi Meeran, > > GCC4.1.2 is buggy to compile GEM5. please change the compiler ( i have > used 4.4.2 and 4.5.0, both are fine) and try again. > > -Tao > > On 11/10/2011 07:07 AM, Meeran Mohideeen wrote: >> Thank you Sir, >> >> I tried your help. I downloaded the recent version of >> m5(gem5-2fc7787f47a9) from the defvelopment repository and tried to >> compile the ALPHA_FS system. But i got the following error. >> [ CXX] ALPHA_FS/mem/ruby/profiler/AddressProfiler.cc -> .o >> build/ALPHA_FS/mem/ruby/profiler/AddressProfiler.cc: In function 'void >> printSorted(std::ostream&, int, const AddressMap&, std::string)': >> build/ALPHA_FS/mem/ruby/profiler/AddressProfiler.cc:83: error: >> ambiguous overload for 'operator<<' in 'std::operator<< [with _Traits >> = std::char_traits<char>](((std::basic_ostream<char, >> std::char_traits<char> >&)((std::ostream*)out)), ((const >> char*)"Total_entries_")) << description' >> ...................................................... >> >> And >> >> When i run the previously compiled system from stable version. The gdb >> is showing something the below information. >> >> (gdb)continue >> continuing >> .......................... >> .......................... >> gem5 Simulator System. http://gem5.org >> gem5 is copyrighted software; use the --copyright option for details. >> >> gem5 compiled Nov 9 2011 09:47:22 >> gem5 started Nov 10 2011 04:02:38 >> gem5 executing on localhost.localdomain >> command line: >> /home/meeran/gem5-stable-b9ba22cb23f2/build/ALPHA_FS/gem5.opt >> configs/example/fs.py >> Global frequency set at 1000000000000 ticks per second >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x081e6ac0 in System (this=0x9905fd8, p=0x981ce30) >> at build/ALPHA_FS/sim/system.cc:97 >> 97 mem_port = physmem->getPort("functional"); >> (gdb) >> >> What this means... How can i get rectified..... >> >> Please help me....... >> >> >> >> On Thu, Nov 10, 2011 at 8:29 AM, Ali Saidi <[email protected] >> <mailto:[email protected]>> wrote: >> >> We'll need a gdb backtrace to have any idea what is going on, but >> a good first step is to try the latest version of the development >> repository (as opposed to the stable one which you're currently >> using). >> >> Ali >> >> On Wed, 9 Nov 2011 23:28:19 +0530, Meeran Mohideeen >> <[email protected] <mailto:[email protected]>> wrote: >> >>> Hi ALL >>> >>> I am newbie to gem5. I am trying to run a ALPHA_FS system with >>> linux which i got from the gem5 website. >>> >>> When i run the simulation i am getting a segmentation fault. Like >>> below. >>> >>> [root@localhost meeran]# >>> gem5-stable-b9ba22cb23f2/build/ALPHA_FS/gem5.opt >>> gem5-stable-b9ba22cb23f2/configs/example/fs.py >>> gem5 Simulator System. http://gem5.org >>> gem5 is copyrighted software; use the --copyright option for details. >>> >>> gem5 compiled Nov 9 2011 09:47:22 >>> gem5 started Nov 9 2011 09:56:45 >>> gem5 executing on localhost.localdomain >>> command line: gem5-stable-b9ba22cb23f2/build/ALPHA_FS/gem5.opt >>> gem5-stable-b9ba22cb23f2/configs/example/fs.py >>> Global frequency set at 1000000000000 ticks per second >>> Segmentation fault >>> [root@localhost meeran]# >>> >>> >>> Please help me.... >>> >> >> _______________________________________________ >> gem5-users mailing list >> [email protected] <mailto:[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
