[gem5-users] Build error while adding statistics

2024-01-18 Thread Arth Shah via gem5-users
Hi everyone, I'm attempting to add statistics to the Classic cache's mshr_queue. There was no stats struct already so I tried to follow the steps in Bootcamp to add one. I see the following error though. Could you help? src/mem/cache/mshr_queue.cc:59:48: *error: no matching function for call to*

[gem5-users] Build Error 134

2023-08-04 Thread Kaiwen Xue via gem5-users
Hi, I'm new to gem5 and trying to follow the official tutorial [1] to build an x86 opt target from commit hash 48b4788. The compilation failed with Error 134. Outputs didn't seem to be meaningful - they are just normal building messages and ended with Error 134. I shall attach a detailed build ou

[gem5-users] Build Error

2018-10-02 Thread Shashwat Gupta
Hey, I’m trying to build gem5 on my mac using: scons build/ARM/gem5.opt Details: gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1 Apple LLVM version 10.0.0 (clang-

Re: [gem5-users] Build error for ARM full system mode build

2017-01-05 Thread SHARJEEL KHILJI
Hi, Thanks a lot for your help Pierre-Yves Péneau and Andreas Sandberg. I have downloaded and used the repository at https://github.com/gem5/gem5. I have also patched all the diffs in the Andreas email. But I get following error while building the targets scons build/ARM/gem5.fast PROTOCOL=MI_ex

Re: [gem5-users] Build error for ARM full system mode build

2016-12-14 Thread Andreas Sandberg
Hi Pierre and Sharjeel, I think there might still be some functionality in Anastasia’s GIT repo that hasn’t been merged. The patches I posted a few months ago were mainly addressing the configuration problem. At the moment, I don’t think Ruby will work at all if you try to use it with ARM. The

Re: [gem5-users] Build error for ARM full system mode build

2016-12-14 Thread Pierre-Yves Péneau
Hi, As fas as I know, this code is the result of a collaboration between our lab and ARM, and has been merged in the gem5 repository. See this email [1] from Andreas Sandberg sent on 22th July, one month after the final update on the git repository. Then, I think you should use the latest version

[gem5-users] Build error for ARM full system mode build

2016-12-14 Thread SHARJEEL KHILJI
Hi, I am trying to build ARM processor based NOC in gem5 in full system mode. I am trying with following scons build/ARM/gem5.fast PROTOCOL=MESI_Two_Level -j2 but I get following error while building the targets, build/ARM/mem/ruby/system/DMASequencer.cc: In member function 'virtual void DMASeq

[gem5-users] build error solaris

2012-12-05 Thread Saket Sardeshpande
Hi, I am trying to build gem5 on a Solaris(2.11)-SPARC machine. But when I give a scons build I am the getting the below error. I get this error irrespective of the fact, whether I try to build a ALPHA, X86 or SPARC simulator. Has anyone faced a similar problem or knows how to solve it? buil

Re: [gem5-users] build error about

2012-09-03 Thread Ali Saidi
/usr/include/fenv.h exists? Does your compiler know to look for it there? What platform and compiler are you using? Thanks, Ali On 03.09.2012 21:17, zhengchl wrote: > Hi, > > I have been used a old changeset 8642 for a long time, this is the log of the changeset: > >> _changeset: 8642:

[gem5-users] build error about

2012-09-03 Thread zhengchl
Hi, I have been used a old changeset 8642 for a long time, this is the log of the changeset: /changeset: 8642:549b72de8f72/ /tag: stable_2012_02_02/ /user:Ali Saidi / /date:Thu Dec 15 00:09:46 2011 -0500/ /summary: IO: Fix bug in DMA Device where re

Re: [gem5-users] Build error occured

2012-05-25 Thread WonSeob Jeong
Hi Sungup Thank you for your answer. I tried to build with latest developer version but same error occured. I think environment variable in my system or gcc configuration cause this problem. Could you give me a tip how to set directory to include header files in SConscturc? I'm newby to python an

Re: [gem5-users] Build error occured

2012-05-25 Thread Andreas Hansson
-users] Build error occured Oh, I'm sorry. I make a mistake about the scons file in gem5. In my compile environment with gcc 4.6.1, gem5 can be compiled clearly. How about add the compile option -Wno-unused-variable in the sconscript file in gem5 root directory? iPadから送信 On 2012. 5. 25., at

