All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Rob Landley <rob@landley.net>
Cc: linux-kernel@vger.kernel.org, Anton Blanchard <anton@samba.org>
Subject: Re: powerpc32 broken by ef1313deafb7
Date: Mon, 13 Jan 2014 12:09:21 +1100	[thread overview]
Message-ID: <1389575361.4672.115.camel@pasglop> (raw)
In-Reply-To: <1389572866.1176.19@driftwood>

On Sun, 2014-01-12 at 18:27 -0600, Rob Landley wrote:
> Using the attached config, toolchain from  
> http://landley.net/aboriginal/bin/cross-compiler-powerpc.tar.bz2 but  
> presumably any 32 bit powerpc one should work, building ala make  
> ARCH=powerpc CROSS_COMPILE=powerpc-
> 
>    CC      arch/powerpc/lib/xor_vmx.o
> In file included from include/linux/thread_info.h:10,
>                   from include/linux/preempt.h:9,
>                   from arch/powerpc/lib/xor_vmx.c:22:
> include/linux/types.h:29: error: both 'unsigned' and '_Bool' in  
> declaration specifiers
> cc1: warnings being treated as errors
> include/linux/types.h:29: warning: useless type name in empty  
> declaration
> In file included from include/linux/kernel.h:11,
>                   from include/asm-generic/bug.h:13,
>                   from  
> /home/landley/linux/linux/arch/powerpc/include/asm/bug.h:127,
>                   from include/linux/bug.h:4,
>                   from include/linux/thread_info.h:11,
>                   from include/linux/preempt.h:9,
>                   from arch/powerpc/lib/xor_vmx.c:22:
> 
> And then pages more errors. The commit before that one didn't do that.

Your attached config has ...

CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"

So it's probably not what you wanted :-)

I'm not sure what the problem you see is because I've definitely run all
of these versions through my usual set of test configs without any
trouble, including a bunch of 32-bit ones.

Cheers,
Ben.

> Rob



  reply	other threads:[~2014-01-13  1:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-13  0:27 powerpc32 broken by ef1313deafb7 Rob Landley
2014-01-13  1:09 ` Benjamin Herrenschmidt [this message]
2014-01-13 15:25   ` Rob Landley
2014-01-18 18:18   ` Rob Landley
2014-01-22 10:39     ` Anton Blanchard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389575361.4672.115.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=anton@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob@landley.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.