Hi all!

I am trying to compile gem5 in opt mode and it keeps giving me this error:

build/X86/sim/init_signals.cc:65:32: error: size of array 'fatalSigStack'
is not an integral constant-expression
   65 | static uint8_t fatalSigStack[2 * SIGSTKSZ];
      |                                ^
scons: *** [build/X86/sim/init_signals.o] Error 1
build/X86/sim/init.cc: In static member function 'static PyObject*
EmbeddedPyBind::initAll()':
build/X86/sim/init.cc:201:41: warning: 'pybind11::module_::module_(const
char*, const char*)' is deprecated: Use PYBIND11_MODULE or
module_::create_extension_module instead [-Wdeprecated-declarations]
  201 |     py::module_ m_m5 = py::module_("_m5");
      |                                         ^
In file included from build/X86/sim/init.hh:44,
                 from build/X86/sim/init.cc:44:
ext/pybind11/include/pybind11/pybind11.h:947:14: note: declared here
  947 |     explicit module_(const char *name, const char *doc = nullptr) {
      |              ^~~~~~~

Can someone help me understand this? I feel like I need to install python
libraries that can fix this maybe?

Thank you.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to