Switching this over to the dev mailing list since it seems more suitable (and I don’t have a user account; need to rectify that at some point).
-Brandon From: Potter, Brandon Sent: Monday, October 17, 2016 9:25 AM To: 'Andreas Hansson' <[email protected]>; gem5 users mailing list <[email protected]> Subject: RE: [gem5-users] scons build error for Garnet 2.0 Yes, I can fix it, but it’s difficult to know what values are for Tru64. Can we deprecate Alpha already? It looks like the last commercial product that came out with Alpha was in 2007, almost a decade ago. I don’t think that I know anyone personally who uses a 10 year old computer. I don’t think that I’ve ever used an Alpha either to boot; wondering why I need to go out of my way to try to support it. Does anyone use Alpha outside of running our regressions? -Brandon From: Andreas Hansson [mailto:[email protected]] Sent: Monday, October 17, 2016 3:29 AM To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Cc: Potter, Brandon <[email protected]<mailto:[email protected]>> Subject: Re: [gem5-users] scons build error for Garnet 2.0 My bad, this is properly broken for ALPHA and tru64. In fact this was broken as part of: changeset: 11383:5ac090acd180 user: Brandon Potter <[email protected]<mailto:[email protected]>> date: Thu Mar 17 10:24:17 2016 -0700 summary: syscall_emul: extend mmap system call to support file backed mmap It was later fixed for Linux, but not tru64 it appears. Brandon, could you get this resolved? Thanks, Andreas From: gem5-users <[email protected]<mailto:[email protected]>> on behalf of Andreas Hansson <[email protected]<mailto:[email protected]>> Reply-To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Date: Monday, 17 October 2016 at 08:54 To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Subject: Re: [gem5-users] scons build error for Garnet 2.0 Just use clang (i.e. the default OSX compiler). Andreas From: gem5-users <[email protected]<mailto:[email protected]>> on behalf of "F. A. Faisal" <[email protected]<mailto:[email protected]>> Reply-To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Date: Saturday, 15 October 2016 at 14:22 To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Subject: Re: [gem5-users] scons build error for Garnet 2.0 I tried with another gcc, but the result is the same... $ port select --set gccmp-gcc49 $ port select --list gcc Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. Available versions for gcc: apple-gcc42 mp-gcc47 mp-gcc49 (active) none $ scons build/ALPHA_MOESI_hammer/gem5.debug build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:82:21: error: 'MAP_LOCKED' was not declared in this scope { TGT_MAP_LOCKED, MAP_LOCKED }, ^ build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:83:23: error: 'MAP_NONBLOCK' was not declared in this scope { TGT_MAP_NONBLOCK, MAP_NONBLOCK }, ^ build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:85:23: error: 'MAP_POPULATE' was not declared in this scope { TGT_MAP_POPULATE, MAP_POPULATE }, ^ build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:86:20: error: 'MAP_STACK' was not declared in this scope { TGT_MAP_STACK, MAP_STACK }, ^ scons: *** [build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.do] Error 1 scons: building terminated because of errors. Thanks... On Sat, Oct 15, 2016 at 10:06 PM, Abdul Mutaal <[email protected]<mailto:[email protected]>> wrote: Try with >=4.5 On Oct 15, 2016 2:56 PM, "F. A. Faisal" <[email protected]<mailto:[email protected]>> wrote: $ g++ -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.3.0 (clang-703.0.29) Target: x86_64-apple-darwin15.4.0 Thread model: posix On Sat, Oct 15, 2016 at 9:53 PM, Abdul Mutaal <[email protected]<mailto:[email protected]>> wrote: C++ version ? Thanks On Sat, Oct 15, 2016 at 2:01 PM, F. A. Faisal <[email protected]<mailto:[email protected]>> wrote: Dear All, I found the below errors while compiling through scons for latest gem5 integrated with garnet 2.0 (hg clone http://repo.gem5.org/gem5). $ scons build/ALPHA/gem5.debug build/ALPHA/arch/alpha/tru64/tru64.cc:83:23: error: use of undeclared identifier 'MAP_NONBLOCK'; did you mean 'TGT_MAP_NONBLOCK'? { TGT_MAP_NONBLOCK, MAP_NONBLOCK }, ^~~~~~~~~~~~ TGT_MAP_NONBLOCK build/ALPHA/arch/alpha/tru64/tru64.hh:78:27: note: 'TGT_MAP_NONBLOCK' declared here static const unsigned TGT_MAP_NONBLOCK = 0x10000; ^ build/ALPHA/arch/alpha/tru64/tru64.cc:85:23: error: use of undeclared identifier 'MAP_POPULATE'; did you mean 'TGT_MAP_POPULATE'? { TGT_MAP_POPULATE, MAP_POPULATE }, ^~~~~~~~~~~~ TGT_MAP_POPULATE build/ALPHA/arch/alpha/tru64/tru64.hh:80:27: note: 'TGT_MAP_POPULATE' declared here static const unsigned TGT_MAP_POPULATE = 0x08000; ^ build/ALPHA/arch/alpha/tru64/tru64.cc:86:20: error: use of undeclared identifier 'MAP_STACK' { TGT_MAP_STACK, MAP_STACK }, ^ build/ALPHA/arch/alpha/tru64/tru64.cc:92:15: error: invalid application of 'sizeof' to an incomplete type 'SyscallFlagTransTable []' sizeof(AlphaTru64::mmapFlagTable) / ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 errors generated. scons: *** [build/ALPHA/arch/alpha/tru64/tru64.do] Error 1 scons: building terminated because of errors. $ scons build/ALPHA_MOESI_hammer/gem5.debug build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:85:23: error: use of undeclared identifier 'MAP_POPULATE'; did you mean 'TGT_MAP_POPULATE'? { TGT_MAP_POPULATE, MAP_POPULATE }, ^~~~~~~~~~~~ TGT_MAP_POPULATE build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.hh:80:27: note: 'TGT_MAP_POPULATE' declared here static const unsigned TGT_MAP_POPULATE = 0x08000; ^ build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:86:20: error: use of undeclared identifier 'MAP_STACK' { TGT_MAP_STACK, MAP_STACK }, ^ build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:92:15: error: invalid application of 'sizeof' to an incomplete type 'SyscallFlagTransTable []' sizeof(AlphaTru64::mmapFlagTable) / ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 errors generated. scons: *** [build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.do] Error 1 scons: building terminated because of errors. Thanks for earliest reply. Best regards, F. A. Faisal _______________________________________________ gem5-users mailing list [email protected]<mailto:[email protected]> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- Regards, Abdul Mutaal LinkedIn : https://de.linkedin.com/in/abdulmutaalahmad Email : [email protected]<mailto:[email protected]> _______________________________________________ gem5-users mailing list [email protected]<mailto:[email protected]> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected]<mailto:[email protected]> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected]<mailto:[email protected]> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
