@@ -812,8 +812,42 @@ Configuration
812812Troubleshooting
813813-------------- -
814814
815- * not written yet*
815+ File with intercepted commands is empty
816+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
817+
818+ Access control mechanisms on different operating systems might disable
819+ library injection that is used by Clade to intercept build commands:
820+
821+ - SELinux on Fedora, CentOS, RHEL ;
822+ - System Integrity Protection on macOS;
823+ - Mandatory Integrity Control on Windows (disables similar mechanisms)
824+
825+ A solution is to use * fallback* intercepting mechanism that is based on
826+ * wrappers* .
827+
828+ File with intercepted commands is not complete
829+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
830+
831+ Sometimes some commands are intercepted, so file * cmds.txt* is present and not
832+ empty, but other commands are clearly missing.
833+ Such behaviour should be reported so the issue can be fixed, but until then
834+ you can try to use * fallback* intercepting mechanism that is based on
835+ * wrappers* .
836+
837+ Wrong ELF class
838+ ~~~~~~~~~~~~~~~
839+ Build command intercepting may result in the following error:
840+
841+ ::
842+
843+ ERROR : ld.so: object ' libinterceptor.so' from LD_PRELOAD cannot be preloaded (wrong ELF class : ELFCLASS64 ): ignored.
816844
845+ It is because your project leverages multilib capabilities, but
846+ * libinterceptor* library that is used to intercept build commands is
847+ compiled without multilib support.
848+ You need to install * gcc- multilib* (Ubuntu) or * gcc- 32bit * (openSUSE) package
849+ and ** reinstall Clade** . * libinterceptor* library will be recompiled and your
850+ issue will be fixed.
817851
818852Acknowledgments
819853-------------- -
0 commit comments