Discussion:
[gem5-dev] FW: [gem5-users] scons build error for Garnet 2.0
(too old to reply)
Potter, Brandon
2016-10-17 14:27:55 UTC
Permalink
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' <***@arm.com>; gem5 users mailing list <gem5-***@gem5.org>
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:***@arm.com]
Sent: Monday, October 17, 2016 3:29 AM
To: gem5 users mailing list <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
Cc: Potter, Brandon <***@amd.com<mailto:***@amd.com>>
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 <***@amd.com<mailto:***@amd.com>>
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 <gem5-users-***@gem5.org<mailto:gem5-users-***@gem5.org>> on behalf of Andreas Hansson <***@arm.com<mailto:***@arm.com>>
Reply-To: gem5 users mailing list <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
Date: Monday, 17 October 2016 at 08:54
To: gem5 users mailing list <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
Subject: Re: [gem5-users] scons build error for Garnet 2.0

Just use clang (i.e. the default OSX compiler).

Andreas

From: gem5-users <gem5-users-***@gem5.org<mailto:gem5-users-***@gem5.org>> on behalf of "F. A. Faisal" <***@gmail.com<mailto:***@gmail.com>>
Reply-To: gem5 users mailing list <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
Date: Saturday, 15 October 2016 at 14:22
To: gem5 users mailing list <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
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 <***@gmail.com<mailto:***@gmail.com>> wrote:

Try with >=4.5

On Oct 15, 2016 2:56 PM, "F. A. Faisal" <***@gmail.com<mailto:***@gmail.com>> 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 <***@gmail.com<mailto:***@gmail.com>> wrote:
C++ version ?

Thanks

On Sat, Oct 15, 2016 at 2:01 PM, F. A. Faisal <***@gmail.com<mailto:***@gmail.com>> 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
gem5-***@gem5.org<mailto:gem5-***@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Regards,
Abdul Mutaal
LinkedIn : https://de.linkedin.com/in/abdulmutaalahmad
Email : ***@gmail.com<mailto:***@gmail.com>


_______________________________________________
gem5-users mailing list
gem5-***@gem5.org<mailto:gem5-***@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


_______________________________________________
gem5-users mailing list
gem5-***@gem5.org<mailto:gem5-***@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________
gem5-users mailing list
gem5-***@gem5.org<mailto:gem5-***@gem5.org>
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.
Jason Lowe-Power
2016-10-17 14:33:41 UTC
Permalink
Hi Brandon,

We've had this discussion before. See this thread:
http://www.mail-archive.com/gem5-***@gem5.org/msg19380.html

In summary... I think we're planning on phasing out ALPHA, but that won't
happen in the very short term (weeks), but may happen in the medium term
(months).

Cheers,
Jason
Post by Potter, Brandon
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
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
Sent: Monday, October 17, 2016 3:29 AM
Subject: Re: [gem5-users] scons build error for Garnet 2.0
My bad, this is properly broken for ALPHA and tru64.
changeset: 11383:5ac090acd180
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
Date: Monday, 17 October 2016 at 08:54
Subject: Re: [gem5-users] scons build error for Garnet 2.0
Just use clang (i.e. the default OSX compiler).
Andreas
Date: Saturday, 15 October 2016 at 14:22
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'.
apple-gcc42
mp-gcc47
mp-gcc49 (active)
none
$ scons build/ALPHA_MOESI_hammer/gem5.debug
'MAP_LOCKED' was not declared in this scope
{ TGT_MAP_LOCKED, MAP_LOCKED },
^
'MAP_NONBLOCK' was not declared in this scope
{ TGT_MAP_NONBLOCK, MAP_NONBLOCK },
^
'MAP_POPULATE' was not declared in this scope
{ TGT_MAP_POPULATE, MAP_POPULATE },
^
'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...
Try with >=4.5
$ 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
C++ version ?
Thanks
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
'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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Regards,
Abdul Mutaal
LinkedIn : https://de.linkedin.com/in/abdulmutaalahmad
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
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
http://m5sim.org/mailman/listinfo/gem5-dev
Potter, Brandon
2016-10-17 14:45:46 UTC
Permalink
Well, it's good that someone else has similar feelings, but I feel that Alpha is more of a drag on development than Power or MIPS. I've run into several issues where I'd like to change a system call to be templated to give it more functionality and then I run into the issue of needing to a) keep the old non-templated version around for operating system where I cannot figure out the flags; b) search in dark places on the internet for said flags; c) make up values for said flags to make the compiler stop complaining. I haven't done c) yet with anything other than hacks, but it seems more and more appealing. At least with Linux, I can pull up the source, examine it, and try to reason about what the values for flags will be even if I can't run test programs to verify.

