[YBA] kernel compile errors with GCC >= 4.6

[YBA] kernel compile errors with GCC >= 4.6

Nadav Har'El nyh at math.technion.ac.il
Thu Apr 5 11:45:15 IDT 2012


On Wed, Apr 04, 2012, Jonathan Ben Avraham wrote about "[YBA] kernel compile errors with GCC >= 4.6":
> My question is in general, is there somewhere where the relationship
> between kernel version and gcc version (or other compiler version)
> is made explicit?

According to the Linux README, Linux depends on gcc, at least version
3.2. It doesn't say you must use some specific version - which means
that Linux's "make" *should* finish without aborting on any newer
version - including versions which added new warning messages. If it
doesn't, it's a bug.

I'd hate for Linux to declare that it only works with a specific version
of the compiler. I routinely compile the latest kernel with a 3 year old
compiler (gcc 4.4), and don't have any problems. Other people may be
compiling a 3 year old kernel with the latest snapshot of gcc, and they
shouldn't have problems either.

-- 
Nadav Har'El                        |                   Thursday, Apr 5 2012, 
nyh at math.technion.ac.il             |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |"A mathematician is a device for turning
http://nadav.harel.org.il           |coffee into theorems" -- P. Erdos



More information about the Linux-il mailing list