[Buildroot] External toolchain support improvements

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 3 08:31:10 UTC 2008

Le Fri, 31 Oct 2008 14:42:14 -0400,
"hartleys" <hartleys at visionengravers.com> a écrit :

> What are the side effects if you use an external toolchain that was
> built with a given kernel version, say, but use a newer
> kernel, say

The kernel <-> userspace interface is backward compatible. So if you
use a toolchain that was compiled against the headers of kernel and run the binaries under, them it will work
perfectly fine. The only thing is that you won't be able to use the new
system calls, data structures, headers, defines, that have been added
in the kernel between and

The reverse side: if you generate binaries with a toolchain that has
been compiled against the headers of kernel and run it on a kernel, then there are two cases :

 * You don't use any of the new features of the kernel <-> userspace
   interface added between and : everything will work
   correctly ;

 * You use one of these new features: your binary might fail to run
   properly (for example if they use a new system call, that isn't
   available in your kernel).


Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.

More information about the buildroot mailing list