Re: [gem5-users] Build error occured

2012-05-25 Thread Sungup Moon
Oh, I'm sorry. I make a mistake about the scons file in gem5. In my compile environment with gcc 4.6.1, gem5 can be compiled clearly. How about add the compile option -Wno-unused-variable in the sconscript file in gem5 root directory? iPadから送信 On 2012. 5. 25., at 오후 8:58, Sungup Moon wrote: >

Re: [gem5-users] Build error occured

2012-05-25 Thread Sungup Moon
Hi What version of gem5 did you compile? Stable version has some problem of compile option in scons file about unused-variable option. Maybe gem5 development version (repo.gem5.org/gem5) has no problem over the gcc 4.6 version. Best regards Sungup Moon iPadから送信 On 2012. 5. 25., at 오후 7:13, Wo

[gem5-users] Build error occured

2012-05-25 Thread WonSeob Jeong
Hi all, When I build gem5, I got a error that g++ couldn't fild cassert. [ CXX] X86/kern/linux/printk.cc -> .o In file included from build/X86/kern/linux/printk.**cc:38:0: build/X86/sim/arguments.hh: In instantiation of 'Arguments::operator T*() [with T = const char]': build/X86/kern/linux/p

[gem5-users] Build error occured

2012-05-25 Thread WonSeob Jeong
Hi all, When I build gem5, I got a error that g++ couldn't fild cassert. [ CXX] X86/kern/linux/printk.cc -> .o In file included from build/X86/kern/linux/printk.cc:38:0: build/X86/sim/arguments.hh: In instantiation of 'Arguments::operator T*() [with T = const char]': build/X86/kern/linux/

Re: [gem5-users] Build Error due to ptrdiff_t

2012-05-02 Thread Andreas Hansson
Hi all, This is fixed in the gem5 repo (i.e. "non-stable"), also for gcc >= 4.6. Andreas From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On Behalf Of Andrew Cebulski Sent: 02 May 2012 07:57 To: gem5 users mailing list Subject: Re: [gem5-users] Build

Re: [gem5-users] Build Error due to ptrdiff_t

2012-05-01 Thread Andrew Cebulski
If I recall correctly, I experienced this before on an older version of gem5 when using gcc 4.6.0 or higher (regardless of version of swig I think) on Ubuntu. From the error output there, I see you're using gcc 4.6.0. Try installing gcc 4.5.3, then changing your gcc path to it. -Andrew On Wed,

[gem5-users] Build Error due to ptrdiff_t

2012-05-01 Thread James Stadtmiller
Hi, After following the steps here: http://gem5.org/BBench-gem5 I attempted scons build/ARM_FS/m5.debug (I've cloned the gem5-stable repository) I get the following error: [ CXX] ARM_FS/python/swig/stats_wrap.cc -> .do build/ARM_FS/python/swig/stats_wrap.cc:2698:13: error: 'ptrdiff_t' does

Re: [gem5-users] Build Error

2012-04-24 Thread Ali Saidi
the aforementioned patch was pushed I've been using 2.0.4 without any issues on MacOSX, Ubuntu and RHE5. >> >> Andreas >> >> FROM: gem5-users-boun...@gem5.org [1] [mailto:gem5-users-boun...@gem5.org [2]] ON BEHALF OF Steve Reinhardt >> SENT: 23 April 2012 16:

Re: [gem5-users] Build Error

2012-04-24 Thread Steve Reinhardt
; > ** ** > > *From:* gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] *On > Behalf Of *Steve Reinhardt > *Sent:* 23 April 2012 16:04 > > *To:* gem5 users mailing list > *Subject:* Re: [gem5-users] Build Error > > ** ** > > Are you saying that the 2.0.

Re: [gem5-users] Build Error

2012-04-24 Thread Nilay Vaish
d above" statement as that works absolutely fine these days. Andreas From: gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org> [mailto:gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] On Behalf Of Ali Saidi Sent: 22 April 2012 02:55 To: gem5 users

Re: [gem5-users] Build Error

2012-04-24 Thread Andreas Hansson
and RHE5. Andreas From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On Behalf Of Steve Reinhardt Sent: 23 April 2012 16:04 To: gem5 users mailing list Subject: Re: [gem5-users] Build Error Are you saying that the 2.0.x versions we claim are broken aren't actually bro

Re: [gem5-users] Build Error

