Skip to content
Prev 45632 / 63424 Next

Linux distribution with gcc 4.8 and AddressSanitizer -- solved

It works!

After some hours of compilation, reading the docs and testing,
I got it now working and was able to reproduce (and fix) the
reported error message.

Then ingredients of the successful AdressSanitizer (ASAN)
system were:

- Fedora 19 Alpha RC4 with gcc 4.8 on VirtualBox,
- manual installation of several additional libraries
   especially libasan-devel,
- setting of Makevars and a few environment variables,
- compilation of R-devel (2013-04-19) with address-sanitizer
   (and --enable-strict barrier)
   ==> the compilation of R itself went through
       without problems so that R runs without crash.

Finally:
- compilation and ASAN check of the affected package
   that reproduced the error message.
- bugfix and successful final test.


Maybe this was not the most parsimonious approach ;-)
but using a suitable self-compiled R seems to be unavoidable.



Again, many thanks for your help and the great R system!

Thomas P.