From: Mike Travis <travis@sgi.com>
To: "Luck, Tony" <tony.luck@intel.com>
Cc: sparclinux@vger.kernel.org, linux-ia64@vger.kernel.org,
Linux Kernel Development <linux-kernel@vger.kernel.org>,
Linux/PPC Development <linuxppc-dev@ozlabs.org>,
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>,
Ingo Molnar <mingo@elte.hu>,
Linus Torvalds <torvalds@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: x86/non-x86: percpu, node ids, apic ids x86.git fixup
Date: Wed, 30 Jan 2008 11:17:31 -0800 [thread overview]
Message-ID: <47A0CD4B.5040706@sgi.com> (raw)
In-Reply-To: <1FE6DD409037234FAB833C420AA843EC757DEA@orsmsx424.amr.corp.intel.com>
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
next prev parent reply other threads:[~2008-01-30 19:17 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200801301414.m0UEEgCC006371@hera.kernel.org>
2008-01-30 15:27 ` x86/non-x86: percpu, node ids, apic ids x86.git fixup Geert Uytterhoeven
2008-01-30 16:02 ` Mike Travis
2008-01-30 16:10 ` Ingo Molnar
2008-01-30 17:13 ` Luck, Tony
2008-01-30 18:06 ` Ingo Molnar
2008-01-30 18:20 ` Mike Travis
2008-01-30 18:31 ` Luck, Tony
2008-01-30 18:41 ` Mike Travis
2008-01-30 18:49 ` Ingo Molnar
2008-01-30 19:05 ` Ingo Molnar
2008-01-30 19:10 ` Luck, Tony
2008-01-30 19:13 ` Olof Johansson
2008-01-30 19:18 ` Ingo Molnar
2008-01-30 21:25 ` [powerpc changes] " Ingo Molnar
2008-01-30 21:39 ` Olof Johansson
2008-01-30 21:56 ` Geoff Levand
2008-01-30 21:18 ` Geoff Levand
2008-01-30 19:17 ` Mike Travis [this message]
2008-01-30 19:30 ` Ingo Molnar
2008-01-30 19:33 ` Luck, Tony
2008-01-30 19:46 ` Ingo Molnar
2008-01-30 19:49 ` Ingo Molnar
2008-01-30 20:00 ` Luck, Tony
2008-01-30 20:02 ` Ingo Molnar
2008-01-30 20:17 ` Luck, Tony
2008-01-30 20:59 ` Ingo Molnar
2008-01-30 21:15 ` Luck, Tony
2008-01-30 21:20 ` Ingo Molnar
2008-01-31 0:57 ` Luck, Tony
2008-01-31 9:06 ` Ingo Molnar
2008-01-31 18:34 ` Luck, Tony
2008-01-31 23:28 ` Luck, Tony
2008-02-05 19:05 ` Luck, Tony
2008-01-31 10:47 ` Adrian Bunk
2008-01-30 18:35 ` Olof Johansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47A0CD4B.5040706@sgi.com \
--to=travis@sgi.com \
--cc=Geert.Uytterhoeven@sonycom.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mingo@elte.hu \
--cc=sparclinux@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).