https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66570
--- Comment #4 from Ian Lance Taylor <ian at airs dot com> --- Probably it makes sense to ask on g...@gcc.gnu.org about whether libbacktrace should be installed when installing GCC. Yes, what you describe should work. Note that in the general case libbacktrace must be statically linked, though there are limited cases where it can work correctly when dynamically linked.