Re: Using address sanitizer with GCC 4.9 to compile C-C TB

2015-03-25 Thread ISHIKAWA, Chiaki
It just so happens that I have been using GCC on my linux PC, and I have never run clang there. Maybe I should. In any case, GCC 4.9 + ASAN worked and helped me to fix a memory issue (referencing a heap after it is freed.) Another thing is that on a small device based on ARM, etc., there *may

Re: Using address sanitizer with GCC 4.9 to compile C-C TB

2015-03-25 Thread Ehsan Akhgari
Why wouldn't you use clang instead? ASAN builds using clang on Linux are a supported and tested Firefox configuration so there is a good chance that it works well for Thunderbird as well. ASAN builds using gcc is neither tested nor supported as far as I know. On 2015-03-24 10:15 PM, ISHIKAWA

Using address sanitizer with GCC 4.9 to compile C-C TB

2015-03-24 Thread ISHIKAWA,chiaki
Hi, I filed the following bugzilla to share my experience of using address sanitizer with GCC 4.9 (*NOT CLANG*) to compile C-C TB. Bug 1147248 - GCC 4.9 + Address Sanitizer + C-C TB: Compiling comm-central thunderbird using address sanitizer, -fsanitize=address using GCC 4.9 I wonder what I did