[PATCH] powerpc: allow cross-compilation of ppc64 kernel

Segher Boessenkool segher at kernel.crashing.org
Sat Nov 7 10:32:35 AEDT 2015


On Fri, Nov 06, 2015 at 04:55:49PM -0600, Segher Boessenkool wrote:
> On Fri, Nov 06, 2015 at 03:09:40PM -0600, Scott Wood wrote:
> > Why is GCC building ppc64 object files but telling the linker --oformat elf32-
> > powerpcle?  Are different options somehow being passed to GCC in one case 
> > versus the other?
> 
> This was changed for GCC 6 in <http://gcc.gnu.org/r227397>, could one of
> you check if that fixes this problem?  If so we'll need to backport it.

Actually it already has been backported, r228089.


Segher


More information about the Linuxppc-dev mailing list