Travis: install gcc-multilib to get dependency libraries

We are failing to execute arm-none-eabi-gcc due to missing 32 bits
libraries in travis. Install gcc-multilib so we get all of them.

This commit also calls this version of gcc in the end of
install-travis-env.sh so if it's to fail, force it to fail early on.
This commit is contained in:
Lucas De Marchi 2015-04-13 10:38:52 -03:00 committed by Andrew Tridgell
parent b4718f6943
commit 5d69e2027c

View File

@ -15,7 +15,7 @@ PYTHON_PKGS="pymavlink MAVProxy catkin_pkg"
PX4_PKGS="python-serial python-argparse openocd flex bison libncurses5-dev \
autoconf texinfo build-essential libftdi-dev libtool zlib1g-dev \
zip genromfs"
UBUNTU64_PKGS="libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386"
UBUNTU64_PKGS="libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 gcc-multilib"
# GNU Tools for ARM Embedded Processors
# (see https://launchpad.net/gcc-arm-embedded/)
@ -86,4 +86,4 @@ echo $exportline2 >> ~/.profile
. ~/.profile
echo $PATH
ls -l $OPT/$ARM_ROOT/bin
$OPT/$ARM_ROOT/bin/arm-none-eabi-gcc --version