[gem5-dev] Change in gem5/gem5[develop]: python: Update gem5 lib downloader for new url_base field

2021-10-06 Thread Bobby R. Bruce (Gerrit) via gem5-dev
Bobby R. Bruce has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/51327 )



Change subject: python: Update gem5 lib downloader for new url_base field
..

python: Update gem5 lib downloader for new url_base field

This patch is designed to accomodate the upcoming change to the gem5
resources resources.json file:
https://gem5-review.googlesource.com/c/public/gem5-resources/+/51167.
The change extracts the base url ('http://dist.gem5.org/dist/develop')
from the urls. This patch is both compataible with the current
resources.json scheme and the upcoming schema.

Change-Id: I2a5b87cf94ba1afcb47d1f7d3ea48d0945ff21c4
---
M src/python/gem5/resources/downloader.py
1 file changed, 33 insertions(+), 1 deletion(-)



diff --git a/src/python/gem5/resources/downloader.py  
b/src/python/gem5/resources/downloader.py

index 5163724..13213bb 100644
--- a/src/python/gem5/resources/downloader.py
+++ b/src/python/gem5/resources/downloader.py
@@ -66,6 +66,17 @@
 with urllib.request.urlopen(_get_resources_json_uri()) as url:
 return json.loads(base64.b64decode(url.read()).decode("utf-8"))

+def _get_url_base() -> str:
+"""
+Obtains the "url_base" string from the resources.json file.
+
+:returns: The "url_base" string value from the resources.json file.
+"""
+json = _get_resources_json()
+if "url_base" in json.keys():
+return json["url_base"]
+return ""
+

 def _get_resources(resources_group: Dict) -> Dict[str, Dict]:
 """
@@ -243,7 +254,12 @@
 # TODO: Might be nice to have some kind of download status bar  
here.

 # TODO: There might be a case where this should be silenced.
 print("'{}' not found locally.  
Downloading...".format(resource_name))

-_download(url=resource_json["url"], download_to=download_dest)
+
+# Get the URL. The URL may contain '{url_base}' which needs  
replaced

+# with the correct value.
+url=resource_json["url"].format(url_base=_get_url_base())
+
+_download(url=url, download_to=download_dest)
 print("Finished downloading '{}'.".format(resource_name))

 if run_unzip:

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/51327
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I2a5b87cf94ba1afcb47d1f7d3ea48d0945ff21c4
Gerrit-Change-Number: 51327
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby R. Bruce 
Gerrit-MessageType: newchange
___
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-dev] Change in gem5/gem5[develop]: python: Update the gem5 lib downloader 'is_zipped' checker

2021-10-06 Thread Bobby R. Bruce (Gerrit) via gem5-dev
Bobby R. Bruce has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/51329 )



Change subject: python: Update the gem5 lib downloader 'is_zipped' checker
..

python: Update the gem5 lib downloader 'is_zipped' checker

Previously, gem5 resources' resources.json file set the 'is_zipped'
field to a string, either "True" or "False". As JSON supports booleans,
this was updated in an upcoming patch to use boolean values instead:
https://gem5-review.googlesource.com/c/public/gem5-resources/+/51168.

This patch updates the gem5 library downloader to use the new true/false
values but remains backwards compataible with the old string-based way
of declaring the value of this field.

Change-Id: I804ce66e8ca1989955b09041b7d1c894de74dac0
---
M src/python/gem5/resources/downloader.py
1 file changed, 28 insertions(+), 1 deletion(-)



diff --git a/src/python/gem5/resources/downloader.py  
b/src/python/gem5/resources/downloader.py

index 018bbd5..e8161bb 100644
--- a/src/python/gem5/resources/downloader.py
+++ b/src/python/gem5/resources/downloader.py
@@ -250,7 +250,16 @@
 )

 download_dest = to_path
-run_unzip = unzip and resource_json["is_zipped"].lower() == "true"
+
+# This if-statement is remain backwards compatable with the older,
+# string-based way of doing things. It can be refactored away over
+# time:
+#  
https://gem5-review.googlesource.com/c/public/gem5-resources/+/51168

+if isinstance(resource_json["is_zipped"], str):
+run_unzip = unzip and resource_json["is_zipped"].lower()  
== "true"

+elif isinstance(resource_json["is_zipped"], bool):
+run_unzip = unzip and resource_json["is_zipped"]
+
 if run_unzip:
 download_dest += ".gz"


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/51329
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I804ce66e8ca1989955b09041b7d1c894de74dac0
Gerrit-Change-Number: 51329
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby R. Bruce 
Gerrit-MessageType: newchange
___
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-dev] Change in gem5/gem5[develop]: python: Rename 'artifact' to 'resources' in downloader

2021-10-06 Thread Bobby R. Bruce (Gerrit) via gem5-dev
Bobby R. Bruce has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/51328 )



Change subject: python: Rename 'artifact' to 'resources' in downloader
..

python: Rename 'artifact' to 'resources' in downloader

As part of an upcoming change in the gem5 resources resources.json file,
https://gem5-review.googlesource.com/c/public/gem5-resources/+/51169,
the terminology 'artifact' will be replaced with 'resources'. This is
in-keeping with the terminology we use elsewhere in the project. This
patch is designed to work with both 'artifact' and 'resource' type name
while the resources.json schema is changed.

Change-Id: Ia1facc86000b9abf1e426b9b0eb0c7e0245bdcfa
---
M src/python/gem5/resources/downloader.py
1 file changed, 26 insertions(+), 7 deletions(-)



diff --git a/src/python/gem5/resources/downloader.py  
b/src/python/gem5/resources/downloader.py

index 13213bb..018bbd5 100644
--- a/src/python/gem5/resources/downloader.py
+++ b/src/python/gem5/resources/downloader.py
@@ -87,12 +87,15 @@

 to_return = {}
 for resource in resources_group:
-if resource["type"] == "artifact":
-# If the type is "artifact" then we add it directly to the map
+# 'artifact' is the old naming, we keep it here for
+# backwards compatibility, but it can be removed with time:
+#  
https://gem5-review.googlesource.com/c/public/gem5-resources/+/51169.
+if resource["type"] == "artifact" or resource["type"]  
== "resource":

+# If the type is "resource" then we add it directly to the map
 # after a check that the name is unique.
 if resource["name"] in to_return.keys():
 raise Exception(
-"Error: Duplicate artifact with name '{}'.".format(
+"Error: Duplicate resource with name '{}'.".format(
 resource["name"]
 )
 )
@@ -107,7 +110,7 @@
 # the resources.json file. The resources names need to be
 # unique keyes.
 raise Exception(
-"Error: Duplicate artifacts with names: {}.".format(
+"Error: Duplicate resources with names: {}.".format(
 str(intersection)
 )
 )
@@ -178,16 +181,16 @@
 :raises Exception: An exception is raised if the specified resources  
does

 not exist.
 """
