[Buildroot] External toolchain support improvements
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 22.214.171.124, but use a newer
> kernel, say 126.96.36.199?
The kernel <-> userspace interface is backward compatible. So if you
use a toolchain that was compiled against the headers of kernel
188.8.131.52 and run the binaries under 184.108.40.206, 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 220.127.116.11 and 18.104.22.168.
The reverse side: if you generate binaries with a toolchain that has
been compiled against the headers of kernel 22.214.171.124 and run it on a
126.96.36.199 kernel, then there are two cases :
* You don't use any of the new features of the kernel <-> userspace
interface added between 188.8.131.52 and 184.108.40.206 : everything will work
* 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