-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined reference to `gem5::GshareBPParams::create() const #1
Comments
How to resolve this issue any insights are highly appreciated |
I modified the gshare.cc & gshare.hh by changing
to
|
With the above corrections also, the same error is repeating, please suggest how to address the following errors, [ LINK] -> RISCV/gem5.opt |
Hay! are you able to resolve this issue? if so please suggest the correction required! |
I guess the problem is some functions' signature in source code is different from the newest gem5 predictor. You can check it with your own gem5 example predictor function signature and fix the differences. |
The issue of "undefined reference to gem5::GshareBPParams::create() const" still hasn't been resolved. Has anyone found a solution? I would appreciate it if you could share the fix. |
I have followed the instructions laid out in readme and while reconstructing the source using scons getting the below error:
/usr/bin/ld: build/X86/python/_m5/param_GshareBP.o: in function
void pybind11::cpp_function::initialize<pybind11::cpp_function::initialize<gem5::branch_prediction::GshareBP*, gem5::GshareBPParams, , pybind11::name, pybind11::is_method, pybind11::sibling>(gem5::branch_prediction::GshareBP* (gem5::GshareBPParams::*)() const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(gem5::GshareBPParams const*)#1}, gem5::branch_prediction::GshareBP*, gem5::GshareBPParams const*, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize<gem5::branch_prediction::GshareBP*, gem5::GshareBPParams, , pybind11::name, pybind11::is_method, pybind11::sibling>(gem5::branch_prediction::GshareBP* (gem5::GshareBPParams::*)() const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(gem5::GshareBPParams const*)#1}&&, gem5::branch_prediction::GshareBP* (*)(gem5::GshareBPParams const*), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)': /home/akhil/gem_5/gem5/ext/pybind11/include/pybind11/pybind11.h:223: undefined reference to
gem5::GshareBPParams::create() const'collect2: error: ld returned 1 exit status
scons: *** [build/X86/gem5.opt] Error 1
scons: building terminated because of errors.
The text was updated successfully, but these errors were encountered: