[Buildroot] External toolchain support improvements
hartleys at visionengravers.com
Mon Nov 3 15:52:51 UTC 2008
On Monday, November 03, 2008 1:31 AM, Thomas Petazzoni wrote:
>> What are the side effects if you use an external toolchain that was
>> built with a given kernel version, say 18.104.22.168, but use a newer
>> kernel, say 22.214.171.124?
> The kernel <-> userspace interface is backward compatible. So if you
> use a toolchain that was compiled against the headers of kernel
> 126.96.36.199 and run the binaries under 188.8.131.52, 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 184.108.40.206 and 220.127.116.11.
> The reverse side: if you generate binaries with a toolchain that has
> been compiled against the headers of kernel 18.104.22.168 and run it on a
> 22.214.171.124 kernel, then there are two cases :
> * You don't use any of the new features of the kernel <-> userspace
> interface added between 126.96.36.199 and 188.8.131.52 : everything will
> 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).
Thanks for the clarification.
BTW, something is now broken with svn revision 23911 using an external
I just did a "svn up; make menuconfig; make" and I get the following
errors right when the build starts.
Checking build system dependencies:
BUILDROOT_DL_DIR clean: Ok
CC clean: Ok
CXX clean: Ok
CPP clean: Ok
CFLAGS clean: Ok
INCLUDES clean: Ok
CXXFLAGS clean: Ok
which installed: Ok
sed works: Ok (/bin/sed)
GNU make version '3.81': Ok
C compiler '/usr/bin/gcc'
C compiler version '4.1.2': Ok
C++ compiler '/usr/bin/g++'
C++ compiler version '4.1.2': Ok
awk installed: Ok
bison installed: Ok
flex installed: Ok
gettext installed: Ok
makeinfo installed: Ok
Build system dependencies: Ok
mkdir -p /home/bigguiness/buildroot/project_build_arm/ep9307
cp -dpRf package/config/buildroot-config
wget --passive-ftp -nd -P /home/bigguiness/buildroot/dl
Resolving www.kernel.org... 184.108.40.206, 220.127.116.11
Connecting to www.kernel.org|18.104.22.168|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
08:47:11 ERROR 404: Not Found.
make: *** [/home/bigguiness/buildroot/dl/linux-...tar.bz2] Error 1
I can't figure out what .mk is trying to download "linux-...tar.bz2".
More information about the buildroot