[gem5-users] Using DSENT in GEM5
Hi, I encounter a segmentation fault when import dsent in python file I successfully executed make and built the target in dsent but when I typed "import dsent" in python file (3.10 ver), it came segmentation fault as below Segfault happened at: 0x557878f5cc15: testb $Ox1,0xab(%rax)PC(Ox557878f5cc15)ok source "$ox1" ok destination "Oxab(%rax)"(Oxo603090703aa)not located in a known vMA region(needed writable region)! anybody knows the reason ? could you please help me using dsent in gem5? ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org
[gem5-users] SPEC2017 FS Simulation - Using KVM up to the point when the benchmarks finally run
Hello, I'm using the x86-spec-cpu2017-benchmarks.py config file to run spec2017 benchmarks. I followed this tutorial https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/spec-2017/ for building the spec disk image. Currently, the linux booting is done with KVM CPU and the rest of the simulation is done with the TIMING CPU. However, after booting linux, there are lots of steps before the benchmark actually gets to run. For example, here are the logs in my board.pc.com_1.device file after booting linux: "Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.19.83 x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support:https://ubuntu.com/advantage New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Done reading workloads Workload detected Reset stats SPEC CPU(r) 2017 Benchmark Suites Copyright 1995-2019 Standard Performance Evaluation Corporation (SPEC) runcpu v6612 Using 'linux-x86_64' tools Reading file manifests... read 32351 entries from 2 files in 0.23s (138866 files/s) Loading runcpu modules. Locating benchmarks...found 47 benchmarks in 73 benchsets. Reading config file '/home/gem5/spec2017/config/myconfig.x86.cfg' 1 configuration selected: ActionRun Mode Workload Report Type Benchmarks --- validate rate test SPECrate2017_int 502.gcc_r --- Setting up environment for running 502.gcc_r... Starting runcpu for 502.gcc_r... Retrieving flags file (/home/gem5/spec2017/config/flags/gcc.xml)... Benchmarks selected: 502.gcc_r Compiling Binaries Up to date 502.gcc_r base mytest-m64 NOT Building 502.gcc_r peak mytest-m64; nobuild is on Build successes for intrate: None Build errors for intrate: 502.gcc_r(peak; nobuild) Setting Up Run Directories Setting up 502.gcc_r test base mytest-m64 (1 copy): run_base_test_mytest-m64. *Running Benchmarks Running 502.gcc_r test base mytest-m64 (1 copy) [2023-04-03 15:46:35]*" And these steps take more than a day with the TIMING CPU. Is there any way to run everything on the KVM CPU before running the actual benchmark application? Thanks, Fayza. ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org
[gem5-users] Error: open CFI at the end of file
I’m trying to compile the ARM gem5 model: # python3 /usr/bin/scons build/ARM/gem5.opt However, I’m getting this error: {standard input}: Assembler messages: {standard input}:135661: Warning: end of file not at end of a line; newline inserted {standard input}:135860: Error: unknown pseudo-op: `.l' {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive g++: fatal error: Killed signal terminated program cc1plus compilation terminated. scons: *** [build/ARM/enums/ArmPciIntRouting.o] Error 1 Any idea what could be happening? ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org
[gem5-users] Re: Error: open CFI at the end of file
Normally errors like this are because you've run out of memory when building gem5. If you're building with threads, reduce the number of threads you're using. I normally recommend building on systems with 6GB+ to be safe. -- Dr. Bobby R. Bruce Room 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Mon, Apr 17, 2023 at 3:49 PM Jonathan Kang via gem5-users < gem5-users@gem5.org> wrote: > I’m trying to compile the ARM gem5 model: > > > > # python3 /usr/bin/scons build/ARM/gem5.opt > > > > However, I’m getting this error: > {standard input}: Assembler messages: > > {standard input}:135661: Warning: end of file not at end of a line; > newline inserted > > {standard input}:135860: Error: unknown pseudo-op: `.l' > > {standard input}: Error: open CFI at the end of file; missing .cfi_endproc > directive > > g++: fatal error: Killed signal terminated program cc1plus > > compilation terminated. > > scons: *** [build/ARM/enums/ArmPciIntRouting.o] Error 1 > > > > Any idea what could be happening? > ___ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org