Ulrich Drepper <drepper(a)gmail.com> writes:
On Thu, Jun 2, 2011 at 09:08, Karel Klíč <kklic(a)redhat.com>
> One could increase the stack size limit permanently on a machine, but it
> doesn't seem to be the right solution
Of course it is. Just because your use of the code everyone is
supposed to suffer from the slower speed that using malloc entails?
Point taken. I see that elfutils is so low-level that its speed matters
more than functions working out of the box for a wide range of inputs.
I have solved the issue by avoiding the dwarf_getsrcfiles call.