Steve,

On 25 March 2020 at 16:48, Dirk Eddelbuettel wrote:
| For ASAN/UBSAN to work you should use the same setting as the compiled
| 'host'. As you benefit from a pre-made Docker container, its settings are
| 
|   CC="clang -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero 
-fno-omit-frame-pointer -fsanitize-address-use-after-scope" \
|   CXX="clang++ -stdlib=libc++ -fsanitize=address,undefined 
-fno-sanitize=float-divide-by-zero -fno-omit-frame-pointer 
-fsanitize-address-use-after-scope" \

Addendum / correction: Because R-devel in this container as been built with
these settings, your package does NOT need to repeat them in its src/Makevars.

Just invoke it via RD as in RD CMD INSTALL ... or RD CMD check ...

Hth, Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to