2012-04-23 Thread Steve Reinhardt
Now I have and gem5 builds! > Thank you, > Amanda > -- > *From:* gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on > behalf of Steve Reinhardt [ste...@gmail.com] > *Sent:* Wednesday, April 18, 2012 8:01 PM > *To:* gem5 users mailing list > *Subject:*

Re: [gem5-users] Build Error

2012-04-23 Thread Steve Reinhardt
t; ** ** > > Andreas > > ** ** > > *From:* gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] *On > Behalf Of *Ali Saidi > *Sent:* 22 April 2012 02:55 > > *To:* gem5 users mailing list > *Subject:* Re: [gem5-users] Build Error > > ** ** >

Re: [gem5-users] Build Error

2012-04-23 Thread Andreas Hansson
t Subject: Re: [gem5-users] Build Error Should we update the minimum version of swig on the website to 1.3.40? Ali On Apr 19, 2012, at 9:48 AM, Thomas, Amanda J wrote: You're right, I wasn't installing the updated version of swig correctly. Now I have and gem5 bu

Re: [gem5-users] Build Error

2012-04-21 Thread Ali Saidi
m5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of > Steve Reinhardt [ste...@gmail.com] > Sent: Wednesday, April 18, 2012 8:01 PM > To: gem5 users mailing list > Subject: Re: [gem5-users] Build Error > > Are you sure scons is actually using the version of swig yo

Re: [gem5-users] Build Error

2012-04-18 Thread Thomas, Amanda J
l 18, 2012 8:01 PM To: gem5 users mailing list Subject: Re: [gem5-users] Build Error Are you sure scons is actually using the version of swig you've installed? I tried to recreate the error and couldn't. On my system with swig 1.3.40 the SWIG_Python_AddErrorMsg doesn't even

Re: [gem5-users] Build Error

2012-04-18 Thread Steve Reinhardt
Are you sure scons is actually using the version of swig you've installed? I tried to recreate the error and couldn't. On my system with swig 1.3.40 the SWIG_Python_AddErrorMsg doesn't even start until line 950, yet somehow in your compile you're getting an error on that function on line 870. I

Re: [gem5-users] Build Error

2012-04-18 Thread Thomas, Amanda J
I deleted the build directory in gem5 and tried to build it again, but the same error came up. Then I used swig 1.3.40 instead and the same thing happened again. (Both building gem5.debug since it's faster.) Nothing seems to change the error. -Amanda _

Re: [gem5-users] Build Error

2012-04-18 Thread Steve Reinhardt
e > version I'm using needs to use ARM_FS. > -Amanda > -- > *From:* gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on > behalf of Uri Wiener [uri.wie...@arm.com] > *Sent:* Wednesday, April 18, 2012 2:58 PM > > *To:* gem5 users mailing list > *Subject:* R

Re: [gem5-users] Build Error

2012-04-18 Thread Thomas, Amanda J
on behalf of Uri Wiener [uri.wie...@arm.com] Sent: Wednesday, April 18, 2012 2:58 PM To: gem5 users mailing list Subject: Re: [gem5-users] Build Error Hi Amanda, In addition, I think you better use ARM and not ARM_FS, which is by now deprecated. Regards, Uri From: gem5-users-boun...@gem5.org [m

Re: [gem5-users] Build Error

2012-04-18 Thread Uri Wiener
Hi Amanda, In addition, I think you better use ARM and not ARM_FS, which is by now deprecated. Regards, Uri From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On Behalf Of Steve Reinhardt Sent: 18 April 2012 19:52 To: gem5 users mailing list Subject: Re: [gem5-users] Build

Re: [gem5-users] Build Error

2012-04-18 Thread Steve Reinhardt
What version of gcc/g++ are you using? On Wed, Apr 18, 2012 at 11:48 AM, Thomas, Amanda J < amanda_tho...@student.uml.edu> wrote: > I still can't seem to get Gem5 to build. I've tried different versions of > gem5, different versions of python and swig, and all have the same error > when I build

Re: [gem5-users] Build Error

2012-04-18 Thread Thomas, Amanda J
I still can't seem to get Gem5 to build. I've tried different versions of gem5, different versions of python and swig, and all have the same error when I build gem5. Here is my output when I try to build gem5 with the following command: scons build/ARM_FS/m5.fast scons: Reading SConscript fil

Re: [gem5-users] Build Error

2012-04-11 Thread Thomas, Amanda J
Now when I try to build, there is an error that occurs: cc1plus: warnings being treated as errors build/ARM_FS/python/swig/core_wrap.cc: In function 'void SWIG_Python_AddErrorMsg(const char*)': build/ARM_FS/python/swig/core_wrap.cc:870: error: format not a string literal and no format arguments

Re: [gem5-users] Build Error

2012-04-11 Thread Thomas, Amanda J
gem5-users-boun...@gem5.org] on behalf of Steve Reinhardt [ste...@gmail.com] Sent: Wednesday, April 11, 2012 3:40 PM To: gem5 users mailing list Subject: Re: [gem5-users] Build Error The first time you build, scons will print a message telling you that it can't find the variables file, but i

Re: [gem5-users] Build Error

2012-04-11 Thread Steve Reinhardt
t; *From:* gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on > behalf of Thomas, Amanda J [amanda_tho...@student.uml.edu] > *Sent:* Wednesday, April 11, 2012 1:42 PM > *To:* gem5 users mailing list > > *Subject:* Re: [gem5-users] Build Error > > I have used t

Re: [gem5-users] Build Error

2012-04-11 Thread Thomas, Amanda J
-users-boun...@gem5.org] on behalf of Thomas, Amanda J [amanda_tho...@student.uml.edu] Sent: Wednesday, April 11, 2012 1:42 PM To: gem5 users mailing list Subject: Re: [gem5-users] Build Error I have used the most recent gem5 stable and dev separately and some other older versions and they all

