[Buildroot] backtrace() not working on ARMv7a

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jul 31 06:39:43 UTC 2014


Dear prafullakota,

On Wed, 30 Jul 2014 23:30:55 -0700 (PDT), prafullakota wrote:

> I am trying to generate a call stack trace using backtrace() API which is
> part of libbacktrace. The idea is to catch a SIGSEGV signal and call
> backtrace() to print all the address values and compare the obtained
> addresses from objdump -D of executable. Following is the output seen on
> ARMv7a platform with buildroot cross-toolchain (gcc- 4.8.2, binutis-2.18.1).

Thanks for the report. Could you provide your Buildroot .config so we
can see in more details what is your toolchain configuration
(especially which C library is used, and which version of it).

> For above issue uclibc forum has given fix in below link
> http://lists.uclibc.org/pipermail/uclibc/2013-September/047932.html

Right, but from a quick look, this patch was never applied.

> Similar issue in uclibc was solved by creating a patch to uclibc files, can
> some one let me know if there is any existing patch is available for glibc
> similar to this?, if not can anyone help me in providing the similar patch
> for glibc.

Are you sure you're using glibc ? Could you provide your
Buildroot .config file ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list