Skip to content

cairo-trace: fix build with newer bfd and remove backtrace-symbols.c

Here's my attempt to fix this, which is basically in the same vein as !89 (closed). It seems to work, and seems better than what we have now in any case. I also wouldn't bother trying to support older versions.


commit e30259f6:

cairo-trace: fix build with newer versions of bfd
And update configure/meson checks to check for the new function.

Drop libiberty.h check since it's only needed by backtrace-symbols.c
which we're about to remove.

Closes #391, #460

commit 0ed1053d:

utils: remove hacky replacement for backtrace_symbols in glibc
Doesn't build any more, is very much non-essential, and hasn't
been touched in any meaningful way since it was added 13 years
ago, so just remove it for now until someone steps up. Chances
are the glibc version has improved since then.
Edited by Tim-Philipp Müller

Merge request reports