I don't know how anyone could actually use Tru64 or Alpha for research; one eventually needs to compile new applications and that seems like it would require a machine with the Alpha ISA (and Tru64). Cross compiling especially for older architectures is a headache so I'm at a loss as to why anyone would want to even bother with it.

-Brandon

-----Original Message-----
From: gem5-dev [mailto:gem5-dev-***@gem5.org] On Behalf Of Jason Lowe-Power
Sent: Monday, October 17, 2016 9:34 AM
To: gem5 Developer List <gem5-***@gem5.org>
Subject: Re: [gem5-dev] FW: [gem5-users] scons build error for Garnet 2.0

Hi Brandon,

We've had this discussion before. See this thread:
http://www.mail-archive.com/gem5-***@gem5.org/msg19380.html

In summary... I think we're planning on phasing out ALPHA, but that won't happen in the very short term (weeks), but may happen in the medium term (months).

Cheers,
Jason
Post by Potter, Brandon
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
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
Sent: Monday, October 17, 2016 3:29 AM
Cc: Potter, Brandon
Subject: Re: [gem5-users] scons build error for Garnet 2.0
My bad, this is properly broken for ALPHA and tru64.
changeset: 11383:5ac090acd180
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
Date: Monday, 17 October 2016 at 08:54
Subject: Re: [gem5-users] scons build error for Garnet 2.0
Just use clang (i.e. the default OSX compiler).
Andreas
Date: Saturday, 15 October 2016 at 14:22
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'.
apple-gcc42
mp-gcc47
mp-gcc49 (active)
none
$ scons build/ALPHA_MOESI_hammer/gem5.debug
'MAP_LOCKED' was not declared in this scope
{ TGT_MAP_LOCKED, MAP_LOCKED },
^
'MAP_NONBLOCK' was not declared in this scope
{ TGT_MAP_NONBLOCK, MAP_NONBLOCK },
^
'MAP_POPULATE' was not declared in this scope
{ TGT_MAP_POPULATE, MAP_POPULATE },
^
'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...
Try with >=4.5
$ g++ -v
--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
C++ version ?
Thanks
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
'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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Regards,
Abdul Mutaal
LinkedIn : https://de.linkedin.com/in/abdulmutaalahmad
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
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
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
gem5-***@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev
Gutierrez, Anthony
2016-10-17 15:37:00 UTC
Permalink
I would like to see this clarified before we ask Brandon to go work on fixing ALPHA. If it is going to be phased out in a matter of months, I don't think we should be asking him to waste his time on fixing it.

-----Original Message-----
From: gem5-dev [mailto:gem5-dev-***@gem5.org] On Behalf Of Jason Lowe-Power
Sent: Monday, October 17, 2016 7:34 AM
To: gem5 Developer List <gem5-***@gem5.org>
Subject: Re: [gem5-dev] FW: [gem5-users] scons build error for Garnet 2.0

Hi Brandon,

We've had this discussion before. See this thread:
http://www.mail-archive.com/gem5-***@gem5.org/msg19380.html

In summary... I think we're planning on phasing out ALPHA, but that won't happen in the very short term (weeks), but may happen in the medium term (months).

Cheers,
Jason
Post by Potter, Brandon
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
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
Sent: Monday, October 17, 2016 3:29 AM
Cc: Potter, Brandon
Subject: Re: [gem5-users] scons build error for Garnet 2.0
My bad, this is properly broken for ALPHA and tru64.
changeset: 11383:5ac090acd180
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
Date: Monday, 17 October 2016 at 08:54
Subject: Re: [gem5-users] scons build error for Garnet 2.0
Just use clang (i.e. the default OSX compiler).
Andreas
Date: Saturday, 15 October 2016 at 14:22
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'.
apple-gcc42
mp-gcc47
mp-gcc49 (active)
none
$ scons build/ALPHA_MOESI_hammer/gem5.debug
'MAP_LOCKED' was not declared in this scope
{ TGT_MAP_LOCKED, MAP_LOCKED },
^
'MAP_NONBLOCK' was not declared in this scope
{ TGT_MAP_NONBLOCK, MAP_NONBLOCK },
^
'MAP_POPULATE' was not declared in this scope
{ TGT_MAP_POPULATE, MAP_POPULATE },
^
'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...
Try with >=4.5
$ g++ -v
--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
C++ version ?
Thanks
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
'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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Regards,
Abdul Mutaal
LinkedIn : https://de.linkedin.com/in/abdulmutaalahmad
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
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
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
gem5-***@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev
Andreas Hansson
2016-10-17 20:30:30 UTC
Permalink
Hi all,

