Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should use CRAN's config by default? #21

Open
gaborcsardi opened this issue Jul 4, 2021 · 2 comments
Open

Should use CRAN's config by default? #21

gaborcsardi opened this issue Jul 4, 2021 · 2 comments

Comments

@gaborcsardi
Copy link
Contributor

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.

@eddelbuettel
Copy link

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

@eddelbuettel
Copy link

Also see #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants