Re: [R-pkg-devel] [FORGED] help with ASAN

2020-03-25 Thread Rolf Turner
On 26/03/20 5:16 pm, Steven Scott wrote: Rolf, I will strive to do better. Please note that you load a package with library(...).  Just sayin'. Yeah, this issue has arisen/been discussed (on R-help I think) in the past. The rationale is that you use the library() function to "take a pack

Re: [R-pkg-devel] [FORGED] help with ASAN

2020-03-25 Thread Steven Scott
Rolf, I will strive to do better. Please note that you load a package with library(...). Just sayin'. On Wed, Mar 25, 2020 at 6:16 PM Rolf Turner wrote: > > On 26/03/20 10:17 am, Steven Scott wrote: > > > I'm trying to build an ASAN enabled version of my R library > > > > *PLEASE*!!! Yo

Re: [R-pkg-devel] [FORGED] help with ASAN

2020-03-25 Thread Rolf Turner
On 26/03/20 10:17 am, Steven Scott wrote: I'm trying to build an ASAN enabled version of my R library *PLEASE*!!! Your R *package*!!! (A library is a *collection* of packages.) Correct terminology *does* matter, in that incorrect terminology can on occasion lead to confusion that

Re: [R-pkg-devel] help with ASAN

2020-03-25 Thread Steven Scott
Oohhh I didn't realize there was an RD. That simplifies things a lot! And for the record, I'm not surprised that my setup suggests that I don't know what I'm doing viz-a-viz docker. Everything was assembled by Google search and spaghetti flinging, so I'm pleased to get some expert advice. A grat

Re: [R-pkg-devel] help with ASAN

2020-03-25 Thread Dirk Eddelbuettel
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-o

Re: [R-pkg-devel] help with ASAN

2020-03-25 Thread Dirk Eddelbuettel
Steve, Your message has me puzzled over a few things just like your previous message from a few days ago. On 25 March 2020 at 14:17, Steven Scott wrote: | I'm trying to build an ASAN enabled version of my R library to help debug | errors found by CRAN on my last submission. I'm tantalizingly c

[R-pkg-devel] help with ASAN

2020-03-25 Thread Steven Scott
I'm trying to build an ASAN enabled version of my R library to help debug errors found by CRAN on my last submission. I'm tantalizingly close, but need some help figuring out what's wrong with my configuration. I'm using a docker container that I think contains a version of R built with the right