Why not grab the opportunity? Jason, what is the reason for the
weeks/months? Why couldn’t we remove Alpha this week if we decide that’s
the right thing to do?

Andreas

On 17/10/2016, 16:37, "gem5-dev on behalf of Gutierrez, Anthony"
Post by Gutierrez, Anthony
I would like to see this clarified before we ask Brandon to go work on
fixing ALPHA. If it is going to be phased out in a matter of months, I
don't think we should be asking him to waste his time on fixing it.
-----Original Message-----
Sent: Monday, October 17, 2016 7:34 AM
Subject: Re: [gem5-dev] FW: [gem5-users] scons build error for Garnet 2.0
Hi Brandon,
In summary... I think we're planning on phasing out ALPHA, but that won't
happen in the very short term (weeks), but may happen in the medium term
(months).
Cheers,
Jason
Post by Potter, Brandon
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
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
Sent: Monday, October 17, 2016 3:29 AM
Cc: Potter, Brandon
Subject: Re: [gem5-users] scons build error for Garnet 2.0
My bad, this is properly broken for ALPHA and tru64.
changeset: 11383:5ac090acd180
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
Date: Monday, 17 October 2016 at 08:54
Subject: Re: [gem5-users] scons build error for Garnet 2.0
Just use clang (i.e. the default OSX compiler).
Andreas
Date: Saturday, 15 October 2016 at 14:22
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'.
apple-gcc42
mp-gcc47
mp-gcc49 (active)
none
$ scons build/ALPHA_MOESI_hammer/gem5.debug
'MAP_LOCKED' was not declared in this scope
{ TGT_MAP_LOCKED, MAP_LOCKED },
^
'MAP_NONBLOCK' was not declared in this scope
{ TGT_MAP_NONBLOCK, MAP_NONBLOCK },
^
'MAP_POPULATE' was not declared in this scope
{ TGT_MAP_POPULATE, MAP_POPULATE },
^
'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...
Try with >=4.5
$ g++ -v
--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
C++ version ?
Thanks
On Sat, Oct 15, 2016 at 2:01 PM, F. A. Faisal
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
'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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Regards,
Abdul Mutaal
LinkedIn : https://de.linkedin.com/in/abdulmutaalahmad
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
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
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
http://m5sim.org/mailman/listinfo/gem5-dev
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.
Jason Lowe-Power
2016-10-17 21:04:06 UTC
Permalink
I just copied it from the previous email conversation, no real reason.
1. Let's prune a lot of the long regressions that don't add much value,
particularly for less-supported ISAs. Concretely, getting rid of all the
long SE-mode ALPHA tests is pretty low-hanging fruit here.
2. Let's make sure the wiki is up-to-date on the level of support provided
for various ISAs.
3. Let's add warnings, ideally at both compile time and run time, letting
users know when they are using a less-supported ISA.
4. Let's make the default Ruby protocol something useful, so that we can do
basic testing of both classic and Ruby memory systems with a single
compile.
ALPHA), instead of compiling it with four (!) different extra Ruby
protocols. If we really want to test multiple Ruby protocols, we might as
well at least do it using a well-supported ISA.
6. Let's give it another few days, but unless someone responds to my
pleading EIO email from 6/3, let's go ahead and ditch EIO support.
We did #6, but nothing else, as far as I know.

Also, Andreas S. suggested this, which we also ignored:

The ideal outcome of this discussion would be that we formalise
maintainers for all of the ISAs and come up with a plan for unmaintained
ISAs.
I have no problem removing ALPHA support now. Do you want to take the
responsibility, Andreas? We should first send a message to users giving
them a week or so to respond in case there's someone out there that's
actually using ALPHA. We should also make sure that most of the developers
are behind this idea. Maybe send out a vote email on gem5-dev and we can
hope for at least 4-5 +1 votes?

It would be great to get these other things done too, but I can't take the
responsibility right now. Maybe in a couple of months ;).

Cheers,
Jason
Hi all,
Why not grab the opportunity? Jason, what is the reason for the
weeks/months? Why couldn’t we remove Alpha this week if we decide that’s
the right thing to do?
Andreas
On 17/10/2016, 16:37, "gem5-dev on behalf of Gutierrez, Anthony"
Post by Gutierrez, Anthony
I would like to see this clarified before we ask Brandon to go work on
fixing ALPHA. If it is going to be phased out in a matter of months, I
don't think we should be asking him to waste his time on fixing it.
-----Original Message-----
Sent: Monday, October 17, 2016 7:34 AM
Subject: Re: [gem5-dev] FW: [gem5-users] scons build error for Garnet 2.0
Hi Brandon,
In summary... I think we're planning on phasing out ALPHA, but that won't
happen in the very short term (weeks), but may happen in the medium term
(months).
Cheers,
Jason
Post by Potter, Brandon
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
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
Sent: Monday, October 17, 2016 3:29 AM
Cc: Potter, Brandon
Subject: Re: [gem5-users] scons build error for Garnet 2.0
My bad, this is properly broken for ALPHA and tru64.
changeset: 11383:5ac090acd180
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
Date: Monday, 17 October 2016 at 08:54
Subject: Re: [gem5-users] scons build error for Garnet 2.0
Just use clang (i.e. the default OSX compiler).
Andreas
Date: Saturday, 15 October 2016 at 14:22
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'.
apple-gcc42
mp-gcc47
mp-gcc49 (active)
none
$ scons build/ALPHA_MOESI_hammer/gem5.debug
'MAP_LOCKED' was not declared in this scope
{ TGT_MAP_LOCKED, MAP_LOCKED },
^
'MAP_NONBLOCK' was not declared in this scope
{ TGT_MAP_NONBLOCK, MAP_NONBLOCK },
^
'MAP_POPULATE' was not declared in this scope
{ TGT_MAP_POPULATE, MAP_POPULATE },
^
'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...
Try with >=4.5
$ g++ -v
--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
C++ version ?
Thanks
On Sat, Oct 15, 2016 at 2:01 PM, F. A. Faisal
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
'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 },
^
invalid
Post by Gutierrez, Anthony
Post by Potter, Brandon
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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Regards,
Abdul Mutaal
LinkedIn : https://de.linkedin.com/in/abdulmutaalahmad
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
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
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
http://m5sim.org/mailman/listinfo/gem5-dev
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
http://m5sim.org/mailman/listinfo/gem5-dev
Gutierrez, Anthony
2016-10-17 21:28:33 UTC
Permalink
Agreed. I certainly prefer to simply remove it, and I think I speak for most folks at AMD (although I'd need to double check), but I'm not going to force the issue if others still use it and would like to keep it around.

-----Original Message-----
From: gem5-dev [mailto:gem5-dev-***@gem5.org] On Behalf Of Andreas Hansson
Sent: Monday, October 17, 2016 1:31 PM
To: gem5 Developer List <gem5-***@gem5.org>
Subject: Re: [gem5-dev] FW: [gem5-users] scons build error for Garnet 2.0

Hi all,

Why not grab the opportunity? Jason, what is the reason for the weeks/months? Why couldn’t we remove Alpha this week if we decide that’s the right thing to do?

Andreas

On 17/10/2016, 16:37, "gem5-dev on behalf of Gutierrez, Anthony"
Post by Gutierrez, Anthony
I would like to see this clarified before we ask Brandon to go work on
fixing ALPHA. If it is going to be phased out in a matter of months, I
don't think we should be asking him to waste his time on fixing it.
-----Original Message-----
Sent: Monday, October 17, 2016 7:34 AM
Subject: Re: [gem5-dev] FW: [gem5-users] scons build error for Garnet 2.0
Hi Brandon,
In summary... I think we're planning on phasing out ALPHA, but that
won't happen in the very short term (weeks), but may happen in the
medium term (months).
Cheers,
Jason
On Mon, Oct 17, 2016 at 9:28 AM Potter, Brandon
Post by Potter, Brandon
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
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
Sent: Monday, October 17, 2016 3:29 AM
Cc: Potter, Brandon
Subject: Re: [gem5-users] scons build error for Garnet 2.0
My bad, this is properly broken for ALPHA and tru64.
changeset: 11383:5ac090acd180
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
Date: Monday, 17 October 2016 at 08:54
Subject: Re: [gem5-users] scons build error for Garnet 2.0
Just use clang (i.e. the default OSX compiler).
Andreas
Date: Saturday, 15 October 2016 at 14:22
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'.
apple-gcc42
mp-gcc47
mp-gcc49 (active)
none
$ scons build/ALPHA_MOESI_hammer/gem5.debug
'MAP_LOCKED' was not declared in this scope
{ TGT_MAP_LOCKED, MAP_LOCKED },
^
'MAP_NONBLOCK' was not declared in this scope
{ TGT_MAP_NONBLOCK, MAP_NONBLOCK },
^
'MAP_POPULATE' was not declared in this scope
{ TGT_MAP_POPULATE, MAP_POPULATE },
^
'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
Try with >=4.5
$ g++ -v
--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
C++ version ?
Thanks
On Sat, Oct 15, 2016 at 2:01 PM, F. A. Faisal
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
'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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Regards,
Abdul Mutaal
LinkedIn : https://de.linkedin.com/in/abdulmutaalahmad
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
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
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
http://m5sim.org/mailman/listinfo/gem5-dev
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
gem5-***@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Loading...