buildrootschalter/support
Thomas Petazzoni 70d6037e8a Infrastructure to warn the user about missing 32 bits libraries
Many users trying to use external toolchains on x86-64 machines get a
very confusing message:

  "Can't execute cross-compiler"

They get this message because they forgot to install the 32 bits
compatibility libraries that are needed to run binaries compiled for
x86 on x86-64 machines.

Since this is the case for both external toolchains and certain
binary-only tools like SAM-BA, we add a new Kconfig option
BR2_HOSTARCH_NEEDS_IA32_LIBS, that packages must select if they need
the 32 bits compatibility libraries. When this option is enabled,
dependencies.sh checks that the 32 bits dynamic library loader is
present on the system, and if not, it stops and shows an error.

The path and name of the 32 bits dynamic loader is hardcoded because
it is very unlikely to change, as it would break the ABI for all
binaries.

Also, it is worth noting that the check will be done even if we're
running on a 32 bits machine. This is harmless, as 32 bits machines
necessarily have the 32 bits dynamic loader installed, so the error
will never show up in this case.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-06 21:35:47 +01:00
..
dependencies Infrastructure to warn the user about missing 32 bits libraries 2013-01-06 21:35:47 +01:00
gnuconfig support/gnuconfig: update config.{guess, sub} to a newer version 2012-11-15 21:30:32 +01:00
kconfig kconfig: do not use HOST_LOADLIBES anymore 2012-04-19 16:04:21 +02:00
legal-info legal-info: infrastructure to collect legally-relevant material 2012-07-17 19:05:49 +02:00
libtool support: move libtool patches in support/libtool 2011-09-17 08:14:56 +02:00
misc Warn the user about the usage of output/target as the root filesystem 2012-11-17 17:12:49 +01:00
scripts xorg-release: ignore some X.org packages 2013-01-05 22:51:30 +01:00