toolchain/build: disable PPL version check in binutils

Change-Id: Iabefa3a22a48c3d48fcfaab999eb0543b058c2d6
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
toolchain/build: Use mpfr from mpfr-current

Change-Id: I8a82fac5c16c8f7021b5712ee0d441f9b9ae7ffd
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Merge "toolchain/build: Use mpfr from mpfr-current" into linaro-master
toolchain/build: Apply gcc patches by default

Apply gcc patches by default - they're needed in order to
create working builds with 4.8 based toolchains

Change-Id: If5abfbf836fb5f78aaafd337fa9e4f1ba1395ab9
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Merge "toolchain/build: Apply gcc patches by default" into linaro-master
toolchain/build: Fix patch application when using a toolchain tarball

Previously, applying patches on top of toolchain components would work
only if the component was checked out from a SCM, not when using a
tarball. This bug must have been around forever.

Also, support xz compressed tarballs

Change-Id: I55603aa2b6a43c9bc47c32605f427cc6a6bb9bbf
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Disable libsanitizer for intermediate compiler builds

Change-Id: I7b64bd69502955d6e37f525395860db861101734
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Support toolchain tarballs compressed with xz

Change-Id: I7e6f808d548d9ab3ba47ab8517030a1c6a43d90d
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Build the toolchain in 64 bit mode

Android 4.4 comes with 64 bit toolchains -- and for a good reason too,
with Chromium entering the source tree, linking with a 32 bit linker
will fail because it can't mmap more than a few gigabytes into its
address space.

Change-Id: I1fced2c622a12ab543e9599590f1be48d1cbbe00
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Force ABI=64 -- apparently something is setting it to 32 in Jenkins

Change-Id: Ibde038e56962bc33db1e5768556d0ee9d440c3bb
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkranzer@linaro.org>
Don't use -m32

Change-Id: I4123ba2f9b4fa02b8c39df0d28af6642e750908a
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Use Bionic 4.4.2

Use Bionic 4.4.2 and adapt build system to not pull in compiler-rt deps

Change-Id: I218ef0c207ffc979cece6e5aeaa21abfe94e7827
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Allow getting gcc from git and fix toolchain-src detection

Change-Id: Iae36d76962a1d40e83fcf56ee951c2bc23cc9313
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Trigger a build failure if a gcc patch fails to apply

It's better to fail the toolchain build than to have to wonder why
something in a successfully built toolchain doesn't work.

Change-Id: I2824bb3093cbe59fb25c480e5093aebadbbd8c71
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Get the gcc version from sources rather than filenames

This should be a much more reliable way to detect the correct
gcc version -- especially when pulling from git topic branches.

Change-Id: I3b255761a8baeb2767035679a0a8bbb7f798b2ff
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Merge remote-tracking branch 'linaro-android/linaro-master' into HEAD

Conflicts:
	Makefile.in
	linaro-build.sh