From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934285AbbHDN6b (ORCPT ); Tue, 4 Aug 2015 09:58:31 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:36985 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932128AbbHDN62 (ORCPT ); Tue, 4 Aug 2015 09:58:28 -0400 Date: Tue, 4 Aug 2015 15:58:24 +0200 From: Michal Hocko To: Julian Calaby Cc: Guenter Roeck , Vladimir Davydov , Andrew Morton , "linux-kernel@vger.kernel.org" , "David S. Miller" , sparclinux Subject: Re: Build failure (sparc32:allmodconfig) in -next due to 'memcg: export struct mem_cgroup' Message-ID: <20150804135823.GH28571@dhcp22.suse.cz> References: <20150802030220.GA25165@roeck-us.net> <20150804121801.GA28571@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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