compile linux kernel 2.6.0 failed
hi: I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version. my host os is 2.6.32 kernel . 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 ? thanks!
On Thu, Jan 3, 2013 at 5:43 AM, horseriver <horserivers@gmail.com> wrote:
hi: I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version.
2.6.0, SRSLY?!
my host os is 2.6.32 kernel .
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 ?
Kernel source too old, GCC too new :-) -- Thanks, //richard
participants (2)
-
horseriver -
richard -rw- weinberger