From Thomas.Petzoldt at TU-Dresden.de  Sat Apr 20 19:14:41 2013
From: Thomas.Petzoldt at TU-Dresden.de (Thomas Petzoldt)
Date: Sat, 20 Apr 2013 19:14:41 +0200
Subject: [Rd] Linux distribution with gcc 4.8 and AddressSanitizer --
 solved
In-Reply-To: <1665624.PmurviQP17@ulysses>
References: <5170135E.7090309@tu-dresden.de> <1665624.PmurviQP17@ulysses>
Message-ID: <5172CD01.1050304@TU-Dresden.de>

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



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