From: Michael Cree <mcree@orcon.net.nz>
To: "Raúl Porcel" <armin76@gentoo.org>
Cc: Matt Turner <mattst88@gmail.com>,
Will L Givens <wlgivens@gmail.com>,
linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org
Subject: Re: Will's kernel compilation error
Date: Wed, 17 Mar 2010 20:34:06 +1300 [thread overview]
Message-ID: <4BA085EE.3060700@orcon.net.nz> (raw)
In-Reply-To: <4B9FDD4E.8080607@gentoo.org>
On 17/03/10 08:34, Raúl Porcel wrote:
> Have one.
>
> My error is as follows:
>
> net/built-in.o: In function `svc_auth_unregister':
> (.text+0xb822c): relocation truncated to fit: GPREL16 against `.sbss'
Right, I've confirmed that with the supplied config. What's happening
is that the small data area (where certain static data are stored) has
exceeded 64kB which is the limit under the small data model. As noted
elsewhere on this thread it can be solved by compiling with the large
data model, but that incurs extra CPU instructions whenever the data
area is accessed.
A better solution, in my view, is to concert some drivers to modules. I
note that the config has a large number of devices to be built (some of
which are denoted as having been tested on x86/x86_64/ia64 only). I
converted a few drivers, and most of the selected filesystems (do you
really need them all at boot time?) into modules. The kernel then
builds correctly.
But if people insist on being able to build impractical monolithic
kernels on Alpha I will post my patch to add a kernel option for the
large data model.
Cheers
Michael.
--
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
next prev parent reply other threads:[~2010-03-17 7:34 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
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 [this message]
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=4BA085EE.3060700@orcon.net.nz \
--to=mcree@orcon.net.nz \
--cc=armin76@gentoo.org \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mattst88@gmail.com \
--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).