Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751286Ab3COEw6 (ORCPT ); Fri, 15 Mar 2013 00:52:58 -0400 Received: from ozlabs.org ([203.10.76.45]:42444 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807Ab3COEw5 (ORCPT ); Fri, 15 Mar 2013 00:52:57 -0400 From: Michael Neuling To: Chen Gang , sfr@canb.auug.org.au cc: Benjamin Herrenschmidt , "paulus@samba.org" , matt@ozlabs.org, imunsie@au1.ibm.com, linuxppc-dev@lists.ozlabs.org, "linux-kernel@vger.kernel.org" Subject: Re: [Suggestion] PowerPC: kernel: cross compiling issue with allmodconfig In-reply-to: <51428C81.6000204@asianux.com> References: <51428C81.6000204@asianux.com> Comments: In-reply-to Chen Gang message dated "Fri, 15 Mar 2013 10:50:41 +0800." X-Mailer: MH-E 8.2; nmh 1.5; GNU Emacs 23.4.1 Date: Fri, 15 Mar 2013 15:52:54 +1100 Message-ID: <25841.1363323174@ale.ozlabs.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2101 Lines: 36 > do next-* tree support powerpc POWER7 with allmodconfig ? > > I met an issue, can we bear it (or I need additional trying) ? > > > Compiling: > make V=1 EXTRA_CFLAGS=-W ARCH=powerpc allmodconfig > set cpu type POWER7 in menuconfig. > set cross-compiler in menuconfig. > under Fedora 16 x86_64 laptop > /usr/bin/powerpc64-linux-gnu-gcc -v > gcc version 4.7.1 20120606 (Red Hat 4.7.1-0.1.20120606) (GCC) > > Issue: > error: > /android/public-kernel/linux-next/arch/powerpc/kernel/exceptions-64s.S: Assembler messages: > /android/public-kernel/linux-next/arch/powerpc/kernel/exceptions-64s.S:1304: Error: attempt to move .org backwards > > command: > powerpc64-linux-gnu-gcc -m64 -Wp,-MD,arch/powerpc/kernel/.head_64.o.d -nostdinc -isystem /usr/lib/gcc/powerpc64-linux-gnu/4.7.1/include -I/android/public-kernel/linux-next/arch/powerpc/include -Iarch/powerpc/include/generated -I/android/public-kernel/linux-next/include -Iinclude -I/android/public-kernel/linux-next/arch/powerpc/include/uapi -Iarch/powerpc/include/generated/uapi -I/android/public-kernel/linux-next/include/uapi -Iinclude/generated/uapi -include /android/public-kernel/linux-next/include/linux/kconfig.h -D__KERNEL__ -I/android/public-kernel/linux-next/arch/powerpc -Iarch/powerpc -D__ASSEMBLY__ -I/android/public-kernel/linux-next/arch/powerpc -Iarch/powerpc -Wa,-maltivec -gdwarf-2 -c -o arch/powerpc/kernel/head_64.o /android/public-kernel/linux-next/arch/powerpc/kernel/head_64.S > > (head_64.S includes exceptions-64.S) Yep it's a known problem but no one has bothered to fix it since it doesn't happen in a config that anyone cares about like pseries_defconfig and ppc64_defconfig. We've been moving code around in this area a lot recently hence the breakage. It should be fixed though. Patches welcome. :-) Mikey -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/