summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp_4.2.1.bb
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-02-05 11:56:19 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-07 17:30:00 +0000
commitf9e565efb754041de9bb3c209d0bf8b271ceccf3 (patch)
treec57548f3b0dbb4bfa8b9cc815d1ea24a8020f9f4 /meta/recipes-support/gmp/gmp_4.2.1.bb
parent6d570c8fa9e7ab44a68ac1df09199a88381dedd8 (diff)
downloadpoky-f9e565efb754041de9bb3c209d0bf8b271ceccf3.tar.gz
gmp_4.2.1: fix build for MIPS
The h asm constrain (to extract the high part of a multiplication result) has not been recognised since gcc 4.4: https://gcc.gnu.org/gcc-4.4/changes.html Drop the MIPS umul_ppmm() implementations which rely on "=h" and fall back to the older implementations (which use explicit mfhi and mflo instructions to move the high and low parts of the multiplication result into their destinations). (From OE-Core rev: f8b2eb5eb09a1314ef59e58df95e81c1c1ccf1f4) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp_4.2.1.bb')
-rw-r--r--meta/recipes-support/gmp/gmp_4.2.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp_4.2.1.bb b/meta/recipes-support/gmp/gmp_4.2.1.bb
index c25e5ea6ba..5e8ee29f36 100644
--- a/meta/recipes-support/gmp/gmp_4.2.1.bb
+++ b/meta/recipes-support/gmp/gmp_4.2.1.bb
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \
10SRC_URI = "https://gmplib.org/download/${BPN}/archive/${BP}.tar.bz2 \ 10SRC_URI = "https://gmplib.org/download/${BPN}/archive/${BP}.tar.bz2 \
11 file://Use-__gnu_inline__-attribute.patch \ 11 file://Use-__gnu_inline__-attribute.patch \
12 file://gmp_fix_for_automake-1.12.patch \ 12 file://gmp_fix_for_automake-1.12.patch \
13 file://avoid-h-asm-constraint-for-MIPS.patch \
13" 14"
14 15
15SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3" 16SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3"