* linux kernel 3.19.X does not load when compiled with binutils 2.6, works fine when compiled with binutils 2.22
@ 2016-08-24 14:42 luigi.genoni
2016-08-24 15:39 ` Lennart Sorensen
0 siblings, 1 reply; 2+ messages in thread
From: luigi.genoni @ 2016-08-24 14:42 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux kernel 3.19.X does not load when compiled with binutils 2.6, works fine when compiled with binutils 2.22
2016-08-24 14:42 linux kernel 3.19.X does not load when compiled with binutils 2.6, works fine when compiled with binutils 2.22 luigi.genoni
@ 2016-08-24 15:39 ` Lennart Sorensen
0 siblings, 0 replies; 2+ messages in thread
From: Lennart Sorensen @ 2016-08-24 15:39 UTC (permalink / raw)
To: luigi.genoni; +Cc: linux-kernel
On Wed, Aug 24, 2016 at 04:42:20PM +0200, luigi.genoni@it.telecomitalia.it wrote:
> 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:
Did you by any chance mean 2.26 and 2.27 or are you really trying to
use binutils from 1996?
> 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
You must mean 2.26 and 2.27.
> i cannot afford to downgrate binutils (and glibc to 2.15) every time i need
> to compiled and e 3.19.X kernel.
Well you are allowed to install an older binutils in another location
and set your path. You can even set your LD_LIBRARY_PATH if you really
also need an older glibc to do it (not idea why that would be needed).
You may have hit this binutils bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19807
Also maybe related: https://bugzilla.kernel.org/show_bug.cgi?id=114671
--
Len Sorensen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-24 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24 14:42 linux kernel 3.19.X does not load when compiled with binutils 2.6, works fine when compiled with binutils 2.22 luigi.genoni
2016-08-24 15:39 ` Lennart Sorensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).