Last active
August 29, 2015 13:57
-
-
Save fmichonneau/9693257 to your computer and use it in GitHub Desktop.
Error during package installation using
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** testing if installed package can be loaded | |
Error in dyn.load(file, DLLpath = DLLpath, ...) : | |
unable to load shared object '/home/francois/phylobase.Rcheck/phylobase/libs/phylobase.so': | |
/home/francois/phylobase.Rcheck/phylobase/libs/phylobase.so: undefined symbol: __ubsan_vptr_type_cache | |
Error: loading failed | |
Execution halted | |
ERROR: loading failed | |
_____ | |
The command used during the package compilation is: | |
clang++ -fsanitize=undefined -I/usr/local/lib64/R/include -DNDEBUG -I. -DHAVEINTTYPES_H -DASSERTS_TO_EXCEPTIONS -I/usr/local/include -I"/usr/local/lib64/R/library/Rcpp/include" -fpic -std=c++11 -fno-omit-frame-pointer -O3 -Wall -pedantic -mtune=native |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PS. I took out
-fsanitize=undefined -fno-omit-frame-pointer
from the Makevars file while compiling Rcpp and it seems to have worked (which should be OK since I don't have to UBSAN-check Rcpp itself ...)