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

--- Comment #17 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #16)
> Or just make sure the libraries are still built with -mcpu=power8 even when
> the compiler defaults to something else.

That doesn't scale.

> That said, neither multilibs nor just making sure libraries are built with
> -mcpu=power8 can help with libraries outside of gcc (unless they are built
> as multilibs or with the extra flags).

Sure.  But this bug is about that a compiler built --with-cpu=X can not build
anything that can run on any older CPU (or does not have some feature that X
has, more generally).  This is a problem that we already do have a solution
for, but something we have disabled in the powerpc64le-linux subtarget
unfortunately.

> or build gcc and all the needed libraries yourself.

Yup.  But it should not be necessary to build a different GCC.

Reply via email to