[Rd] Linux distribution with gcc 4.8 and AddressSanitizer -- solved

Thomas Petzoldt Thomas.Petzoldt at TU-Dresden.de
Sat Apr 20 19:14:41 CEST 2013


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.



-- 
Thomas Petzoldt
Technische Universitaet Dresden
Faculty of Environmental Sciences
Institute of Hydrobiology
01062 Dresden, Germany

E-Mail: thomas.petzoldt at tu-dresden.de
http://tu-dresden.de/Members/thomas.petzoldt



More information about the R-devel mailing list