Re: Build failure (sparc32:allmodconfig) in -next due to 'memcg: export struct mem_cgroup'

From: Michal Hocko
Date: Tue Aug 04 2015 - 09:58:34 EST


On Tue 04-08-15 23:42:09, Julian Calaby wrote:
> It's failing because you're trying to compile sparc32 code with an
> x86_64 compiler.
>
> Try something like:
> PATH=/mnt/share/devel/miso/crosstool/sparc/gcc-4.6.3-nolibc/x86_64-linux/bin:$PATH
> CROSS_COMPILE=sparc-linux- ARCH=sparc32 make

Ohh, right you are. I misunderstood and thought this was a x86 build of
the compiler for sparc. This has worked out. It works now. Thanks a lot!
--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/