[Rcpp-devel] Undefined Reference to typeinfo for Rcpp::RObject for Rdisop on Mac after Rcpp/RcppClassic update

Steffen Neumann sneumann at ipb-halle.de
Thu Feb 6 13:05:00 CET 2014


Hi list,

I am having issues to build Rdisop on Mac (to which I have no access)
after the upgrade to Rcpp 0.11.0 / RcppClassic 0.9.5, on both 

http://bioconductor.org/checkResults/2.13/bioc-LATEST/Rdisop/perceval-buildsrc.html
http://bioconductor.org/checkResults/2.14/bioc-LATEST/Rdisop/petty-buildsrc.html

with the same error message. Somehow the "typeinfo for Rcpp::RObject"
is not found in the shared library:

	Symbol not found: __ZTIN4Rcpp7RObjectE (typeinfo for Rcpp::RObject)
	Expected in: flat namespace

Any idea how to get back it in there ? This sounds similar 
to [1] and [2] and would hint that "someone" 
(R ? BioC build farm ?) needs to set (at compile time[3])

	export REQUIRES_RTTI=1

Thanks in advance,
Yours,
Steffen

[1] https://github.com/llvmpy/llvmpy/issues/50
[2] http://stackoverflow.com/questions/9058594/building-and-running-llvm-py-on-mac-os-x
[3] http://llvm.org/docs/Packaging.html#c-features


The system is petty:
http://bioconductor.org/checkResults/2.14/bioc-LATEST/petty-NodeInfo.html
with Mac OS X Snow Leopard (10.6.8), 
R Under development (unstable) (2014-01-15 r64790) -- "Unsuffered Consequences" 
and llvm-g++-4.2 compiler.

Installed packages here are:
http://bioconductor.org/checkResults/2.14/bioc-LATEST/petty-R-instpkgs.html
Rcpp                                            0.11.0 3.1.0
RcppClassic                                      0.9.5 3.1.0


[Don't mind the windows build failure, that comes next, 
 but it only happens on one machine so it works somewhere.]


** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object ‘/private/tmp/RtmpoagsNv/Rinst13f9973b0c29a/Rdisop/libs/Rdisop.so’:
  dlopen(/private/tmp/RtmpoagsNv/Rinst13f9973b0c29a/Rdisop/libs/Rdisop.so, 6): Symbol not found: __ZTIN4Rcpp7RObjectE
  Referenced from: /private/tmp/RtmpoagsNv/Rinst13f9973b0c29a/Rdisop/libs/Rdisop.so
  Expected in: flat namespace
 in /private/tmp/RtmpoagsNv/Rinst13f9973b0c29a/Rdisop/libs/Rdisop.so
Error: loading failed


echo __ZTIN4Rcpp7RObjectE | c++filt -s auto -t  -_
typeinfo for Rcpp::RObject


-- 
IPB Halle                    AG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann          http://www.IPB-Halle.DE
Weinberg 3                   http://msbi.bic-gh.de
06120 Halle                  Tel. +49 (0) 345 5582 - 1470
                                  +49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE     Fax. +49 (0) 345 5582 - 1409




More information about the Rcpp-devel mailing list