>> The test program is always built with at least -g2, and sometimes
>> built with -g3. However, I am not seeing the symbolication. According
>> to the GCC folks, asan_symbolize is not required for GCC because it
>> uses libbacktrace. Also see
>> http://bugzilla.redhat.com/show_bug.cgi?id=1250844.
>>
>> Why am I lacking symbolization, and how do I achieve it?
>
> Are these full backtraces you got from ASan? If so, do you use stripped
> libraries on your system (on Ubuntu, I guess, you do). Could this issue
> (https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00132.html) be related to to
> your problem?
>

Not stripped; they are [supposed to be] fully symbolized. Here's the
CXXFLAGS used. Link occurs using $CXX with CXXFLAGS.

$ cat asan-output.txt
$ export CXXFLAGS="-DDEBUG -g3 -O0 -std=c++03 -mfpu=neon -fPIC
-fsanitize=address -fno-omit-frame-pointer -D_GLIBCXX_DEBUG"
...

We use one directory for *.h and *.cpp files. In addition, *.o files
go in the same directory. We do it to avoid problems with debuggers
finding symbols (it minimizes user questions).

Here's the full output, if interested: http://pastebin.com/Zn4ADDQ6.
It looks like there's some unbounded recursion going on, too.

Let me look into the bug, thanks.

Jeff
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to