https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115242
--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Florian Weimer from comment #9) > (In reply to Segher Boessenkool from comment #8) > > Can we have a testcase please? > > The test case in glibc: https://sourceware.org/bugzilla/show_bug.cgi?id=26566 There is no test case in that external PR either. Please attach something to this PR, just like for any other PR: something that shows the problem (with an obvious broken / not broken answer). > > It sounds like the glibc you used was misconfigured. Of course VSX > > registers > > are not restored by the GCC unwinder stuff if you configured GCC to not > > support > > VSX registers at all! Typically you should configure for --with-cpu=power7 > > or > > later. > > The goal is to have a single libgcc_s binary that works on systems that have > VSX and systems that don't. Currently, one can enable vector register > support in the unwinder, but then the resulting binary won't work on systems > without VSX because the vector registers are used unconditionally. And > without vector registers support in the unwinder, it does not implement the > ABI properly. So glibc has to set up something that does what it wants. But it cannot expect GCC to do its job for it, and it certainly cannot expect GCC to do impossible things!