-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
CCModule.pModule = dlopen(CCModule.pModuleName, RTLD_NOW | RTLD_DEEPBIND); |
@paigeale, @iwwu : I just realized that IGC loads "libcommon_clang.so" exactly as I wrote it. The problem is that this is linker name and it will be packaged into development package, i.e. in something called like igc-devel.rpm while libcommon_clang.so.8 (if you build against LLVM-8) will be packaged into runtime package igc.rpm. So, we might face the situation when user will install some application which requires igc, hence it will install igc.rpm as a dependency, but he will miss igc-devel.rpm, hence he will miss libcommon_clang.so entirely.
Thus, I think we need to implement one of the following solutions:
- Either load libcommon_clang.so.${LLVM_MAJOR_VERSION}
- Or simply link against common_clang as suggested in question: will it make sense to link against common_clang rather than load it? #71
Metadata
Metadata
Assignees
Labels
No labels