Hi, Gabe, Just to add some info (I forgot to try v21 last time): To set USE_SYSTEMC=0 can make it through for version v20.1.0.5, but not for latest v21.1.0.0. As u may already know, for v21.1.0.0 the following errors appeared during building process:
build/ARM/python/_m5/param_A9SCU.cc:7:10: fatal error: pybind11/pybind11.h: No such file or directory 7 | #include "pybind11/pybind11.h" | ^~~~~~~~~~~~~~~~~~~~~ build/ARM/python/_m5/param_AMPMPrefetcher.cc:7:10: fatal error: pybind11/pybind11.h: No such file or directory 7 | #include "pybind11/pybind11.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. compilation terminated. build/ARM/python/_m5/param_AbstractMemory.cc:7:10: fatal error: pybind11/pybind11.h: No such file or directory 7 | #include "pybind11/pybind11.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. scons: *** [build/ARM/python/_m5/param_AMPMPrefetcher.os] Error 1 build/ARM/python/_m5/param_AbstractNVM.cc:7:10: fatal error: pybind11/pybind11.h: No such file or directory 7 | #include "pybind11/pybind11.h" | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. I guess I'd better use v20 until you get everything solved in later release. Thanks & BR Shawn ________________________________ From: Gabe Black <gabe.bl...@gmail.com> Sent: Friday, August 20, 2021 4:28 PM To: gem5 users mailing list <gem5-users@gem5.org> Cc: wu xuyong <wx...@hotmail.com> Subject: Re: [gem5-users] util/tlm issue, need help Hi, sorry for taking a while to get back to you. The cxx-config code is not quite correct, although it basically works in most cases. It fails to build with the systemc integration, but you don't want to use gem5's built in systemc kernel anyway, if you're going to run it inside another external systemc simulation. The util/systemc/gem5_within_systemc/README was updated to tell you to set USE_SYSTEMC=0 on the command line, but it looks like we forgot to update the tlm one. Ideally we'll fix the underlying issue one of these days, but there are a lot of things to fix and only so much time. So, to get the build to work, add USE_SYSTEMC=0 to the scons command line. Gabe On Fri, Aug 13, 2021 at 9:13 AM wu xuyong via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote: Dear Gem5 Users, I‘ve got stucked when try to follow the tlm tutorial in gem5/util/tlm/README. (similar issues for versioin of GEM5 21.1.0.0<https://21.1.0.0/> & 21.0.1.0<https://21.0.1.0/>) Following the section III of the README file, there is no issue on the first two line and end with normal gem5.opt output: > cd ../.. > scons build/ARM/gem5.opt While the problem comes during the next command > scons --with-cxx-config --without-python --without-tcmalloc > build/ARM/libgem5_opt.so<https://opt.so/> There comes several error report as below, the log file is also available as attachment. build/ARM/cxx_config/Gem5ToTlmBridge256.cc:144<https://gem5totlmbridge256.cc:144/>:24: error: cannot convert 'sc_gem5::Gem5ToTlmBridge<256>*' to 'gem5::SimObject*' in return 144 | return this->create(); | ~~~~~~~~~~~~^~ | | | sc_gem5::Gem5ToTlmBridge<256>* I tried hard walking arround and have no ideal on how to get throught. I guess it may be a common issue for those who’s trying to get through this tutorial. Any advise on using the tlm utility of Gem5 will be great helpful. By the way, it will make my life better if anyone could offer me any idea on getting rid of the huge amount of namespace warning in building the new version 21.1.0.0<https://21.1.0.0/>. Thank in advance _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s