[Rd] Error compiling 87283 on Windows 10 using Rtools4.4 6335-6327

Prof Brian Ripley r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Thu Oct 31 19:10:38 CET 2024


On 31/10/2024 16:30, Avraham Adler wrote:
> When compiling R, the build fails after byte compiling grDevices with
> the following error:
> 
> byte-compiling package 'grDevices'
> make[4]: *** [../../../share/make/lazycomp.mk:9:
> ../../../library/grDevices/R/grDevices.rdb] Error 139
> make[3]: *** [Makefile.win:23: all] Error 2
> make[2]: *** [Makefile.win:34: R] Error 1
> make[1]: *** [Makefile:18: all] Error 2
> make: *** [Makefile:392: distribution] Error 2
> 
> I restarted the build, as sometimes that allows it to power through,
> but it failed at the same point. Any thoughts or suggestions would be
> appreciated.
> 
> This may be unrelated, but as I was monitoring the compilation, I saw
> an warning which I haven't seen before in the 20 or so years I've been
> building R on Windows:
> 
> In function 'R_chk_memset',
>      inlined from 'do_aperm' at ../main/array.c:1754:5:
> ../main/memory.c:3578:16: warning: 'memset' specified bound between
> 18446744056529682432 and 18446744073709551608 exceeds maximum object
> size 9223372036854775807 [-Wstringop-overflow=]
>   3578 |     return n ? memset(s, c, n) : s;
>        |
> 
> No idea if it is related but I thought I should mention it.

This is known for an LTO build with gcc 14.2.x -- not normally used on 
Windows though.  It is a over-aggressive warning, one we are working on 
for R-devel.

-- 
Brian D. Ripley,                  ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford



More information about the R-devel mailing list