Skip to content
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

libmcwamp and libhc_am are circularly dependent #1449

Open
sclarkson opened this issue Jun 9, 2020 · 0 comments
Open

libmcwamp and libhc_am are circularly dependent #1449

sclarkson opened this issue Jun 9, 2020 · 0 comments

Comments

@sclarkson
Copy link

libmcwamp is depends on libhc_am

$ objdump -p libmcwamp.so.3 | grep NEEDED | grep hc_am
NEEDED               libhc_am.so.3

However, libhc_am depends on libmcwamp for the symbol Kalmar::getContext, despite not explicitly linking to it.

$ objdump -p libhc_am.so.3 | grep NEEDED | grep hc_am
$ nm -D libhc_am.so.3 | c++filt | grep getContext
                 U Kalmar::getContext()
$ nm -D libmcwamp.so.3 | c++filt | grep getContext
0000000000023cf0 T Kalmar::getContext()

Furthermore, hcc-config always links to both libraries. Is there any reason for these libraries not to be merged, especially now that the plugin loader has been removed? Seems like there's not a clear separation of responsibilities between them.

Related to #1037

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant