Re: [R-pkg-devel] Debian and Fedora clang segmentation faults

2024-05-27 Thread Ivan Krylov via R-package-devel
В Mon, 27 May 2024 13:29:56 -0500 Stephen Meyers пишет: > I'm updating the 'astrochron' R package, and I'm trying to resolve a > new segmentation fault that arises only with the Debian and Fedora > clang compilers. An example is the function 'asm', which has been a > component of astrochron since

[R-pkg-devel] Debian and Fedora clang segmentation faults

2024-05-27 Thread Stephen Meyers
Hello everyone, I'm updating the 'astrochron' R package, and I'm trying to resolve a new segmentation fault that arises only with the Debian and Fedora clang compilers. An example is the function 'asm', which has been a component of astrochron since its debut July 2014: https://cran.r-project

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-27 Thread Ivan Krylov via R-package-devel
On Sun, 26 May 2024 17:57:17 -0500 Dirk Eddelbuettel wrote: > and we'd need something like this (untested) > >.plugins[["openmp"]] <- function() { >list(env = > list(PKG_CXXFLAGS=Sys.getenv("SHLIB_OPENMP_CXXFLAGS, ""), > PKG_LIBS=Sys.getenv("SHLIB_OPENMP_CXXFLAGS, ""))) } >From the

Re: [R-pkg-devel] gcc14 checks on fedora

2024-05-27 Thread Brad Eck
Thanks Gábor and Dirk for the suggestions. This one seemed to need fedora to replicate the issue. Docker did make it easy: FROM fedora:40 USER root RUN dnf -y install R Brad On Fri 24 May 2024 at 20:28, Gábor Csárdi wrote: > Fedora 40 comes with gcc 14.1.x. But I would first try to use the