https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115242

--- Comment #9 from Florian Weimer <fw at gcc dot gnu.org> ---
(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

> 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.

Reply via email to