summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp_4.2.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* gmp_4.2.1: prevent calls to mpn_add_nc() if HAVE_NATIVE_mpn_sub_nc is falseAndre McCurdy2017-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | When building for aarch64 (ie relying only on generic C code rather than asm) libgmp.so contains undefined references to __gmpn_add_nc and __gmpn_sub_nc which causes attempts to link with -lgmp to fail: | .../usr/lib/libgmp.so: undefined reference to `__gmpn_sub_nc' | .../usr/lib/libgmp.so: undefined reference to `__gmpn_add_nc' Solution based on a historical patch posted to the gmp mailing list: https://gmplib.org/list-archives/gmp-discuss/2006-May/002344.html Cherry-pick from meta-gplv2: http://git.yoctoproject.org/cgit/cgit.cgi/meta-gplv2/commit/?id=d8668018d5d795be2297f878fd871a27edf532bf (From OE-Core rev: 93af40ae113e9b505a9739ca2688360f12015fb7) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp_4.2.1: fix build for MIPSAndre McCurdy2016-02-071-0/+1
| | | | | | | | | | | | | | | | | | 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>
* gmp: move SRC_URI out of gmp.inc + minor reformattingAndre McCurdy2016-02-071-3/+4
| | | | | | | | | | | | The base SRC_URI in gmp.inc was wrong for gmp 4.2.1 and was not being used by gmp 6.1.0. Remove it and make each recipe responsible for defining its own SRC_URI. (From OE-Core rev: c6ae5d4152e194f11bec7f760c98e9078860ab09) 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>
* gmp: Use __gnu_inline__ attribute in 4.2.1Jussi Kukkonen2015-09-241-1/+1
| | | | | | | | | | | | | gcc 5 defaults to C11 rules about "extern inline": this breaks any code that includes gmp.h header from gmp 4.2.1 with 'multiple definition' errors. disable-stdc patch is no longer required because of this. (From OE-Core rev: e03d95d70f8bfe57c258d270ac6b3331650dbc10) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Bring back version 4.2.1 (LGPL 2.1+)Jussi Kukkonen2015-09-011-0/+15
| | | | | | | | | | | | | | | | | | | gmp 4.2.1 was removed in f181c6ce8b apparently accidentally: It was not noticed that 4.2.1 is LGPL 2.1 (and not GPL) so provides a useful alternative to the newer "GPLv2 | LGPLv3" version. * Reintroduce 4.2.1. The source includes files that are GPL but the library package is LGPL 2.1+ * Also reintroduce the two patches removed in f181c6ce8b. * Refactor gmp.inc: gmp 6.0.0 build should not be affected in any way. * Update 6.0.0 license from "GPLv2 | LGPLv3" to "GPLv2+ | LGPLv3+". [YOCTO #8197] (From OE-Core rev: 1adec83621f36a3dd748990c307ca4ebebcdd554) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: uprev it to 6.0.0Roy Li2014-08-151-23/+0
| | | | | | | | | | Uprev gmp from 5.1.1 to 6.0.0, and remove the 4.2.1 version which is GPLv2, since gmp-6.0.0 is dual-licensing, LGPLv3 or GPLv2; (From OE-Core rev: f181c6ce8b364fbf761a456d998ab78fbd751f35) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: use PACKAGECONFIG to address readline dependencyMing Liu2014-07-171-0/+3
| | | | | | | | | | To avoid automatically detecting readline dependency, which will lead to a implicit build result. (From OE-Core rev: b98da859423a541e419bbf38edacf2320ce00c8d) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser2014-05-021-1/+1
| | | | | | | | | | | | | The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: set SUMMARY and DESCRIPTIONPaul Eggleton2014-01-021-0/+1
| | | | | | | | | | Use the same values for both versions (the GPLv2 version doesn't use the .inc file). (From OE-Core rev: 99c3f40299ddf97fd85eaea4d86176f2b4d4db92) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: fix license segment md5sum boundaryMarko Lindqvist2012-12-031-1/+1
| | | | | | | | | | | | Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment. (From OE-Core rev: f9281283c993ab2af81f0316bac5fed7b49bdb83) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove redundant _FOR_BUILD variablesRoss Burton2012-11-121-2/+0
| | | | | | | (From OE-Core rev: acabd2158d9004dedfdfad8c170b77d32684f3fc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp-4.2.1: Set CC_FOR_BUILD to ensure the host system compiler is used, not ↵Richard Purdie2012-08-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the target one This addresses errors like: | NOTE: make -j 16 | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-fac_ui.c' || echo './'`gen-fac_ui.c -o gen-fac_ui | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-fib.c' || echo './'`gen-fib.c -o gen-fib | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-bases.c' || echo './'`gen-bases.c -o gen-bases -lm | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-psqr.c' || echo './'`gen-psqr.c -o gen-psqr -lm | ./gen-fac_ui 32 0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1) | ./gen-bases header 32 0 >mp_bases.h || (rm -f mp_bases.h; exit 1) | ./gen-bases table 32 0 >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1) | ./gen-fib header 32 0 >fib_table.h || (rm -f fib_table.h; exit 1) | ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory | ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory | ./gen-fib table 32 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1) | make: *** [mp_bases.h] Error 1 and matches the fix for the other gmp version. [YOCTO #2992] (From OE-Core rev: 24d31cd30080401271936422e6bd77727a16e0a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp-4.2.1: fix build with automake 1.12Nitin A Kamble2012-05-251-2/+4
| | | | | | | (From OE-Core rev: f48e5acc0dd3a61c80feb22698e3a7bb5986146b) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Add gmp.h to SSTATE_SCAN_FILESSaul Wold2011-12-151-1/+1
| | | | | | | | | | This fixes problems where hardcoded paths in the file were incorrect during sstate reusage of the task output. (From OE-Core rev: ec5319fc48f9fa10d23dc98e40e7bad2a56777fc) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Add SRC_URI Checksums for GPLv2Saul Wold2011-12-131-0/+3
| | | | | | | (From OE-Core rev: 9597a66e797852a44bbcf29e722eb410fd3fd386) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to using GNU_MIRRORTom Rini2011-03-231-1/+1
| | | | | | | (From OE-Core rev: bd9e899d1b07813c78f2dc2e5c46a67937839065) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-011-0/+14
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>