@Kyle: GCN3 is only built weekly via the compiler tests. Compiling every gem5 variant each time we run Kokoro would just be too costly so we only target the core ISAs. If you wrote us some testlib tests, we could run those as part of our nightly tests.
@Matt: This won't build anywhere. You can just use: `scons build/GCN3_X86/gem5.opt` on the latest develop branch pull and you should be able to reproduce it. Though it seems Kyle has already identified the source of the problem. -- Dr. Bobby R. Bruce Room 2235, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net Please consider making a submission to GI@ICSE '21: http://geneticimprovementofsoftware.com/gi2021icse.html On Mon, Nov 30, 2020 at 12:27 PM Kyle Roarty <[email protected]> wrote: > Looks like this commit > https://gem5-review.googlesource.com/c/public/gem5/+/37775 broke it, and > the solution would be to change "if buildEnv['FULL_SYSTEM']" to "if > buildEnv.get('FULL_SYSTEM', False)" > > Also, looking at that review, kokoro didn't catch the issue. I thought > GCN3_X86 was at least built when kokoro runs? > > Kyle > ------------------------------ > *From:* Poremba, Matthew <[email protected]> > *Sent:* Monday, November 30, 2020 2:22 PM > *To:* gem5 Developer List <[email protected]>; Matt Sinclair < > [email protected]>; Kyle Roarty <[email protected]>; Bobby Bruce < > [email protected]> > *Subject:* RE: [gem5-dev] Re: Build failed in Jenkins: Compiler-Checks #33 > > > [AMD Public Use] > > > > I could try and help, but the compiler-test.sh script does not work for me > locally and I always get the following error (on multiple machines): > > > > Error: No non-leaf 'build' dir found on target path. /gem5 > > > > That said, probably deleting the whole if block in > src/gpu-compute/X86GPUTLB.py could fix the error. Seems like a duplicate > definition to me. There is also no full system support for GPU yet anyway. > > > > > > -Matt > > > > > > *From:* Bobby Bruce via gem5-dev <[email protected]> > *Sent:* Monday, November 30, 2020 12:11 PM > *To:* Matt Sinclair <[email protected]>; Kyle Roarty <[email protected]> > *Cc:* gem5 Developer List <[email protected]>; Bobby Bruce < > [email protected]> > *Subject:* [gem5-dev] Re: Build failed in Jenkins: Compiler-Checks #33 > > > > [CAUTION: External Email] > > Hey Matt and Kyle, > > > > It seems like the GCN3_X86 isn't building. The following error is being > returned: > http://jenkins.gem5.org/job/Compiler-Checks/33/artifact/compile-test-out/clang-version-9/GCN3_X86.opt.stderr.txt > <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fjenkins.gem5.org%2Fjob%2FCompiler-Checks%2F33%2Fartifact%2Fcompile-test-out%2Fclang-version-9%2FGCN3_X86.opt.stderr.txt&data=04%7C01%7Cmatthew.poremba%40amd.com%7Ca160377bf05640ab359508d8956c07ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423638514657713%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0rSUjIAn%2Bczm8003%2FRGMVh3sEqxu6dIzwdYhM918nKA%3D&reserved=0> > > > > Could someone look into fixing this? > > > > Kind regards, > > Bobby > > -- > > Dr. Bobby R. Bruce > Room 2235, > Kemper Hall, UC Davis > Davis, > CA, 95616 > > > > web: https://www.bobbybruce.net > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bobbybruce.net%2F&data=04%7C01%7Cmatthew.poremba%40amd.com%7Ca160377bf05640ab359508d8956c07ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423638514667666%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OkTNXyA8ERr5VcH%2Bus02f5TxU016xOPDqMYXjX6Fe00%3D&reserved=0> > > > > Please consider making a submission to GI@ICSE '21: > http://geneticimprovementofsoftware.com/gi2021icse.html > <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgeneticimprovementofsoftware.com%2Fgi2021icse.html&data=04%7C01%7Cmatthew.poremba%40amd.com%7Ca160377bf05640ab359508d8956c07ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423638514667666%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HRUVowz7ubnFRl6Ju4zh9SL73u6f3dMj0QT1M%2FT6gMU%3D&reserved=0> > > > > > > On Fri, Nov 27, 2020 at 1:46 AM jenkins-no-reply--- via gem5-dev < > [email protected]> wrote: > > See < > https://jenkins.gem5.org/job/Compiler-Checks/33/display/redirect?page=changes > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.gem5.org%2Fjob%2FCompiler-Checks%2F33%2Fdisplay%2Fredirect%3Fpage%3Dchanges&data=04%7C01%7Cmatthew.poremba%40amd.com%7Ca160377bf05640ab359508d8956c07ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423638514677621%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=15WdLUCezywGuF81Lx9lqj%2Fcv%2FuB2K28OYKC9cs5JdQ%3D&reserved=0> > > > > Changes: > > [gabe.black] cpu: Access src and dest reg indexes using a pointer to > member. > > [Bobby R. Bruce] arch-gcn3,misc: Added missing overrides to gpu_thread.hh > > [gabe.black] x86: Fix object scope in the CPUID code. > > [xiongfei.liao] cpu-minor: this is a bug fix for MinorCPU for thread > cloning. > > [gabe.black] cpu: Add an StaticInst accessor for setting register index > storage. > > [gabe.black] arch: Add some format strings to the parser for reg indexes. > > [fcrh] systemc: Make tlm/gem5 packet conversion flexible > > [giacomo.travaglini] fastmodel: Use BaseMMU in the CortexR52 wrapper > > [giacomo.travaglini] fastmodel: Replace xrange with range to be python3 > compliant > > [hoanguyen] cpu-minor,stats: Update stats style of MinorCPU > > [hoanguyen] cpu-o3,stats: Update stats style for iew and iew_impl > > [hoanguyen] cpu-o3,stats: Update stats style of inst_queue & > inst_queue_impl > > [hoanguyen] cpu-o3,stats: Update stats style for cpu.hh and cpu.cc > > [hoanguyen] cpu-o3,stats: Update stats style for mem_dep_unit.hh > > [hoanguyen] cpu-simple,stats: Update stats style > > [hoanguyen] cpu,stats: Update stats style for base.hh and base.cc > > [hoanguyen] dev-arm,stats: Update stats style of src/dev/arm > > [hoanguyen] dev,stats: Update stats style of src/dev/net > > [hoanguyen] dev,stats: Update stats style for CopyEngine and IdeDisk > > [hoanguyen] mem,stats: Update stats style for FALRU > > [hoanguyen] mem,stats: Update stats style for mem/probes and mem/qos > > [hoanguyen] sim,stats: Update stats style for power_model and > thermal_domain > > [giacomo.travaglini] python: Fix toBool converter > > [hoanguyen] mem-ruby,misc: Fix a parameter name in a DeprecatedParam > message > > [Jason Lowe-Power] util: Use MAINTAINERS.yaml for valid tags in git hook > > [Jason Lowe-Power] util: Relax commit message checker to allow fixups > > [giacomo.travaglini] scons, python: Remove SmartDict from python utilities > > [giacomo.travaglini] python: Remove SortedDict from python utilities > > [hoanguyen] mem-ruby: Fix cache hits being profiled as cache misses > > [ciro.santilli] sim: create SERIALIZE_MAPPING and UNSERIALIZE_MAPPING > > [ciro.santilli] arch-arm: serialize miscregs as a map > > [gabe.black] arm: Use the common pseudoInst dispatch function. > > [gabe.black] x86: Convert X86 to use local reg index storage. > > [gabe.black] sparc: Convert SPARC to use local register index storage. > > [gabe.black] mips: Convert MIPS to use local register index storage. > > [mbabaie] mem-cache, stats: Stats update for snoop filter > > [Bobby R. Bruce] sim: ScopedCheckpointSection to public for mappingParamIn > > [Bobby R. Bruce] tests,misc: Added gem5.fast clang compilation to Kokoro > > > ------------------------------------------ > Started by timer > Running as SYSTEM > Building in workspace <https://jenkins.gem5.org/job/Compiler-Checks/ws/ > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjenkins.gem5.org%2Fjob%2FCompiler-Checks%2Fws%2F&data=04%7C01%7Cmatthew.poremba%40amd.com%7Ca160377bf05640ab359508d8956c07ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423638514677621%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=FvbA51dAbPgRXa0s8G1NHyifSO3vWG%2FoBD1vVAnIFkc%3D&reserved=0> > > > The recommended git tool is: git > No credentials specified > > git rev-parse --is-inside-work-tree # timeout=10 > Fetching changes from the remote Git repository > > git config remote.origin.url https://gem5.googlesource.com/public/gem5 > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgem5.googlesource.com%2Fpublic%2Fgem5&data=04%7C01%7Cmatthew.poremba%40amd.com%7Ca160377bf05640ab359508d8956c07ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423638514687580%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TrTMSnzocCl%2BK7Pg81tzRn1w9UwPiYWy64V0akxb1HA%3D&reserved=0> > # timeout=10 > Fetching upstream changes from https://gem5.googlesource.com/public/gem5 > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgem5.googlesource.com%2Fpublic%2Fgem5&data=04%7C01%7Cmatthew.poremba%40amd.com%7Ca160377bf05640ab359508d8956c07ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423638514687580%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TrTMSnzocCl%2BK7Pg81tzRn1w9UwPiYWy64V0akxb1HA%3D&reserved=0> > > git --version # timeout=10 > > git --version # 'git version 2.25.1' > > git fetch --tags --force --progress -- > https://gem5.googlesource.com/public/gem5 > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgem5.googlesource.com%2Fpublic%2Fgem5&data=04%7C01%7Cmatthew.poremba%40amd.com%7Ca160377bf05640ab359508d8956c07ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637423638514697535%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xpwQJZLdT1T2dcY3RuwIy0mmKgTcmqTHqg8gk%2BcjzBo%3D&reserved=0> > +refs/heads/*:refs/remotes/origin/* # timeout=10 > > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 > > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 > Checking out Revision 0ff49d741cb7f1541e822722e0c2a34d14d9b289 > (refs/remotes/origin/develop) > > git config core.sparsecheckout # timeout=10 > > git checkout -f 0ff49d741cb7f1541e822722e0c2a34d14d9b289 # timeout=10 > Commit message: "tests,misc: Added gem5.fast clang compilation to Kokoro" > > git rev-list --no-walk 95a8cf76a5e14fff3039cdd20bc76e8d1f81f833 # > timeout=10 > [Compiler-Checks] $ /bin/sh -xe /tmp/jenkins4079617977422191720.sh > + ./util/compiler-tests.sh -j 4 > Starting build tests with 'gcc-version-10'... > 'gcc-version-10' was found in the comprehensive tests. All ISAs will be > built. > * Building target 'X86_MOESI_AMD_Base.opt' with 'gcc-version-10'... > Done. > * Building target 'X86_MOESI_AMD_Base.fast' with 'gcc-version-10'... > Done. > * Building target 'SPARC.opt' with 'gcc-version-10'... > Done. > * Building target 'SPARC.fast' with 'gcc-version-10'... > Done. > * Building target 'POWER.opt' with 'gcc-version-10'... > Done. > * Building target 'POWER.fast' with 'gcc-version-10'... > Done. > * Building target 'RISCV.opt' with 'gcc-version-10'... > Done. > * Building target 'RISCV.fast' with 'gcc-version-10'... > Done. > * Building target 'Garnet_standalone.opt' with 'gcc-version-10'... > Done. > * Building target 'Garnet_standalone.fast' with 'gcc-version-10'... > Done. > * Building target 'NULL_MOESI_CMP_token.opt' with 'gcc-version-10'... > Done. > * Building target 'NULL_MOESI_CMP_token.fast' with 'gcc-version-10'... > Done. > * Building target 'ARM_MESI_Three_Level.opt' with 'gcc-version-10'... > Done. > * Building target 'ARM_MESI_Three_Level.fast' with 'gcc-version-10'... > Done. > * Building target 'ARM.opt' with 'gcc-version-10'... > Done. > * Building target 'ARM.fast' with 'gcc-version-10'... > Done. > * Building target 'GCN3_X86.opt' with 'gcc-version-10'... > ! Failed with exit code 2. > * Building target 'GCN3_X86.fast' with 'gcc-version-10'... > ! Failed with exit code 2. > * Building target 'NULL_MOESI_hammer.opt' with 'gcc-version-10'... > Done. > * Building target 'NULL_MOESI_hammer.fast' with 'gcc-version-10'... > Done. > * Building target 'X86.opt' with 'gcc-version-10'... > Done. > * Building target 'X86.fast' with 'gcc-version-10'... > Done. > * Building target 'NULL_MESI_Two_Level.opt' with 'gcc-version-10'... > Done. > * Building target 'NULL_MESI_Two_Level.fast' with 'gcc-version-10'... > Done. > * Building target 'MIPS.opt' with 'gcc-version-10'... > Done. > * Building target 'MIPS.fast' with 'gcc-version-10'... > Done. > * Building target 'NULL_MOESI_CMP_directory.opt' with 'gcc-version-10'... > Done. > * Building target 'NULL_MOESI_CMP_directory.fast' with > 'gcc-version-10'... > Done. > Starting build tests with 'gcc-version-9'... > * Building target 'NULL_MOESI_CMP_token.opt' with 'gcc-version-9'... > Done. > * Building target 'NULL_MOESI_CMP_token.fast' with 'gcc-version-9'... > Done. > Starting build tests with 'gcc-version-8'... > * Building target 'RISCV.opt' with 'gcc-version-8'... > Done. > * Building target 'RISCV.fast' with 'gcc-version-8'... > Done. > Starting build tests with 'gcc-version-7'... > * Building target 'NULL_MOESI_CMP_token.opt' with 'gcc-version-7'... > Done. > * Building target 'NULL_MOESI_CMP_token.fast' with 'gcc-version-7'... > Done. > Starting build tests with 'gcc-version-6'... > * Building target 'ARM.opt' with 'gcc-version-6'... > Done. > * Building target 'ARM.fast' with 'gcc-version-6'... > Done. > Starting build tests with 'gcc-version-5'... > * Building target 'NULL_MOESI_CMP_token.opt' with 'gcc-version-5'... > Done. > * Building target 'NULL_MOESI_CMP_token.fast' with 'gcc-version-5'... > Done. > Starting build tests with 'clang-version-9'... > 'clang-version-9' was found in the comprehensive tests. All ISAs will be > built. > * Building target 'ARM_MESI_Three_Level.opt' with 'clang-version-9'... > Done. > * Building target 'ARM_MESI_Three_Level.fast' with 'clang-version-9'... > Done. > * Building target 'NULL_MOESI_CMP_directory.opt' with > 'clang-version-9'... > Done. > * Building target 'NULL_MOESI_CMP_directory.fast' with > 'clang-version-9'... > Done. > * Building target 'X86.opt' with 'clang-version-9'... > Done. > * Building target 'X86.fast' with 'clang-version-9'... > Done. > * Building target 'NULL_MOESI_CMP_token.opt' with 'clang-version-9'... > Done. > * Building target 'NULL_MOESI_CMP_token.fast' with 'clang-version-9'... > Done. > * Building target 'SPARC.opt' with 'clang-version-9'... > Done. > * Building target 'SPARC.fast' with 'clang-version-9'... > Done. > * Building target 'X86_MOESI_AMD_Base.opt' with 'clang-version-9'... > Done. > * Building target 'X86_MOESI_AMD_Base.fast' with 'clang-version-9'... > Done. > * Building target 'POWER.opt' with 'clang-version-9'... > Done. > * Building target 'POWER.fast' with 'clang-version-9'... > Done. > * Building target 'Garnet_standalone.opt' with 'clang-version-9'... > Done. > * Building target 'Garnet_standalone.fast' with 'clang-version-9'... > Done. > * Building target 'NULL_MOESI_hammer.opt' with 'clang-version-9'... > Done. > * Building target 'NULL_MOESI_hammer.fast' with 'clang-version-9'... > Done. > * Building target 'NULL_MESI_Two_Level.opt' with 'clang-version-9'... > Done. > * Building target 'NULL_MESI_Two_Level.fast' with 'clang-version-9'... > Done. > * Building target 'RISCV.opt' with 'clang-version-9'... > Done. > * Building target 'RISCV.fast' with 'clang-version-9'... > Done. > * Building target 'MIPS.opt' with 'clang-version-9'... > Done. > * Building target 'MIPS.fast' with 'clang-version-9'... > Done. > * Building target 'ARM.opt' with 'clang-version-9'... > Done. > * Building target 'ARM.fast' with 'clang-version-9'... > Done. > * Building target 'GCN3_X86.opt' with 'clang-version-9'... > ! Failed with exit code 2. > * Building target 'GCN3_X86.fast' with 'clang-version-9'... > ! Failed with exit code 2. > Starting build tests with 'clang-version-8'... > * Building target 'NULL_MOESI_CMP_token.opt' with 'clang-version-8'... > Done. > * Building target 'NULL_MOESI_CMP_token.fast' with 'clang-version-8'... > Done. > Starting build tests with 'clang-version-7'... > * Building target 'X86.opt' with 'clang-version-7'... > Done. > * Building target 'X86.fast' with 'clang-version-7'... > Done. > Starting build tests with 'clang-version-6.0'... > * Building target 'Garnet_standalone.opt' with 'clang-version-6.0'... > Done. > * Building target 'Garnet_standalone.fast' with 'clang-version-6.0'... > Done. > Starting build tests with 'clang-version-5.0'... > * Building target 'NULL_MOESI_CMP_directory.opt' with > 'clang-version-5.0'... > Done. > * Building target 'NULL_MOESI_CMP_directory.fast' with > 'clang-version-5.0'... > Done. > Starting build tests with 'clang-version-4.0'... > * Building target 'NULL_MOESI_CMP_token.opt' with 'clang-version-4.0'... > Done. > * Building target 'NULL_MOESI_CMP_token.fast' with 'clang-version-4.0'... > Done. > Starting build tests with 'clang-version-3.9'... > * Building target 'MIPS.opt' with 'clang-version-3.9'... > Done. > * Building target 'MIPS.fast' with 'clang-version-3.9'... > Done. > Build step 'Execute shell' marked build as failure > Archiving artifacts > _______________________________________________ > gem5-dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > >
_______________________________________________ gem5-dev mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
