Problem of compiling linux2.6.11.12 kernel

He Huanyu huanyuheatcn at 163.com
Sun Aug 5 13:10:40 EDT 2018


Hi everyone,
I try to compile linux kernel of 2.6.11.12 version on my 64bit archlinux. 
Below is my system information:
linux 4.16.9-1-ARCH
gcc (GCC) 8.1.1 20180531
GNU ld (GNU Binutils) 2.30


And I get a problem like this, don't know if it is because of the version of gcc or ld:
 
/usr/bin/ld: arch/x86_64/ia32/vsyscall-sysenter.so: Not enough room for program headers, try linking with -N
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [arch/x86_64/ia32/Makefile:28: arch/x86_64/ia32/vsyscall-sysenter.so] Error 1
make: *** [Makefile:742: arch/x86_64/ia32] Error 2


I've tried to add ld parameter, but didn't know how and where to add this...
Have you met this before? And how can I fix it?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180806/1184c9a5/attachment.html>


More information about the Kernelnewbies mailing list