diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-support/mpfr/mpfr/0001-Fix-obsolete-ARC-asm-constraints.patch | 45 | ||||
| -rw-r--r-- | meta/recipes-support/mpfr/mpfr_4.0.1.bb | 19 | ||||
| -rw-r--r-- | meta/recipes-support/mpfr/mpfr_4.0.2.bb | 19 |
3 files changed, 19 insertions, 64 deletions
diff --git a/meta/recipes-support/mpfr/mpfr/0001-Fix-obsolete-ARC-asm-constraints.patch b/meta/recipes-support/mpfr/mpfr/0001-Fix-obsolete-ARC-asm-constraints.patch deleted file mode 100644 index 59d1b0db67..0000000000 --- a/meta/recipes-support/mpfr/mpfr/0001-Fix-obsolete-ARC-asm-constraints.patch +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | mpfr-longlong.h: Fix obsolete ARC asm constraints | ||
| 2 | |||
| 3 | This patch replaces obsolete ARC "J" asm constraint with | ||
| 4 | up-to-date "Cal" constraint. | ||
| 5 | |||
| 6 | "J" constraint only existed in pre-upstream GCC port for ARC. | ||
| 7 | In current upstream port "Cal" constraint is used which leads | ||
| 8 | to compile-time error. | ||
| 9 | |||
| 10 | Proposed fix is known to work in Buildroot, Crosstool-NG etc. | ||
| 11 | |||
| 12 | [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=09cb6a17e71bd40d2fbfaf82a1502fc210e33c87 | ||
| 13 | |||
| 14 | Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com> | ||
| 15 | Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> | ||
| 16 | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> | ||
| 17 | |||
| 18 | Upstream-Status: Backport [https://gforge.inria.fr/scm/viewvc.php/mpfr?view=revision&revision=13251] | ||
| 19 | --- | ||
| 20 | Index: src/mpfr-longlong.h | ||
| 21 | =================================================================== | ||
| 22 | --- a/src/mpfr-longlong.h (revision 10963) | ||
| 23 | +++ b/src/mpfr-longlong.h (working copy) | ||
| 24 | @@ -416,17 +416,17 @@ | ||
| 25 | : "=r" (sh), \ | ||
| 26 | "=&r" (sl) \ | ||
| 27 | : "r" ((USItype) (ah)), \ | ||
| 28 | - "rIJ" ((USItype) (bh)), \ | ||
| 29 | + "rICal" ((USItype) (bh)), \ | ||
| 30 | "%r" ((USItype) (al)), \ | ||
| 31 | - "rIJ" ((USItype) (bl))) | ||
| 32 | + "rICal" ((USItype) (bl))) | ||
| 33 | #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ | ||
| 34 | __asm__ ("sub.f\t%1, %4, %5\n\tsbc\t%0, %2, %3" \ | ||
| 35 | : "=r" (sh), \ | ||
| 36 | "=&r" (sl) \ | ||
| 37 | : "r" ((USItype) (ah)), \ | ||
| 38 | - "rIJ" ((USItype) (bh)), \ | ||
| 39 | + "rICal" ((USItype) (bh)), \ | ||
| 40 | "r" ((USItype) (al)), \ | ||
| 41 | - "rIJ" ((USItype) (bl))) | ||
| 42 | + "rICal" ((USItype) (bl))) | ||
| 43 | #endif | ||
| 44 | |||
| 45 | #if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \ | ||
diff --git a/meta/recipes-support/mpfr/mpfr_4.0.1.bb b/meta/recipes-support/mpfr/mpfr_4.0.1.bb deleted file mode 100644 index 2eee76a357..0000000000 --- a/meta/recipes-support/mpfr/mpfr_4.0.1.bb +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | SUMMARY = "C library for multiple-precision floating-point computations with exact rounding" | ||
| 2 | HOMEPAGE = "http://www.mpfr.org/" | ||
| 3 | LICENSE = "LGPLv3+" | ||
| 4 | SECTION = "devel" | ||
| 5 | |||
| 6 | inherit autotools texinfo | ||
| 7 | |||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 9 | file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
| 10 | DEPENDS = "gmp autoconf-archive" | ||
| 11 | |||
| 12 | SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz \ | ||
| 13 | file://0001-Fix-obsolete-ARC-asm-constraints.patch" | ||
| 14 | SRC_URI[md5sum] = "b8dd19bd9bb1ec8831a6a582a7308073" | ||
| 15 | SRC_URI[sha256sum] = "67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e" | ||
| 16 | |||
| 17 | UPSTREAM_CHECK_URI = "http://www.mpfr.org/mpfr-current/" | ||
| 18 | |||
| 19 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-support/mpfr/mpfr_4.0.2.bb b/meta/recipes-support/mpfr/mpfr_4.0.2.bb new file mode 100644 index 0000000000..03059174ee --- /dev/null +++ b/meta/recipes-support/mpfr/mpfr_4.0.2.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | SUMMARY = "C library for multiple-precision floating-point computations with exact rounding" | ||
| 2 | HOMEPAGE = "http://www.mpfr.org/" | ||
| 3 | LICENSE = "LGPLv3+" | ||
| 4 | SECTION = "devel" | ||
| 5 | |||
| 6 | inherit autotools texinfo | ||
| 7 | |||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \ | ||
| 9 | file://COPYING.LESSER;md5=3000208d539ec061b899bce1d9ce9404 \ | ||
| 10 | " | ||
| 11 | DEPENDS = "gmp autoconf-archive" | ||
| 12 | |||
| 13 | SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz" | ||
| 14 | SRC_URI[md5sum] = "320fbc4463d4c8cb1e566929d8adc4f8" | ||
| 15 | SRC_URI[sha256sum] = "1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a" | ||
| 16 | |||
| 17 | UPSTREAM_CHECK_URI = "http://www.mpfr.org/mpfr-current/" | ||
| 18 | |||
| 19 | BBCLASSEXTEND = "native nativesdk" | ||
