Hello all, So I’m trying to build gem5 on a new machine and I get the following error.
scons: Reading SConscript files ... Checking for linker -Wl,--as-needed support... yes Checking for compiler -gz support... yes Checking for linker -gz support... yes Info: Using Python config: python3-config Checking for C header file Python.h... yes Checking Python version... 3.10.4 Checking for accept(0,0,0) in C++ library None... yes Checking for zlibVersion() in C++ library z... yes Checking for C library tcmalloc... no Checking for C library tcmalloc_minimal... no Warning: You can get a 12% performance improvement by installing tcmalloc (libgoogle-perftools-dev package on Ubuntu or RedHat). Checking for char temp; backtrace_symbols_fd((void *)&temp, 0, 0) in C library None... yes Checking for C header file fenv.h... yes Checking for C header file png.h... yes Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... yes Checking for C header file valgrind/valgrind.h... no Checking for pkg-config package hdf5-serial... no Checking for pkg-config package hdf5... no Checking for H5Fcreate("", 0, 0, 0) in C library hdf5... no Warning: Couldn't find HDF5 C++ libraries. Disabling HDF5 support. Checking for C header file linux/if_tun.h... yes Checking for shm_open("/test", 0, 0) in C library None... no Checking for shm_open("/test", 0, 0) in C library rt... yes Checking for C header file linux/kvm.h... yes Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library None... yes Checking size of struct kvm_xsave ... yes Checking for member exclude_host in struct perf_event_attr...yes Checking for pkg-config package protobuf... yes Checking for GOOGLE_PROTOBUF_VERIFY_VERSION in C++ library protobuf... yes AttributeError: 'SConsEnvironment' object has no attribute 'M4': File "/onyx/data/p182/GEM5_STABLE_VERSION/gem5_qemu_virt/SConstruct", line 602: main.SConscript(os.path.join(root, 'SConscript'), File "/nvme/h/buildsets/eb_cyclone_rl/software/SCons/4.4.0-GCCcore-11.3.0/lib/python3.10/site-packages/SCons/Script/SConscript.py", line 597: return _SConscript(self.fs, *files, **subst_kw) File "/nvme/h/buildsets/eb_cyclone_rl/software/SCons/4.4.0-GCCcore-11.3.0/lib/python3.10/site-packages/SCons/Script/SConscript.py", line 285: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "/onyx/data/p182/GEM5_STABLE_VERSION/gem5_qemu_virt/build/libelf/SConscript", line 121: m4env.M4(target=File('libelf_convert.c'), I have experience with building gem5 but on this machine I can’t figure out what the problem is. Did anyone faced the same issue before? The gem5 version I use is 21.1.0.2 GCC version is 11.3 Python 3.10.4 Thank you in advance, Ioannis Constantinou.
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org