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!
Quoted 2 lines · horseriver
hi:
I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version.
2.6.0, SRSLY?!
Quoted 11 lines
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 -Ndoes 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 :-)
Signature · 2 lines
Thanks, //richard