Dear Simon, В Wed, 8 May 2024 10:17:41 +0000 Simon Andrews via R-help <r-help@r-project.org> пишет:
> I'm having a strange problem compiling R4.4.0 on an AlmaLinux9 box. > make[4]: Entering directory '/bi/apps/R/R-4.4.0/src/library/grDevices' > byte-compiling package 'grDevices' > > *** caught segfault *** > address 0x18017a8110, cause 'memory not mapped' > > Traceback: > 1: solve.default(rgb) Miguel Esteva has recently complained about the same problem on RHEL9, but didn't provide enough details, nor was I able to reproduce it myself: https://stat.ethz.ch/pipermail/r-help/2024-May/479288.html Thanks for letting us know it's reproducible on AlmaLinux and telling us your compiler version! Unfortunately, I wasn't able to reproduce the crash, neither with gcc-toolset-13, nor with the ordinary gcc & gfortran 11.4.1 20231218 (Red Hat 11.4.1-3) from the repository. I see that your compiler version is slightly different (11.4.1-2). I'm running `podman run -it --rm almalinux:9`. Would an upgrade help? Can you run R under the debugger and obtain a backtrace? Something like the following, in the src/library/grDevices subdirectory: _R_COMPILE_PKGS_=1 R_COMPILER_SUPPRESS_ALL=1 \ R_DEFAULT_PACKAGES=NULL LC_ALL=C \ ../../../bin/R -d gdb --vanilla --no-echo -e \ 'tools:::makeLazyLoading("grDevices")' -- Best regards, Ivan ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.