Hi Max, > This is an RFC series that adds FDPIC ELF target support to > libbacktrace. > > While debugging this I've noticed that there's no unwinding info for the > libstdc++ version of libbacktrace, which made backtraces empty for me, > both on xtensa-linux-uclibcfdpic and on regular xtensa-linux-uclibc. > Adding -funwind-tables to the libstdc++ version of libbacktrace fixed > that. Which makes me wonder how it works for other architectures?
it doesn't ;-( See PR libstdc++/111641 for details. There's a patch in there, too. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University