Hello *,
While building gem5 with EXTRAS= mechanism I'm encountering an error.
Error :
[SO Param] m5.objects.BranchPredictor, BranchTargetBuffer -> ARM/python/_m5/param_BranchTargetBuffer.cc
terminate called after throwing an instance of 'pybind11::error_already_set'
what(): AttributeError: m5.objects.SystemC_Example.py already found in importer
At:
<string>(57): add_module
<string>(93): install
And this stays the same for all params build irrespective of which simobject its building. But I have not called that anywhere else.
I'm currently using gem5v23.1. gcc 11.2. python 3.10.12.
Warm regards,
Ananth Pai J
Infineon Technologies IN
DES PTS TI EA SME
Phone: +91 7349045724
Ananth.PaiJ@infineon.commailto:Ananth.PaiJ@infineon.com
On 26/02/2024 05:33, Ananth.PaiJ--- via gem5-users wrote:
Hello *,
Hi
While building gem5 with EXTRAS= mechanism I’m encountering an error.
Error :
[SO Param] m5.objects.BranchPredictor, BranchTargetBuffer -> ARM/python/_m5/param_BranchTargetBuffer.cc
terminate called after throwing an instance of 'pybind11::error_already_set'
what(): AttributeError: m5.objects.SystemC_Example.py already found in importer
My quick guess is that you might have two SystemC_Example.py files in your EXTRAS directory which might conflict with each other.
I believe one is in https://github.com/gem5/gem5/blob/stable/util/systemc/systemc_within_gem5/systemc_gem5_tlm/SystemC_Example.py; I would make sure there is no other one that gets discovered by SCons.
Kind Regards
Giacomo
At:
<string>(57): add_module
<string>(93): install
And this stays the same for all params build irrespective of which simobject its building. But I have not called that anywhere else.
I’m currently using gem5v23.1. gcc 11.2. python 3.10.12.
Warm regards,
Ananth Pai J
Infineon Technologies IN
DES PTS TI EA SME
Phone: +91 7349045724
Ananth.PaiJ@infineon.commailto:Ananth.PaiJ@infineon.com
gem5-users mailing list -- gem5-users@gem5.orgmailto:gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.orgmailto:gem5-users-leave@gem5.org
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.