diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2012-02-26 19:11:24 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-03-13 15:35:25 +0100 |
commit | d2f28a85553a2bf81f52ce83668304754f6b26e8 (patch) | |
tree | 6e9ac6baa2da61ace18808f766bdef964e17c59a | |
parent | efc80fde76ce72863dcba385e1177011d18770d7 (diff) | |
download | OSELAS.Toolchain-d2f28a85553a2bf81f52ce83668304754f6b26e8.tar.gz OSELAS.Toolchain-d2f28a85553a2bf81f52ce83668304754f6b26e8.tar.xz |
host-gmp: Update to 5.0.4
The reason for the upgrade is that the 5.0.1 version fails to build on a
Intel i5 with Mac OS.
gmp includes config.guess which compiles some assembly to detect the
host CPU. Since the config.guess of 5.0.1 is too old, it uses "uname -p"
which unfortunately returns "i386" on Mac OS even if it's 64 bit. That
causes gmp to be compiled with -m32 which works, but then the 64 bit gcc
cannot link against gmp. (I had a similar problem in a mis-configured
Linux VM [KVM and libvirt setup] recently, so it's not really
Mac-specific.) The new gmp prints coreisbr-apple-darwin11.3.0 which is
detected as 64 bit and everything works.
Apart from that, newer is better. :)
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/host-gmp.make | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/host-gmp.make b/rules/host-gmp.make index 3e2e62a..8719484 100644 --- a/rules/host-gmp.make +++ b/rules/host-gmp.make @@ -17,8 +17,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_GMP) += host-gmp # # Paths and names # -HOST_GMP_VERSION := 5.0.1 -HOST_GMP_MD5 := 6bac6df75c192a13419dfd71d19240a7 +HOST_GMP_VERSION := 5.0.4 +HOST_GMP_MD5 := 50c3edcb7c9438e04377ee9a1a061b79 HOST_GMP := gmp-$(HOST_GMP_VERSION) HOST_GMP_SUFFIX := tar.bz2 HOST_GMP_URL := $(PTXCONF_SETUP_GNUMIRROR)/gmp/$(HOST_GMP).$(HOST_GMP_SUFFIX) |