Skip to content
Prev 9858 / 10988 Next

[Rcpp-devel] [RcppParallel] Segfault but only on TravisCI

(I think I forgot to reply to all)

I failed to mention that I am also using RcppArmadillo elsewhere,
and I found the following post by the Coatless Professor saying that
Armadillo requires at least gcc 4.7.2:

http://thecoatlessprofessor.com/programming/r/selecting-an-a
lternative-compiler-for-r-package-testing-on-travis-ci/

However, my Travis builds were already using Trusty (gcc 4.8.4).
I think WinBuilder uses gcc 4.9.3, and that one didn't fail.
In case it is of interest, I am using Armadillo for exactly one thing:

arma::vec cc_seq = arma::real(arma::ifft(fftx % ffty));

and that was also being problematic in Travis
(element-wise multiplication due to incompatible dimensions, showing
vectors with unreasonably large dimensions).
Using version 5 of the compilers as explained in the post above seems to
have solved the problems.

Thanks,
Alexis.
On Wed, Jan 17, 2018 at 5:41 PM, Kevin Ushey <kevinushey at gmail.com> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20180117/205d5328/attachment-0001.html>