From: Michal Hocko Date: Tue, 04 Aug 2015 13:58:24 +0000 Subject: Re: Build failure (sparc32:allmodconfig) in -next due to 'memcg: export struct mem_cgroup' Message-Id: <20150804135823.GH28571@dhcp22.suse.cz> List-Id: References: <20150802030220.GA25165@roeck-us.net> <20150804121801.GA28571@dhcp22.suse.cz> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julian Calaby Cc: Guenter Roeck , Vladimir Davydov , Andrew Morton , "linux-kernel@vger.kernel.org" , "David S. Miller" , sparclinux 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