Hi Derek,

I have built it successfully with cherry-pick another two commits 
https://gem5-review.googlesource.com/c/public/gem5/+/68818?usp=search and 
https://gem5-review.googlesource.com/c/public/gem5/+/68817. You can try these 
two commits.

Best
Congwu

> On May 16, 2023, at 22:25, Derek Christ via gem5-users <gem5-users@gem5.org> 
> wrote:
> 
> Hi Richard,
> 
> thanks for your answer!
> 
> With the patch cherry-picked, it starts to compile now. Unfortunately, it 
> still fails at a later point in time:
> 
> [SO Param] m5.objects.BaseMMU, BaseMMU -> X86/params/BaseMMU.hh 
> terminate called after throwing an instance of 'pybind11::error_already_set' 
>  what():  AttributeError: module 'inspect' has no attribute 'getargspec' 
> 
> At: 
>  build/X86/python/m5/SimObject.py(478): decorate 
>  build/X86/python/m5/SimObject.py(515): cxxMethod 
>  build/X86/python/m5/SimObject.py(634): SimObject 
>  build/X86/python/m5/SimObject.py(611): <module> 
>  <string>(40): exec_module 
>  <frozen importlib._bootstrap>(705): _load_unlocked 
>  <frozen importlib._bootstrap>(1152): _find_and_load_unlocked 
>  <frozen importlib._bootstrap>(1178): _find_and_load 
>  build/X86/arch/generic/BaseInterrupts.py(27): <module> 
>  <string>(40): exec_module 
>  <frozen importlib._bootstrap>(705): _load_unlocked 
>  <frozen importlib._bootstrap>(1152): _find_and_load_unlocked 
>  <frozen importlib._bootstrap>(1178): _find_and_load 
>  <string>(1): <module> 
>  build/X86/python/m5/objects/__init__.py(29): <module> 
>  <string>(40): exec_module 
>  <frozen importlib._bootstrap>(705): _load_unlocked 
>  <frozen importlib._bootstrap>(1152): _find_and_load_unlocked 
>  <frozen importlib._bootstrap>(1178): _find_and_load 
>  <frozen importlib._bootstrap>(1206): _gcd_import 
>  <frozen importlib._bootstrap>(241): _call_with_frames_removed 
>  <frozen importlib._bootstrap>(1128): _find_and_load_unlocked 
>  <frozen importlib._bootstrap>(1178): _find_and_load 
>  <frozen importlib._bootstrap>(1206): _gcd_import 
>  /usr/lib/python3.11/importlib/__init__.py(126): import_module 
>  build_tools/sim_object_param_struct_hh.py(58): <module> 
> 
> /tmp/tmpvc7mcwi_: line 1: 27766 Aborted                 (core dumped) 
> "build/X86/gem5py_m5" "build_tools/sim_object_param_struct_hh.py" 
> "m5.objects.BaseMMU" "build/X86/params/BaseMMU.hh" 
> scons: *** [build/X86/params/BaseMMU.hh] Error 134 
> scons: building terminated because of errors.
> 
> I think there might be another patch I would have to apply?
> 
> Best
> Derek
> 
> _______________________________________________
> 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

Reply via email to