linux kernel 3.19.X does not load when compiled with binutils 2.6, works fine when compiled with binutils 2.22

From: luigi.genoni
Date: Wed Aug 24 2016 - 10:42:41 EST


Hi all,

recentrly I was in need to compile and run linux kernel 3.19.8 on some servers, with different bios and cpus.

so i noticed that If i compile this kernel with binutils 2.6 (and 2.7) it does not load the image, both lilo, grub/grub2 show the message:

loading kernel

loading ramdisk and nothing happens.

i tried the debug option, at boot, but it simply does not load the kernel.


if i compile this kernel with:

binutils 2.22

everything works fine,

I tried this on a xeon with startdard bios, a xeon with efi, an amd Athlon-mp with bios and an AMD A8 with EFI.

I tried gcc 4.3 and gcc 4.8, with both the kernel loads if compiled with binutils 2.22, and doesn't load with binutils 2.6.


What really bugs me is that on all the 4 servers i user i could compile and run without problems linux 4.7 compiled with binutils 2.6 and 2.7 with gcc 4.8 5.9 and 6.1
i cannot afford to downgrate binutils (and glibc to 2.15) every time i need to compiled and e 3.19.X kernel.

excuse my bad english

please include my address in the reply, since I am not subscribed to this list.

regards

Luigi Genoni