From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 21 Apr 2015 09:28:02 +0200 Subject: [Buildroot] Versioned symbols in elfutils and uClibc In-Reply-To: References: Message-ID: <20150421092802.7aedf522@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Max, On Tue, 21 Apr 2015 04:30:12 +0300, Max Filippov wrote: > 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? I guess this is probably a question you should ask on the uClibc mailing list rather than the Buildroot one. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com