[Buildroot] Versioned symbols in elfutils and uClibc
Max Filippov
jcmvbkbc at gmail.com
Tue Apr 21 17:59:06 UTC 2015
On Tue, Apr 21, 2015 at 2:35 PM, Peter Korsgaard <peter at korsgaard.com> wrote:
>>>>>> "Max" == Max Filippov <jcmvbkbc at gmail.com> writes:
>
> > Hi,
> > I'm debugging strange segfault running ltrace for xtensa:
> > it's caused by dwfl_report_elf recursively calling itself, resulting
> > in stack overflow. The symbol dwfl_report_elf is versioned, there
> > are versions ELFUTILS_0.122 and ELFUTILS_0.156, ltrace calls
> > 0.122, but when 0.122 tries to resolve 0.156 it gets back pointer
> > to 0.122. AFAICS uClibc does not support symbol versioning.
> > Any idea what can be done about it?
>
> Without knowing much about this, have you tried commenting out the
> #ifdef SHARED part in lib/eu-config.h (and possible the corresponding
> part in libdwfl/dwfl_report_elf.c)?
It does help, thanks. Looks like this place needs to be patched to
account for missing symbol versioning in uclibc?
--
Thanks.
-- Max
More information about the buildroot
mailing list