Page 2 of 2

Re: kernel build errors - help required

Posted: Tue Mar 13, 2018 6:16 am
by anticapitalista
stsoh wrote:try upgrade binutils 2.8 to 2.30-7 (sid repo).
I'd rather not.

Re: kernel build errors - help required

Posted: Tue Mar 13, 2018 6:46 am
by stsoh

Code: Select all

ld: unrecognised emulation mode: elf_x86
wait till source is fix in next release.

Re: kernel build errors - help required

Posted: Tue Mar 13, 2018 7:01 am
by anticapitalista
stsoh wrote:

Code: Select all

ld: unrecognised emulation mode: elf_x86
wait till source is fix in next release.
Thanks for your help.

How do you know that the problem is in the source app?
Why does it work when compiling a 4.15 kernel, but not the 4.9.87 one?

Re: kernel build errors - help required

Posted: Tue Mar 13, 2018 7:09 am
by stsoh
simple, u already identified the fault.

Code: Select all

ld: unrecognised emulation mode: elf_x86
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om i386pep i386pe
that's why 4.15.9 work and 4.9.87 dun work.

Re: kernel build errors - help required

Posted: Tue Mar 13, 2018 8:35 am
by anticapitalista
Found a simpler fix. I installed binutils-multiarch and now it builds.
Thanks for the pointers stsoh.

Re: kernel build errors - help required

Posted: Tue Mar 13, 2018 9:01 am
by anticapitalista
OK - I found the real culprit. It was one of the patches I used on the 4.9 series, but not the 4.15 one.
Something changed between 4.9.83 and 4.9.87 to render the patch obsolete - in fact applying it (as I did) causes the build failure.