-artifact_map = _get_resources(_get_resources_json()["resources"])
+resource_map = _get_resources(_get_resources_json()["resources"])

-if resource_name not in artifact_map:
+if resource_name not in resource_map:
 raise Exception(
 "Error: Resource with name '{}' does not exist".format(
 resource_name
 )
 )

-return artifact_map[resource_name]
+return resource_map[resource_name]


 def get_resource(

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/51328
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ia1facc86000b9abf1e426b9b0eb0c7e0245bdcfa
Gerrit-Change-Number: 51328
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby R. Bruce 
Gerrit-MessageType: newchange
___
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-dev] Change in gem5/gem5[develop]: WIP: arm: Add support for initrd/initramfs to fs

2021-10-06 Thread Alistair Delva (Gerrit) via gem5-dev
Alistair Delva has uploaded this change for review. (  
https://gem5-review.googlesource.com/c/public/gem5/+/51307 )



Change subject: WIP: arm: Add support for initrd/initramfs to fs
..

WIP: arm: Add support for initrd/initramfs to fs

Patch the DTB with the linux,initrd-{start,end} nodes

Change-Id: I21602e8e676e8841185ea41e7370f4302ca12c2c
---
M src/arch/arm/linux/fs_workload.cc
M src/base/loader/dtb_file.cc
M src/base/loader/dtb_file.hh
M configs/example/arm/starter_fs.py
M src/arch/arm/ArmFsWorkload.py
M src/dev/arm/RealView.py
6 files changed, 82 insertions(+), 7 deletions(-)



diff --git a/configs/example/arm/starter_fs.py  
b/configs/example/arm/starter_fs.py

index 11190db..7195af4 100644
--- a/configs/example/arm/starter_fs.py
+++ b/configs/example/arm/starter_fs.py
@@ -150,6 +150,9 @@
 os.path.join(m5.options.outdir, 'system.dtb')
 system.generateDtb(system.workload.dtb_filename)

+if args.initrd:
+system.workload.initrd_filename = args.initrd
+
 # Linux boot command flags
 kernel_cmd = [
 # Tell Linux to use the simulated serial port as a console
@@ -198,6 +201,8 @@
 help="DTB file to load")
 parser.add_argument("--kernel", type=str, default=default_kernel,
 help="Linux kernel")
+parser.add_argument("--initrd", type=str, default=None,
+help="initrd/initramfs file to load")
 parser.add_argument("--disk-image", type=str,
 default=default_disk,
 help="Disk to instantiate")
diff --git a/src/arch/arm/ArmFsWorkload.py b/src/arch/arm/ArmFsWorkload.py
index 974600b..43bbd16 100644
--- a/src/arch/arm/ArmFsWorkload.py
+++ b/src/arch/arm/ArmFsWorkload.py
@@ -58,6 +58,9 @@
 dtb_filename = Param.String("",
 "File that contains the Device Tree Blob. Don't use DTB if empty.")
 dtb_addr = Param.Addr(0, "DTB or ATAGS address")
+initrd_filename = Param.String("",
+"File that contains the initial ramdisk. Don't use initrd if  
empty.")

+initrd_addr = Param.Addr(0, "initrd/initramfs address")
 cpu_release_addr = Param.Addr(0, "cpu-release-addr property")

 machine_type = Param.ArmMachineType('DTOnly',
diff --git a/src/arch/arm/linux/fs_workload.cc  
b/src/arch/arm/linux/fs_workload.cc

index d512067..e724eb1 100644
--- a/src/arch/arm/linux/fs_workload.cc
+++ b/src/arch/arm/linux/fs_workload.cc
@@ -91,6 +91,21 @@
 bool dtb_file_specified = params().dtb_filename != "";

 if (kernel_has_fdt_support && dtb_file_specified) {
+bool initrd_file_specified = params().initrd_filename != "";
+size_t initrd_len = 0;
+
+if (initrd_file_specified) {
+inform("Loading initrd file: %s at address %#x\n",
+params().initrd_filename, params().initrd_addr);
+
+loader::ImageFileDataPtr initrd_file_data(
+new loader::ImageFileData(params().initrd_filename));
+system->physProxy.writeBlob(params().initrd_addr,
+initrd_file_data->data(),
+initrd_file_data->len());
+initrd_len = initrd_file_data->len();
+}
+
 // Kernel supports flattened device tree and dtb file specified.
 // Using Device Tree Blob to describe system configuration.
 inform("Loading DTB file: %s at address %#x\n",  
params().dtb_filename,

@@ -98,8 +113,8 @@

 auto *dtb_file = new loader::DtbFile(params().dtb_filename);

-if (!dtb_file->addBootCmdLine(
-commandLine.c_str(), commandLine.size())) {
+if (!dtb_file->addBootData(commandLine.c_str(), commandLine.size(),
+   params().initrd_addr, initrd_len)) {
 warn("couldn't append bootargs to DTB file: %s\n",
  params().dtb_filename);
 }
diff --git a/src/base/loader/dtb_file.cc b/src/base/loader/dtb_file.cc
index f89b1ae..c3aa9b4 100644
--- a/src/base/loader/dtb_file.cc
+++ b/src/base/loader/dtb_file.cc
@@ -63,12 +63,15 @@
 }

 bool
-DtbFile::addBootCmdLine(const char *_args, size_t len)
+DtbFile::addBootData(const char *_cmdline, size_t cmdline_len,
+ off_t initrd_start, size_t initrd_len)
 {
 const char *root_path = "/";
 const char *node_name = "chosen";
 const char *full_path_node_name = "/chosen";
-const char *property_name = "bootargs";
+const char *bootargs_property_name = "bootargs";
+const char *linux_initrd_start_property_name = "linux,initrd-start";
+const char *linux_initrd_end_property_name = "linux,initrd-end";

 // Make a new buffer that has extra space to add nodes/properties
 int newLen = 2 * length;
@@ -102,8 +105,8 @@
 }

 // Set the bootargs property in the /chosen node
-ret = fdt_setprop((void *)fdt_buf_w_space, offset, 

[gem5-dev] Re: Build failed in Jenkins: compiler-checks #211

2021-10-06 Thread Bobby Bruce via gem5-dev
I can't recreate this error locally. It seems like it's just a hiccup with
our Jenkins server. I suspect it'll run correctly tonight.

--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Wed, Oct 6, 2021 at 12:00 AM jenkins-no-reply--- via gem5-dev <
gem5-dev@gem5.org> wrote:

> See <
> https://jenkins.gem5.org/job/compiler-checks/211/display/redirect?page=changes
> >
>
> Changes:
>
> [matthew.poremba] arch-vega: Rework flat instructions to support global
>
> [matthew.poremba] misc: Add VEGA_X86 build_opt
>
> [matthew.poremba] arch-gcn3,gpu-compute: Move GCN3 specific TLB to arch
>
> [gabe.black] scons: Pull makeDebugFlagHH into build_tools.
>
>
> --
> Started by timer
> Running as SYSTEM
> Building in workspace 
> Selected Git installation does not exist. Using Default
> The recommended git tool is: NONE
> No credentials specified
>  > git rev-parse --resolve-git-dir <
> https://jenkins.gem5.org/job/compiler-checks/ws/.git> # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://gem5.googlesource.com/public/gem5
> # timeout=10
> Fetching upstream changes from https://gem5.googlesource.com/public/gem5
>  > git --version # timeout=10
>  > git --version # 'git version 2.25.1'
>  > git fetch --tags --force --progress --
> https://gem5.googlesource.com/public/gem5
> +refs/heads/*:refs/remotes/origin/* # timeout=10
>  > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
> Checking out Revision 74c629745315022dbebb08db260b057a6d14bc5f
> (refs/remotes/origin/develop)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 74c629745315022dbebb08db260b057a6d14bc5f # timeout=10
> Commit message: "scons: Pull makeDebugFlagHH into build_tools."
>  > git rev-list --no-walk 2b86278a86d9451b67b76833e1137d5ae90739aa #
> timeout=10
> [compiler-checks] $ /bin/sh -xe /tmp/jenkins3117333448856628.sh
> + ./tests/compiler-tests.sh -j 12
> Starting build tests with 'gcc-version-11'...
> 'gcc-version-11' was found in the comprehensive tests. All ISAs will be
> built.
>   * Building target 'GCN3_X86.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'GCN3_X86.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'MIPS.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'MIPS.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'X86.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'X86.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL_MESI_Two_Level.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL_MESI_Two_Level.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'ARM.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'ARM.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'X86_MESI_Two_Level.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'X86_MESI_Two_Level.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'ARM_MOESI_hammer.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'ARM_MOESI_hammer.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'ARM_MESI_Three_Level_HTM.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'ARM_MESI_Three_Level_HTM.fast' with
> 'gcc-version-11'...
> Done.
>   * Building target 'ARM_MESI_Three_Level.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'ARM_MESI_Three_Level.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'POWER.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'POWER.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'X86_MOESI_AMD_Base.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'X86_MOESI_AMD_Base.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL_MOESI_CMP_directory.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL_MOESI_CMP_directory.fast' with
> 'gcc-version-11'...
> Done.
>   * Building target 'Garnet_standalone.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'Garnet_standalone.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'SPARC.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'SPARC.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL_MOESI_CMP_token.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL_MOESI_CMP_token.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL_MOESI_hammer.opt' with 'gcc-version-11'...
> Done.
>   * Building target 'NULL_MOESI_hammer.fast' with 'gcc-version-11'...
> Done.
>   * Building target 'RISCV.opt' with 'gcc-version-11'...
> Done.
>   * 

[gem5-dev] Change in gem5/gem5[develop]: ext: Update libelf from elftoolchain 0.7.1

2021-10-06 Thread Austin Harris (Gerrit) via gem5-dev
Austin Harris has submitted this change. (  
https://gem5-review.googlesource.com/c/public/gem5/+/50927 )


Change subject: ext: Update libelf from elftoolchain 0.7.1
..

ext: Update libelf from elftoolchain 0.7.1

Change-Id: I8f86cd918ad01897c42aa479f9c64520def36830
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50927
Reviewed-by: Jason Lowe-Power 
Reviewed-by: Austin Harris 
Reviewed-by: Hoa Nguyen 
Reviewed-by: Bobby R. Bruce 
Maintainer: Jason Lowe-Power 
Tested-by: kokoro 
---
M ext/libelf/elf_end.c
M ext/libelf/libelf_shdr.c
M ext/libelf/gelf_getclass.c
M ext/libelf/gelf_shdr.c
M ext/libelf/libelf_allocate.c
M ext/libelf/gelf.h
A ext/libelf/gelf_move.c
M ext/libelf/elf_rand.c
A ext/libelf/libelf_memory.c
M ext/libelf/elf_memory.c
M ext/libelf/gelf_dyn.c
M ext/libelf/elf_flag.c
M ext/libelf/libelf.h
M ext/libelf/elf_errno.c
A ext/libelf/gelf_syminfo.c
M ext/libelf/libelf_fsize.m4
M ext/libelf/elf_types.m4
D ext/libelf/elf_common.h
M ext/libelf/elf_shstrndx.c
M ext/libelf/gelf_checksum.c
M ext/libelf/libelf_extended.c
A ext/libelf/elf.c
M ext/libelf/elf_getbase.c
M ext/libelf/elf_begin.c
A ext/libelf/elfdefinitions.h
M ext/libelf/gelf_sym.c
M ext/libelf/gelf_fsize.c
M ext/libelf/elf_next.c
M ext/libelf/elf_update.c
M ext/libelf/libelf_xlate.c
M ext/libelf/elf_kind.c
A ext/libelf/native-elf-format
M ext/libelf/libelf_convert.m4
M ext/libelf/elf_scn.c
M ext/libelf/elf_rawfile.c
A ext/libelf/libelf_open.c
M ext/libelf/libelf_phdr.c
M ext/libelf/elf_cntl.c
M ext/libelf/_libelf.h
M ext/libelf/elf_strptr.c
M ext/libelf/libelf_ehdr.c
M ext/libelf/elf_hash.c
D ext/libelf/elf32.h
M ext/libelf/libelf_align.c
A ext/libelf/elf_open.c
M ext/libelf/elf_getarsym.c
A ext/libelf/gelf_cap.c
M ext/libelf/elf_fill.c
M ext/libelf/gelf_ehdr.c
M ext/libelf/libelf_checksum.c
M ext/libelf/elf_getident.c
M ext/libelf/gelf_rela.c
A ext/libelf/_elftc.h
M ext/libelf/elf_version.c
M ext/libelf/gelf_xlate.c
M ext/libelf/SConscript
M ext/libelf/elf_data.c
M ext/libelf/elf_phnum.c
M ext/libelf/elf_getarhdr.c
A ext/libelf/_libelf_ar.h
M ext/libelf/gelf_symshndx.c
A ext/libelf/libelf_ar_util.c
A ext/libelf/_libelf_config.h
M ext/libelf/libelf_ar.c
M ext/libelf/libelf_msize.m4
M ext/libelf/elf_shnum.c
D ext/libelf/elf64.h
M ext/libelf/elf_errmsg.c
M ext/libelf/gelf_phdr.c
M ext/libelf/gelf_rel.c
M ext/libelf/libelf_data.c
71 files changed, 9,780 insertions(+), 5,335 deletions(-)

Approvals:
  Jason Lowe-Power: Looks good to me, but someone else must approve; Looks  
good to me, approved

  Austin Harris: Looks good to me, but someone else must approve
  Hoa Nguyen: Looks good to me, but someone else must approve
  Bobby R. Bruce: Looks good to me, approved
  kokoro: Regressions pass





--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50927
To unsubscribe, or for help writing mail filters, visit  
https://gem5-review.googlesource.com/settings


Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I8f86cd918ad01897c42aa479f9c64520def36830
Gerrit-Change-Number: 50927
Gerrit-PatchSet: 6
Gerrit-Owner: Austin Harris 
Gerrit-Reviewer: Austin Harris 
Gerrit-Reviewer: Bobby R. Bruce 
Gerrit-Reviewer: Gabe Black 
Gerrit-Reviewer: Hoa Nguyen 
Gerrit-Reviewer: Jason Lowe-Power 
Gerrit-Reviewer: Jason Lowe-Power 
Gerrit-Reviewer: kokoro 
Gerrit-MessageType: merged
___
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-dev] Build failed in Jenkins: compiler-checks #211

2021-10-06 Thread jenkins-no-reply--- via gem5-dev
See 


Changes:

[matthew.poremba] arch-vega: Rework flat instructions to support global

[matthew.poremba] misc: Add VEGA_X86 build_opt

[matthew.poremba] arch-gcn3,gpu-compute: Move GCN3 specific TLB to arch

[gabe.black] scons: Pull makeDebugFlagHH into build_tools.


--
Started by timer
Running as SYSTEM
Building in workspace 
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir 
 >  # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gem5.googlesource.com/public/gem5 # 
 > timeout=10
Fetching upstream changes from https://gem5.googlesource.com/public/gem5
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
 > git fetch --tags --force --progress -- 
 > https://gem5.googlesource.com/public/gem5 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
Checking out Revision 74c629745315022dbebb08db260b057a6d14bc5f 
(refs/remotes/origin/develop)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 74c629745315022dbebb08db260b057a6d14bc5f # timeout=10
Commit message: "scons: Pull makeDebugFlagHH into build_tools."
 > git rev-list --no-walk 2b86278a86d9451b67b76833e1137d5ae90739aa # timeout=10
[compiler-checks] $ /bin/sh -xe /tmp/jenkins3117333448856628.sh
+ ./tests/compiler-tests.sh -j 12
Starting build tests with 'gcc-version-11'...
'gcc-version-11' was found in the comprehensive tests. All ISAs will be built.
  * Building target 'GCN3_X86.opt' with 'gcc-version-11'...
Done.
  * Building target 'GCN3_X86.fast' with 'gcc-version-11'...
Done.
  * Building target 'MIPS.opt' with 'gcc-version-11'...
Done.
  * Building target 'MIPS.fast' with 'gcc-version-11'...
Done.
  * Building target 'X86.opt' with 'gcc-version-11'...
Done.
  * Building target 'X86.fast' with 'gcc-version-11'...
Done.
  * Building target 'NULL_MESI_Two_Level.opt' with 'gcc-version-11'...
Done.
  * Building target 'NULL_MESI_Two_Level.fast' with 'gcc-version-11'...
Done.
  * Building target 'ARM.opt' with 'gcc-version-11'...
Done.
  * Building target 'ARM.fast' with 'gcc-version-11'...
Done.
  * Building target 'X86_MESI_Two_Level.opt' with 'gcc-version-11'...
Done.
  * Building target 'X86_MESI_Two_Level.fast' with 'gcc-version-11'...
Done.
  * Building target 'ARM_MOESI_hammer.opt' with 'gcc-version-11'...
Done.
  * Building target 'ARM_MOESI_hammer.fast' with 'gcc-version-11'...
Done.
  * Building target 'NULL.opt' with 'gcc-version-11'...
Done.
  * Building target 'NULL.fast' with 'gcc-version-11'...
Done.
  * Building target 'ARM_MESI_Three_Level_HTM.opt' with 'gcc-version-11'...
Done.
  * Building target 'ARM_MESI_Three_Level_HTM.fast' with 'gcc-version-11'...
Done.
  * Building target 'ARM_MESI_Three_Level.opt' with 'gcc-version-11'...
Done.
  * Building target 'ARM_MESI_Three_Level.fast' with 'gcc-version-11'...
Done.
  * Building target 'POWER.opt' with 'gcc-version-11'...
Done.
  * Building target 'POWER.fast' with 'gcc-version-11'...
Done.
  * Building target 'X86_MOESI_AMD_Base.opt' with 'gcc-version-11'...
Done.
  * Building target 'X86_MOESI_AMD_Base.fast' with 'gcc-version-11'...
Done.
  * Building target 'NULL_MOESI_CMP_directory.opt' with 'gcc-version-11'...
Done.
  * Building target 'NULL_MOESI_CMP_directory.fast' with 'gcc-version-11'...
Done.
  * Building target 'Garnet_standalone.opt' with 'gcc-version-11'...
Done.
  * Building target 'Garnet_standalone.fast' with 'gcc-version-11'...
Done.
  * Building target 'SPARC.opt' with 'gcc-version-11'...
Done.
  * Building target 'SPARC.fast' with 'gcc-version-11'...
Done.
  * Building target 'NULL_MOESI_CMP_token.opt' with 'gcc-version-11'...
Done.
  * Building target 'NULL_MOESI_CMP_token.fast' with 'gcc-version-11'...
Done.
  * Building target 'NULL_MOESI_hammer.opt' with 'gcc-version-11'...
Done.
  * Building target 'NULL_MOESI_hammer.fast' with 'gcc-version-11'...
Done.
  * Building target 'RISCV.opt' with 'gcc-version-11'...
Done.
  * Building target 'RISCV.fast' with 'gcc-version-11'...
Done.
Starting build tests with 'gcc-version-10'...
  * Building target 'NULL.opt' with 'gcc-version-10'...
Done.
  * Building target 'NULL.fast' with 'gcc-version-10'...
Done.
Starting build tests with 'gcc-version-9'...
  * Building target 'NULL_MOESI_CMP_directory.opt' with 'gcc-version-9'...
Done.
  * Building target 'NULL_MOESI_CMP_directory.fast' with 'gcc-version-9'...
Done.
Starting build tests with 'gcc-version-8'...
  * Building target 'NULL_MOESI_CMP_directory.opt'