Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

powerpc32 broken by ef1313deafb7

4 views
Skip to first unread message

Rob Landley

unread,
Jan 12, 2014, 7:30:01 PM1/12/14
to
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.

Rob
.config

Benjamin Herrenschmidt

unread,
Jan 12, 2014, 8:10:01 PM1/12/14
to
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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Rob Landley

unread,
Jan 13, 2014, 10:30:02 AM1/13/14
to
Sorry, right directory, wrong machine. Correct one attached.

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

I bisected it to the git commit in the title. The one before that does
build (as powerpc), starting with that one (and continuing to today) the
build breaks for me. Quite possible something's wrong with the config,
but it was working before and the bisected commit didn't fiddle with
Kconfig files...

Thanks,

Rob
thisconfig

Rob Landley

unread,
Jan 18, 2014, 1:20:02 PM1/18/14
to
On 01/12/14 19:09, Benjamin Herrenschmidt wrote:
> 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 :-)

No, it wasn't. I accidentally attached the wrong .config.

I replied to this with the correct config last week. Did you get it?
Here it is again. Just built against a fresh git pull and it's still
happening for me...

Thanks,

Rob
.config

Anton Blanchard

unread,
Jan 22, 2014, 5:40:02 AM1/22/14
to

Hi Rob,

> I replied to this with the correct config last week. Did you get it?
> Here it is again. Just built against a fresh git pull and it's still
> happening for me...

Your .config built fine with a couple of different toolchains I have
here. One of them was the 4.7.3 powerpc64 biarch build:

https://www.kernel.org/pub/tools/crosstool/

What toolchain are you using for your builds?

Anton
0 new messages