From: horserivers@gmail.com (horseriver)
To: kernelnewbies@lists.kernelnewbies.org
Subject: compile linux kernel 2.6.0 failed
Date: Mon, 14 Jan 2013 05:53:53 +0800 [thread overview]
Message-ID: <20130113215353.GF2743@debian.localdomain> (raw)
In-Reply-To: <CAKOQZ8y_pnGNAv4RkSLKmzCMLkHYAfJS_n4F-e_LhoYyai8YXA@mail.gmail.com>
On Wed, Jan 02, 2013 at 08:57:04AM -0800, Ian Lance Taylor wrote:
> On Wed, Jan 2, 2013 at 1:16 AM, horseriver <horserivers@gmail.com> wrote:
> >
> > I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version.
> >
> > when linking .so , output this error :
> >
> > /usr/bin/ld: arch/i386/kernel/vsyscall-int80.so: Not enough room for program headers, try linking with -N
> >
> > does gcc generate the program headers ? why not enough room for it ?
> >
> > I guess it is because gcc version is not compitable with ld version
> >
> > is there some advice ?
>
> It is more likely to be an issue of compatibility between the kernel's linker script and
> the version of ld that you are using.
you mean the vmlinux.lds which is in the arch/i386/kernel directory , does not compitable with /usr/ld which I'm using ?
thanks!
>
> I don't know why this fails for you, but since GNU binutils 2.23 has
> been released, I would recommend trying that. Alternatively, since
> 2.6.0 is relatively old, trying using an older version of the GNU
> binutils.
>
> Ian
next parent reply other threads:[~2013-01-13 21:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20130102090144.GA26841@debian.localdomain>
[not found] ` <CAKOQZ8y_pnGNAv4RkSLKmzCMLkHYAfJS_n4F-e_LhoYyai8YXA@mail.gmail.com>
2013-01-13 21:53 ` horseriver [this message]
2013-01-03 4:43 compile linux kernel 2.6.0 failed horseriver
2013-01-03 10:11 ` richard -rw- weinberger
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=20130113215353.GF2743@debian.localdomain \
--to=horserivers@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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).