Skip to content
Prev 5773 / 12125 Next

[R-pkg-devel] Note: information on .o files is not available / Found '_exit', possibly from '_exit' (C)

Quick guess. After changing
to
I managed to `R CMD INSTALL` the package with gcc-8 on Ubuntu. Then
doing `cd ~/R/x86_64-pc-linux-gnu-library/3.6/gpboost/libs/` and
 - nm *.so -C | grep exit
 - nm *.so -C | grep abort
 - nm *.so -C | grep printf

yields nothing. However, doing `nm *.so -C | grep assert` yields
                 U __assert_fail@@GLIBC_2.2.5

and doing `grep "assert" -nr .` shows that `assert` is being called.
Thus, is everything build with `-NDEBUG`? See
https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#DOCF76

Den fre. 17. jul. 2020 kl. 14.52 skrev Spencer Graves
<spencer.graves at effectivedefense.org>: