New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows build issue #34
Comments
I must be an idiot but have browsed all the docs for this issue and I can't find a usable error message. Can someone clarify what the error message actually is? |
If you follow the first link in the email by Francois Rousset you get to the CRAN tests results for Eigen which flashes a bright red for Windows and this link. Now that's of course just Which we still need to reproduce. |
Gotcha. Thanks
|
FWIW, I can't reproduce the R CMD check failure on my Windows machine (32bit R, using R-patched 3.3.0, r70654; dev version of
|
Hi everyone, now I can confirm that this issue CAN be reproduced when |
@yixuan you are very, very impressive. Now where do we go from here? I vaguely recall that |
Lurking here, but core R for Windows (which mainly means recommended packages) overwrites -O3 with -O2 for C++ (lines 74 and 77 of R_HOME/src/gnuwin32/fixed/etc/Makeconf) and has done so for a very long time—not just for the gcc 4.9.3 based Rtools. As there may be other package issues with -O3, would suggesting -O2 for the time being be appropriate? |
Here's the (mostly unhelpful) output from
The demangled name (in case someone wanted to dive in)
IMHO the best solution is for us to just force |
I just got this email but it was probably tickled by someone else :)
|
Hi, yes I submitted to Thanks to everyone for caring about this issue. F. |
Another option is to force |
I just tried (For definiteness: I modified he
) |
You can add it unconditionally. It won't do harm for x86_64. I can't quite recall where but we used it before methinks. Or maybe I just kept it around in |
@f-rousset Have you tried -O2 without -DNDEBUG? |
@aadler |
@f-rousset Thanks. For what it is worth, in the hidden machinations of R for windows (R_HOME/src/gnuwin32/fixed/etc/Makeconf, otherwise known as "Here Be Monsters") has "R_XTRA_CPPFLAGS = -I"$(R_HOME)/include" -DNDEBUG" on line 165. |
I have now had an exchange with Uwe Ligges about the compilation flags on |
Very nice -- thanks so much for reporting back and getting it settled upstream at winbuilder! |
And I just got email from Uwe (or rather his bot) that a new RcppEigen has been built. |
Great! Thank everyone who provided help. |
And now got email from Uwe himself, so I think we can close this. Kudos to @f-rousset for following this through. |
Reported on rcpp-devel in this post
@yixuan Any thoughts?
The text was updated successfully, but these errors were encountered: