linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>
To: Will L Givens <wlgivens@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org
Subject: Re: Will's kernel compilation error
Date: Tue, 16 Mar 2010 18:25:34 +0000	[thread overview]
Message-ID: <20100316182534.GA818@ds20.borg.net> (raw)
In-Reply-To: <001e01cac4cc$98072ce0$c81586a0$@com>

On Tue, Mar 16, 2010 at 12:50:32AM -0500, Will L Givens wrote:
> > >  GEN     .version
> > >  CHK     include/generated/compile.h
> > >  UPD     include/generated/compile.h
> > >  CC      init/version.o
> > >  LD      init/built-in.o
> > >  LD      .tmp_vmlinux1
> > > kernel/built-in.o: In function `kthread_create':
> > > (.text+0x1ece4): relocation truncated to fit: GPREL16 against symbol
> > > `kthreadd_task' defined in .sbss section in kernel/built-in.o
> > > kernel/built-in.o: In function `check_cpu_itimer':
> > > (.text+0x21784): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `check_cpu_itimer':
> > > (.text+0x2179c): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `free_nsproxy':
> > > (.text+0x23064): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `create_new_namespaces':
> > > (.text+0x230a4): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `create_new_namespaces':
> > > (.text+0x23254): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `notify_die':
> > > (.text+0x2413c): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `register_die_notifier':
> > > (.text+0x241a4): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `unregister_die_notifier':
> > > (.text+0x241bc): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `sched_clock_init':
> > > (.text+0x24ba4): relocation truncated to fit: GPREL16 against `.sbss'
> > > kernel/built-in.o: In function `sched_clock_cpu':
> > > (.text+0x24bb4): additional relocation overflows omitted from the
> > output
> > > make: *** [.tmp_vmlinux1] Error 1
> 
> It seems the problem, GPREL16, is pretty wide spread. I've tried building
> the drivers as modules, since that doesn't appear to be a problem *knock on
> wood* but one driver after another, after another, after another generates a
> new GPREL16 error! Raid0 drivers, numerous NetFilter modules, IR drivers
> (guess I can't use a Hauppauge card), and various other components. I'm
> going to try a few more configurations... then hit the sack. I'm pretty sure
> this is going to be a long process.

when I hit the relocation overflow a couple of releases before, I locally
applied this patch, which fixes it for me. I assume the kernel is slightly
bigger this way, but I didn't measure it.

ev6, everything built in, gcc 4.4 I think

Thorsten


diff --git a/arch/alpha/Makefile b/arch/alpha/Makefile
index 4759fe7..2cc3cc5 100644
--- a/arch/alpha/Makefile
+++ b/arch/alpha/Makefile
@@ -12,7 +12,7 @@ NM := $(NM) -B
 
 LDFLAGS_vmlinux	:= -static -N #-relax
 CHECKFLAGS	+= -D__alpha__ -m64
-cflags-y	:= -pipe -mno-fp-regs -ffixed-8 -msmall-data
+cflags-y	:= -pipe -mno-fp-regs -ffixed-8
 cflags-y	+= $(call cc-option, -fno-jump-tables)
 
 cpuflags-$(CONFIG_ALPHA_EV4)		:= -mcpu=ev4


-- 
| Thorsten Kranzkowski        Internet: dl8bcu@dl8bcu.de                      |
| Mobile: ++49 170 1876134       Snail: Kiebitzstr. 14, 49324 Melle, Germany  |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-03-16 18:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 23:09 Will's kernel compilation error Matt Turner
2010-03-15 23:21 ` Will L Givens
2010-03-16  2:34 ` Will L Givens
2010-03-16  4:25   ` Matt Turner
2010-03-16  5:50 ` Will L Givens
2010-03-16  7:08   ` Michael Cree
2010-03-16 16:17     ` Will L Givens
2010-03-16 17:09     ` Will L Givens
2010-03-16 17:32     ` Will L Givens
2010-03-16 18:25   ` Thorsten Kranzkowski [this message]
2010-03-16 18:38     ` Will L Givens
2010-03-16 21:23     ` Will L Givens
2010-03-16 21:39       ` Matt Turner
2010-03-16 22:05         ` Michael Cree
2010-03-16 22:42           ` Will L Givens
2010-03-16 19:34 ` Raúl Porcel
2010-03-17  7:34   ` Michael Cree
2010-03-17  8:55     ` Will L Givens
2010-03-17  9:13       ` Justin P. Mattock

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=20100316182534.GA818@ds20.borg.net \
    --to=dl8bcu@dl8bcu.de \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wlgivens@gmail.com \
    /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).