Open eddelbuettel opened 7 months ago
Thanks, yes, definitely need to be able to pass env vars, let's keep this issue open for that.
But for this case specifically it seems like something that we always want to set on libc++ + asan containers.
I have the same issue with a package of mine containing compiled code and testing with clang + ASAN/UBSAN.
Package RcppParallel also causes an ODR false positive (this is even noted in the official memtest README).
ASAN_OPTIONS needs to be extended by detect_odr_violation=0
to fix this particular problem.
setenv ASAN_OPTIONS 'detect_leaks=0' [RcppParallel is run adding detect_odr_violation=0]
Has there been any progress on this? I am running into issues with rhub ASAN/UBSAN workflows for another Rcpp package
As a test, I ran the clang-asan container against a package that is clean at CRAN. It didn't get very far on either examples or tests:
Googling the message leads to e.g. this GH issue suggesting we want to set the env var. Could a new config argument for env vars be added?