Skip to content

[Bioc-devel] New Windows toolchain

3 messages · Dan Tenenbaum

#
Hi all,

This is relevant (and possibly quite important) to all package maintainers whose packages contain C or C++ code, or depend on one that does.

A new toolchain is available for building R and R packages on Windows. This toolchain uses gcc 4.9.2 whereas the old one used gcc 4.6.3.

Another major difference is that gcc is no longer in the PATH; and the flags -m32 and -m64 can't be used to delegate to the appropriate compiler, so any Makefiles/Makevars/configure scripts that expect to find gcc/g++ on the PATH need to be changed. 
See https://stat.ethz.ch/pipermail/r-devel/2015-March/070800.html and other emails in that thread for more information.

The new toolchain has been installed on the bioc-devel build machine for Windows, SO...it's possible that this could wreak a little havoc on our build system (just on windows) tomorrow. The main point of this email is to say not to worry, we'll figure these things out. If your package suddenly fails to build tomorrow, it's likely related to this change. We'll post updates as we figure out what package maintainers need to do to get things working again.

For those who develop on windows, grab the latest R-devel and the latest Rtools in order to be on the same page as the build system.

Let us know if you have questions.
Dan
#
A quick update: Sounds like there is a strong possibility that the toolchain will be rolled back to use the older gcc and avoid all these issues.

Alternatively, some of the issues may be fixed in the next few days.

So, please do NOT make any changes to your packages in response to these issues because you might just have to roll them back.

For tonight's build we will use the new toolchain in order to gather data about what breaks and what doesn't, but after that we may switch back, depending on the extent of damage and on what CRAN decides to do. We'll keep you posted.

Thanks,
Dan


----- Original Message -----
5 days later
#
An update on this: for the time being, the R folks have decided to roll back to a toolchain based once more on gcc 4.6.3.

They plan for the new (gcc 4.9.2-based) toolchain to be available in conjunction with R 3.2.1 sometime later this year.

More information is here:

http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2015-March/008524.html

So when this new toolchain (and R-devel built against it) is available, I will be installing it on the devel windows build machine.

Thanks,
Dan


----- Original Message -----