Hi all (and Brandon in particular),
Unfortunately http://repo.gem5.org/gem5/rev/5ac090acd180 causes build issues on
OSX and even certain Linux systems (with older kernels, and also specific
kernel configurations).
Brandon, could you either back this out, or find some alternative solution to
this problem? The sooner the better.
See below for an example of the issues on OSX.
Thanks,
Andreas
—————————————————————————————————
build/ARM/arch/arm/linux/linux.cc:109:35: error: use of undeclared identifier
'O_NOATIME'
{ ArmLinux32::TGT_O_NOATIME, O_NOATIME },
^
build/ARM/arch/arm/linux/linux.cc:122:46: error: invalid application of 'sizeof'
to an incomplete type 'SyscallFlagTransTable []'
const int ArmLinux32::NUM_OPEN_FLAGS = sizeof(ArmLinux32::openFlagTable) /
^~~~~~~~~~~~~~~~~~~~~~~~~~~
build/ARM/arch/arm/linux/linux.cc:130:37: error: use of undeclared identifier
'MAP_DENYWRITE'; did you mean 'TGT_MAP_DENYWRITE'?
{ ArmLinux32::TGT_MAP_DENYWRITE, MAP_DENYWRITE },
^~~~~~~~~~~~~
TGT_MAP_DENYWRITE
build/ARM/arch/arm/linux/linux.hh:133:27: note: 'TGT_MAP_DENYWRITE' declared
here
static const unsigned TGT_MAP_DENYWRITE = 0x00800;
^
build/ARM/arch/arm/linux/linux.cc:131:37: error: use of undeclared identifier
'MAP_EXECUTABLE'; did you mean 'TGT_MAP_EXECUTABLE'?
{ ArmLinux32::TGT_MAP_EXECUTABLE, MAP_EXECUTABLE },
^~~~~~~~~~~~~~
TGT_MAP_EXECUTABLE
build/ARM/arch/arm/linux/linux.hh:134:27: note: 'TGT_MAP_EXECUTABLE' declared
here
static const unsigned TGT_MAP_EXECUTABLE = 0x01000;
^
build/ARM/arch/arm/linux/linux.cc:133:37: error: use of undeclared identifier
'MAP_GROWSDOWN'; did you mean 'TGT_MAP_GROWSDOWN'?
{ ArmLinux32::TGT_MAP_GROWSDOWN, MAP_GROWSDOWN },
^~~~~~~~~~~~~
TGT_MAP_GROWSDOWN
build/ARM/arch/arm/linux/linux.hh:136:27: note: 'TGT_MAP_GROWSDOWN' declared
here
static const unsigned TGT_MAP_GROWSDOWN = 0x00100;
^
build/ARM/arch/arm/linux/linux.cc:134:37: error: use of undeclared identifier
'MAP_HUGETLB'
{ ArmLinux32::TGT_MAP_HUGETLB, MAP_HUGETLB },
^
build/ARM/arch/arm/linux/linux.cc:135:37: error: use of undeclared identifier
'MAP_LOCKED'
{ ArmLinux32::TGT_MAP_LOCKED, MAP_LOCKED },
^
build/ARM/arch/arm/linux/linux.cc:136:37: error: use of undeclared identifier
'MAP_NONBLOCK'; did you mean 'TGT_MAP_NONBLOCK'?
{ ArmLinux32::TGT_MAP_NONBLOCK, MAP_NONBLOCK },
^~~~~~~~~~~~
TGT_MAP_NONBLOCK
build/ARM/arch/arm/linux/linux.hh:139:27: note: 'TGT_MAP_NONBLOCK' declared here
static const unsigned TGT_MAP_NONBLOCK = 0x10000;
^
build/ARM/arch/arm/linux/linux.cc:138:37: error: use of undeclared identifier
'MAP_POPULATE'; did you mean 'TGT_MAP_POPULATE'?
{ ArmLinux32::TGT_MAP_POPULATE, MAP_POPULATE },
^~~~~~~~~~~~
TGT_MAP_POPULATE
build/ARM/arch/arm/linux/linux.hh:141:27: note: 'TGT_MAP_POPULATE' declared here
static const unsigned TGT_MAP_POPULATE = 0x08000;
^
build/ARM/arch/arm/linux/linux.cc:147:15: error: invalid application of 'sizeof'
to an incomplete type 'SyscallFlagTransTable []'
sizeof(ArmLinux32::mmapFlagTable) /
^~~~~~~~~~~~~~~~~~~~~~~~~~~
build/ARM/arch/arm/linux/linux.cc:210:35: error: use of undeclared identifier
'O_NOATIME'
{ ArmLinux64::TGT_O_NOATIME, O_NOATIME },
^
build/ARM/arch/arm/linux/linux.cc:223:46: error: invalid application of 'sizeof'
to an incomplete type 'SyscallFlagTransTable []'
const int ArmLinux64::NUM_OPEN_FLAGS = sizeof(ArmLinux64::openFlagTable) /
^~~~~~~~~~~~~~~~~~~~~~~~~~~
build/ARM/arch/arm/linux/linux.cc:231:37: error: use of undeclared identifier
'MAP_DENYWRITE'; did you mean 'TGT_MAP_DENYWRITE'?
{ ArmLinux64::TGT_MAP_DENYWRITE, MAP_DENYWRITE },
^~~~~~~~~~~~~
TGT_MAP_DENYWRITE
build/ARM/arch/arm/linux/linux.hh:345:27: note: 'TGT_MAP_DENYWRITE' declared
here
static const unsigned TGT_MAP_DENYWRITE = 0x00800;
^
build/ARM/arch/arm/linux/linux.cc:232:37: error: use of undeclared identifier
'MAP_EXECUTABLE'; did you mean 'TGT_MAP_EXECUTABLE'?
{ ArmLinux64::TGT_MAP_EXECUTABLE, MAP_EXECUTABLE },
^~~~~~~~~~~~~~
TGT_MAP_EXECUTABLE
build/ARM/arch/arm/linux/linux.hh:346:27: note: 'TGT_MAP_EXECUTABLE' declared
here
static const unsigned TGT_MAP_EXECUTABLE = 0x01000;
^
build/ARM/arch/arm/linux/linux.cc:234:37: error: use of undeclared identifier
'MAP_GROWSDOWN'; did you mean 'TGT_MAP_GROWSDOWN'?
{ ArmLinux64::TGT_MAP_GROWSDOWN, MAP_GROWSDOWN },
^~~~~~~~~~~~~
TGT_MAP_GROWSDOWN
build/ARM/arch/arm/linux/linux.hh:348:27: note: 'TGT_MAP_GROWSDOWN' declared
here
static const unsigned TGT_MAP_GROWSDOWN = 0x00100;
^
build/ARM/arch/arm/linux/linux.cc:235:37: error: use of undeclared identifier
'MAP_HUGETLB'
{ ArmLinux64::TGT_MAP_HUGETLB, MAP_HUGETLB },
^
build/ARM/arch/arm/linux/linux.cc:236:37: error: use of undeclared identifier
'MAP_LOCKED'
{ ArmLinux64::TGT_MAP_LOCKED, MAP_LOCKED },
^
build/ARM/arch/arm/linux/linux.cc:237:37: error: use of undeclared identifier
'MAP_NONBLOCK'; did you mean 'TGT_MAP_NONBLOCK'?
{ ArmLinux64::TGT_MAP_NONBLOCK, MAP_NONBLOCK },
^~~~~~~~~~~~
TGT_MAP_NONBLOCK
build/ARM/arch/arm/linux/linux.hh:351:27: note: 'TGT_MAP_NONBLOCK' declared here
static const unsigned TGT_MAP_NONBLOCK = 0x10000;
^
build/ARM/arch/arm/linux/linux.cc:239:37: error: use of undeclared identifier
'MAP_POPULATE'; did you mean 'TGT_MAP_POPULATE'?
{ ArmLinux64::TGT_MAP_POPULATE, MAP_POPULATE },
^~~~~~~~~~~~
TGT_MAP_POPULATE
build/ARM/arch/arm/linux/linux.hh:353:27: note: 'TGT_MAP_POPULATE' declared here
static const unsigned TGT_MAP_POPULATE = 0x08000;
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