Skip to content
Prev 50046 / 63424 Next

Notes on building a gcc toolchain for Rtools (but not multilib)

On 10/03/2015 3:17 PM, Duncan Murdoch wrote:
I've found the problem now, and it will be easy to fix.  In case anyone 
else finds this thread, here's the problem:

The regular Windows internet code (not internet2) used the Winsock 
interface.  It returns different error codes than the Unix sockets 
interface.   Some error codes are ignorable (EWOULDBLOCK and 
EINPROGRESS); these are WSAEWOULDBLOCK and WSAEINPROGRESS in Winsock.  
We had code like

#ifndef EWOULDBLOCK
# define EWOULDBLOCK             WSAEWOULDBLOCK
#endif

so our code could work with the Unix macro names.  However, the new 
toolchain defines both EWOULDBLOCK
and WSAEWOULDBLOCK, so the remapping never happened, and we didn't 
ignore those errors.

Tomorrow's R-devel should have the fix in place, unless something else 
goes wrong, or I'm too slow.

Duncan Murdoch

Thread (30 messages)

Hsiu-Khuern Tang Notes on building a gcc toolchain for Rtools (but not multilib) Mar 8 Avraham Adler Notes on building a gcc toolchain for Rtools (but not multilib) Mar 8 Hsiu-Khuern Tang Notes on building a gcc toolchain for Rtools (but not multilib) Mar 8 Avraham Adler Notes on building a gcc toolchain for Rtools (but not multilib) Mar 8 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 9 Hsiu-Khuern Tang Notes on building a gcc toolchain for Rtools (but not multilib) Mar 9 Avraham Adler Notes on building a gcc toolchain for Rtools (but not multilib) Mar 9 Avraham Adler Notes on building a gcc toolchain for Rtools (but not multilib) Mar 9 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 9 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 9 Hsiu-Khuern Tang Notes on building a gcc toolchain for Rtools (but not multilib) Mar 9 Avraham Adler Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Dan Tenenbaum Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Hsiu-Khuern Tang Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Dan Tenenbaum Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Avraham Adler Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Hsiu-Khuern Tang Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Avraham Adler Notes on building a gcc toolchain for Rtools (but not multilib) Mar 10 Hsiu-Khuern Tang Notes on building a gcc toolchain for Rtools (but not multilib) Mar 11 Avraham Adler Notes on building a gcc toolchain for Rtools (but not multilib) Mar 11 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 11 Hsiu-Khuern Tang Notes on building a gcc toolchain for Rtools (but not multilib) Mar 11 Dan Tenenbaum Notes on building a gcc toolchain for Rtools (but not multilib) Mar 11 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 11 Duncan Murdoch Notes on building a gcc toolchain for Rtools (but not multilib) Mar 12 Dan Tenenbaum Notes on building a gcc toolchain for Rtools (but not multilib) Mar 12