Re: [gem5-users] Build Error

2012-04-11 Thread Thomas, Amanda J
, 2012 1:28 PM To: gem5-users@gem5.org Subject: Re: [gem5-users] Build Error No, you shouldn't need to do this. If you have a repository where SE and FS are merged, it should already exist and should work. You may just need to update your repository. If you have to use an older one for some r

Re: [gem5-users] Build Error

2012-04-11 Thread Gabe Black
> From: amanda_tho...@student.uml.edu > To: gem5-users@gem5.org > Date: Wed, 11 Apr 2012 13:57:13 + > Subject: [gem5-users] Build Error > > Hi > > I get an error when I'm trying to build gem5 with this command: > scons build/ARM/m5.fast

Re: [gem5-users] Build Error

2012-04-11 Thread xuxin
you need add variables file yourself, like this: PROTOCOL = 'MI_example' TARGET_ISA = 'ARM' CPU_MODELS = 'AtomicSimpleCPU,O3CPU,TimingSimpleCPU' From: amanda_tho...@student.uml.edu To: gem5-users@gem5.org Date: Wed, 11 Apr 2012 13:57:13 +0000 Subject: [gem5-users

Re: [gem5-users] Build Error

2012-04-11 Thread Ali Saidi
If you could give us the exact output, that would help. You might try deleting the build directory if it got corrupted in some way. Thanks, Ali On 11.04.2012 09:57, Thomas, Amanda J wrote: > Hi > I get an error when I'm trying to build gem5 with this command: > scons build/ARM/m5.fas

[gem5-users] Build Error

2012-04-11 Thread Thomas, Amanda J
Hi I get an error when I'm trying to build gem5 with this command: scons build/ARM/m5.fast It replies with the error that the variables file cannot be found. I'm not sure what to do, I've tried different versions of gem5 listed on the site, thinking maybe a different version has the file? Tha

Re: [gem5-users] build error on gcc-4.6

2011-07-13 Thread Mahmood Naderan
well I removed "const" and temporarily fixed that. -- // Naderan *Mahmood; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] build error on gcc-4.6

2011-07-13 Thread Gabe Black
On 07/13/11 02:53, Mahmood Naderan wrote: > I am trying to compile gem5 with gcc-4.6 however there are some errors > regarding uninitialized const variables > > build/X86_FS/arch/x86/decoder.cc:6542:42: error: uninitialized const > 'dummyExtMachInst' [-fpermissive] > > The line is: > static const E

[gem5-users] build error on gcc-4.6

2011-07-13 Thread Mahmood Naderan
I am trying to compile gem5 with gcc-4.6 however there are some errors regarding uninitialized const variables build/X86_FS/arch/x86/decoder.cc:6542:42: error: uninitialized const 'dummyExtMachInst' [-fpermissive] The line is: static const ExtMachInst dummyExtMachInst; What is the initial value