r-debug icon indicating copy to clipboard operation
r-debug copied to clipboard

Should use CRAN's config by default?

Open gaborcsardi opened this issue 4 years ago • 2 comments

According to https://svn.r-project.org/R-dev-web/trunk/CRAN/QA/BDR/gannet/R-clang-SAN/config.site this is CRAN's current config for the clang-asan build:

CC="clang -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer"
OBJC=clang
CXX="clang++ -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti"
FC=gfortran
CFLAGS="-g -O3 -Wall -pedantic"
FFLAGS="-g -O2 -mtune=native"
FCFLAGS="-g -O2 -mtune=native"
CXXFLAGS="-g -O3 -Wall -pedantic"
CPPFLAGS="-isystem /usr/local/clang/include"
JAVA_HOME=/usr/lib/jvm/java-1.8.0
LDFLAGS="-L/usr/local/clang/lib64  -L/usr/local/lib64"
MAIN_LD="clang++ -fsanitize=undefined,address"
SHLIB_OPENMP_FFLAGS=

Not everything applies to the Docker image, but some of them are required to reproduce issues on CRAN.

gaborcsardi avatar Jul 04 '21 22:07 gaborcsardi

Seconded. Looking at a CRAN report right now I cannot reproduce on RDsan or RDcsan.

eddelbuettel avatar Oct 11 '21 13:10 eddelbuettel

Also see #10

eddelbuettel avatar Oct 11 '21 13:10 eddelbuettel