Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761110AbYA3TRt (ORCPT ); Wed, 30 Jan 2008 14:17:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754921AbYA3TRk (ORCPT ); Wed, 30 Jan 2008 14:17:40 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:49781 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754142AbYA3TRi (ORCPT ); Wed, 30 Jan 2008 14:17:38 -0500 Message-ID: <47A0CD4B.5040706@sgi.com> Date: Wed, 30 Jan 2008 11:17:31 -0800 From: Mike Travis User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: "Luck, Tony" CC: Ingo Molnar , Geert Uytterhoeven , Linus Torvalds , Thomas Gleixner , Linux Kernel Development , Linux/PPC Development , linux-ia64@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup References: <200801301414.m0UEEgCC006371@hera.kernel.org> <47A09F8A.3000309@sgi.com> <20080130161036.GA12293@elte.hu> <1FE6DD409037234FAB833C420AA843EC757C72@orsmsx424.amr.corp.intel.com> <20080130180623.GA24881@elte.hu> <1FE6DD409037234FAB833C420AA843EC757DEA@orsmsx424.amr.corp.intel.com> In-Reply-To: <1FE6DD409037234FAB833C420AA843EC757DEA@orsmsx424.amr.corp.intel.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2933 Lines: 69 Luck, Tony wrote: >> Could you check the patch below? With this applied to latest -git, ia64 >> buils fine for me in a cross-compiling environment. (but i dont know >> whether it boots ...) > > Uni-processor build still fails with this patch (config is arch/ia64/configs/tiger_defconfig > with CONFIG_SMP switched from =y to =n). Hi Tony, I'm having trouble replicating this error. With the latest linux-2.6.git plus the patch I just sent, I get the following errors: drivers/input/mouse/psmouse-base.c:45: error: __param_proto causes a section type conflict drivers/md/md.c:5881: error: __param_start_ro causes a section type conflict (plenty of warnings too, but no vmlinux) I copied arch/ia64/configs/tiger_defconfig to .config, ran menuconfig to turn off SMP and built with this line: make ARCH=ia64 CROSS_COMPILE=ia64-linux-gnu- -i -j10 Could this be a problem with: #ifdef HAVE_MODEL_SMALL_ATTRIBUTE # define PER_CPU_ATTRIBUTES __attribute__((__model__ (__small__))) #endif This is only defined for !__ASSEMBLY__ Thanks, Mike > > arch/ia64/kernel/built-in.o(.text+0x5012): In function `show_interrupts': > : relocation truncated to fit: IMM22 per_cpu__kstat > arch/ia64/kernel/built-in.o(.text+0x53e1): In function `__bind_irq_vector': > : relocation truncated to fit: IMM22 per_cpu__vector_irq > arch/ia64/kernel/built-in.o(.text+0x5612): In function `__clear_irq_vector': > : relocation truncated to fit: IMM22 per_cpu__vector_irq > arch/ia64/kernel/built-in.o(.text+0x5a81): In function `__setup_vector_irq': > : relocation truncated to fit: IMM22 per_cpu__vector_irq > arch/ia64/kernel/built-in.o(.text+0x6231): In function `ia64_handle_irq': > : relocation truncated to fit: IMM22 per_cpu____irq_regs > arch/ia64/kernel/built-in.o(.text+0x6272): In function `ia64_handle_irq': > : relocation truncated to fit: IMM22 per_cpu__vector_irq > arch/ia64/kernel/built-in.o(.text+0x7b81): In function `cpu_idle_wait': > : relocation truncated to fit: IMM22 .text > arch/ia64/kernel/built-in.o(.text+0x7e21): In function `cpu_idle': > : relocation truncated to fit: IMM22 .text > arch/ia64/kernel/built-in.o(.text+0x7fd1): In function `ia64_save_extra': > : relocation truncated to fit: IMM22 per_cpu__pfm_syst_info > arch/ia64/kernel/built-in.o(.text+0x8071): In function `ia64_load_extra': > : relocation truncated to fit: IMM22 per_cpu__pfm_syst_info > arch/ia64/kernel/built-in.o(.text+0x95c0): In function `pfm_write_ibr_dbr': > : additional relocation overflows omitted from the output > ld: final link failed: Nonrepresentable section on output > make: *** [.tmp_vmlinux1] Error 1 > > SMP build (config zx1_defconfig) builds ok and boots ok too. > > -Tony -- 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/