head 1.11; access; symbols pkgsrc-2019Q4:1.10.0.60 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.56 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.54 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.52 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.10.0.50 pkgsrc-2018Q4-base:1.10 pkgsrc-2018Q3:1.10.0.48 pkgsrc-2018Q3-base:1.10 pkgsrc-2018Q2:1.10.0.46 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.44 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.42 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.40 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.10.0.36 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.34 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.10.0.32 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.10.0.30 pkgsrc-2016Q3-base:1.10 pkgsrc-2016Q2:1.10.0.28 pkgsrc-2016Q2-base:1.10 pkgsrc-2016Q1:1.10.0.26 pkgsrc-2016Q1-base:1.10 pkgsrc-2015Q4:1.10.0.24 pkgsrc-2015Q4-base:1.10 pkgsrc-2015Q3:1.10.0.22 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.10.0.20 pkgsrc-2015Q2-base:1.10 pkgsrc-2015Q1:1.10.0.18 pkgsrc-2015Q1-base:1.10 pkgsrc-2014Q4:1.10.0.16 pkgsrc-2014Q4-base:1.10 pkgsrc-2014Q3:1.10.0.14 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.12 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.10.0.10 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.10.0.8 pkgsrc-2013Q4-base:1.10 pkgsrc-2013Q3:1.10.0.6 pkgsrc-2013Q3-base:1.10 pkgsrc-2013Q2:1.10.0.4 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.10.0.2 pkgsrc-2013Q1-base:1.10 pkgsrc-2012Q4:1.9.0.34 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.32 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.30 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.28 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.26 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.24 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.22 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.20 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.18 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.16 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.14 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.12 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.10 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.8 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.6 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.4 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.2 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.8.0.4 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.2 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.6.0.14 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.12 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.10 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.8 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.6 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.4 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.2 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.5.0.8 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.6 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.4 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.11 date 2020.01.20.21.25.24; author adam; state dead; branches; next 1.10; commitid WymDrOtxhkkuutTB; 1.10 date 2013.01.31.20.30.26; author adam; state Exp; branches; next 1.9; 1.9 date 2008.11.20.16.44.45; author adam; state Exp; branches; next 1.8; 1.8 date 2008.08.17.07.56.11; author bjs; state Exp; branches; next 1.7; 1.7 date 2008.07.14.13.06.23; author tonio; state Exp; branches; next 1.6; 1.6 date 2006.12.09.03.38.16; author jnemeth; state dead; branches; next 1.5; 1.5 date 2005.11.02.04.38.43; author hiramatsu; state Exp; branches; next 1.4; 1.4 date 2005.10.21.15.46.43; author jschauma; state Exp; branches; next 1.3; 1.3 date 2005.05.10.02.31.38; author jschauma; state Exp; branches; next 1.2; 1.2 date 2002.04.10.12.37.55; author hubertf; state dead; branches; next 1.1; 1.1 date 2000.12.31.14.05.30; author skrll; state Exp; branches; next ; desc @@ 1.11 log @gmp: updated to 6.2.0 Changes between GMP version 6.1.* and 6.2.0 BUGS FIXED * gmp_snprintf now correctly reports an error (returns -1) when snprintf does. * Conversion to double is now more robust even if the configuration process does not recognize the float format. * mpz_powm could return a not completely normalised value, when the exponent was 1 and the base < 0. * mpf_set_str could create invalid mpf_t variables for input strings with many leading zeros. FEATURES * New C++ functions factorial, primorial and fibonacci for mpz_class. * Functions to detect primality now substitute the first 24 Miller-Rabin iterations with the BPSW test. * Mini-GMP: new functions mpz_2fac_ui and mpz_mfac_uiui. * Mini-GMP: mpz_sizeinbase, mpz_get_str, and mpz_set_str now support bases up to 62. * Mini-GMP: added support for the mpq_t layer. * MIPS r6 cores are now supported. SPEEDUPS * Major speedup for AMD Ryzen and Epyc thanks to an extensive set of assembly code. * Major speedup for IBM POWER9 thanks to assembly code making use of new madd instruction. * Speedup for 64-bit ARM CPUs thanks to new/improved assembly code. * The n-over-k function mpz_bin_ui has been reimplemented for great speedups for large operands. * Speedup for the worst case of mpz_perfect_power_p. * Speedup for gcd for small and medium size operands. * Speedup for really huge multiplies thanks to much larger FFT tables. MISC * Internal representation of the mpz_t variables now supports lazy allocation; memory is allocated only when a value is stored. * Small improvements and better coverage for the test suite. * The tune/speed program can measure some more functions. * The low-level function mpn_mul no longer diverts to mpn_sqr, users should call mpn_sqr directly when applicable. * New installed files gmp.pc and gmpxx.pc, for use with pkg-config. @ text @$NetBSD: patch-ac,v 1.10 2013/01/31 20:30:26 adam Exp $ --- gmp-h.in.orig 2012-12-18 19:05:09.000000000 +0000 +++ gmp-h.in @@@@ -359,6 +359,8 @@@@ typedef __mpq_struct *mpq_ptr; GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. */ #ifdef __GNUC__ +#if defined(__APPLE_CC__) && __APPLE_CC__ > 5400 && __STDC_VERSION__ >= 199901L +#else #if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \ || (defined __GNUC_GNU_INLINE__ && defined __cplusplus) #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__)) @@@@ -367,6 +369,7 @@@@ typedef __mpq_struct *mpq_ptr; #endif #define __GMP_INLINE_PROTOTYPES 1 #endif +#endif /* DEC C (eg. version 5.9) supports "static __inline foo()", even in -std1 strict ANSI mode. Inlining is done even when not optimizing (ie. -O0 @ 1.10 log @Changes 5.1.0: BUGS FIXED * When reading a C++ number (like mpz_class) in an istream reaches the end of the stream, the eofbit is now set. * The result sign of mpz_rootrem's remainder is now always correct. * The mpz_remove function now handles negative divisors. * Contains all fixes from release 5.0.5. SPEEDUPS * The n-factorial and n-over-k functions have been reimplemented for great speedups for small and large operands. * New subquadratic algorithm for the Kronecker/Jacobi/Legendre symbol. * Major speedup for ARM, in particular ARM Cortex-A9 and A15, thanks to broad assembly support. * Significant speedup or POWER6 and POWER7 thanks to improved assembly. * The performance under M$ Windows' 64-bit ABI has been greatly improved thanks to complete assembly support. * Minor speed improvements of many functions and for many platforms. FEATURES * Many new CPUs recognised. * New functions for multi-factorials, and primorial: mpz_2fac_ui, mpz_mfac_uiui and mpz_primorial_ui. * The mpz_powm_sec function now uses side-channel silent division for converting into Montgomery residues. * The fat binary mechanism is now more robust in its CPU recognition. MISC * Inclusion of assembly code is now controlled by the configure options --enable-assembly and --disable-assembly. The "none" CPU targets is gone. * In C++, the conversions mpq_class->mpz_class, mpf_class->mpz_class and mpf_class->mpq_class are now explicit. * Includes "mini-gmp", a small, portable, but less efficient, implementation of a subset of GMP's mpn and mpz interfaces. Used in GMP bootstrap, but it can also be bundled with applications as a fallback when the real GMP library is unavailable. * The ABIs under AIX are no longer called aix32 and aix64, but mode64 and 32. This is more consistent with other powerpc systems. * The coverage of the testsuite has been improved, using the lcov tool. See also http://gmplib.org/devel/lcov/. * It is now possible to compile GMP using a C++ compiler. * K&R C compilers are no longer supported. * The BSD MP compatibility functions have been removed. @ text @d1 1 a1 1 $NetBSD$ @ 1.9 log @Fix for gcc-4.2 on Darwin @ text @d3 1 a3 1 --- gmp-h.in.orig 2008-09-10 23:02:01.000000000 +0200 d5 1 a5 1 @@@@ -421,6 +421,8 @@@@ typedef __mpq_struct *mpq_ptr; d11 2 a12 1 #if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) d14 1 a14 2 #else @@@@ -428,6 +430,7 @@@@ typedef __mpq_struct *mpq_ptr; @ 1.8 log @Update to gmp-4.2.3. Changes between GMP version 4.2.2 and 4.2.3: Bugs: * Fix x86 CPU recognition code to properly identify recent AMD and Intel 64-bit processors. * The >> operator of the C++ wrapper gmpxx.h now does floor rounding, not truncation. * Inline semantics now follow the C99 standard, and works with recent GCC releases. * C++ bitwise logical operations work for more types. * For C++, gmp.h now includes cstdio, improving compiler compatibility. * Bases > 36 now work properly in mpf_set_str. Speedups: * None, except that proper processor recognition helps affected processors. Features: * The allocation functions now detect overflow of the mpz_t type. This means that overflow will now cause an abort, except when the allocation computation itself overflows. (Such overflow can probably only happen in powering functions; we will detect powering overflow in the future.) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2008/07/14 13:06:23 tonio Exp $ d3 1 a3 3 Apple's gcc build >5400 (since Xcode 3.0) doesn't support GNU inline in C99 mode --- gmp-h.in.orig 2008-07-23 06:22:16.000000000 -0400 d5 6 a10 1 @@@@ -423,8 +423,11 @@@@ typedef __mpq_struct *mpq_ptr; d14 1 a14 3 +#if defined(__APPLE_CC__) && __APPLE_CC__ > 5400 && __STDC_VERSION__ >= 199901L +#else #define __GMP_EXTERN_INLINE extern __inline__ a15 1 +#endif d18 1 d20 2 @ 1.7 log @Fix build under MacOSX Leopard with Xcode 3 @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- gmp-h.in.orig 2007-09-03 18:05:40.000000000 +0200 d8 1 a8 1 #ifdef __GNUC_STDC_INLINE__ @ 1.6 log @Update to GNU MP 4.2.1 Changes between GMP version 4.2 and 4.2.1 Bugs: * Shared library numbers corrected. * Broken support for 32-bit AIX fixed. * Misc minor fixes. Speedups: * Exact division (mpz_divexact) now falls back to plain division for large operands. Features: * Support for some new systems. Changes between GMP version 4.1.4 and 4.2 Bugs: * Minor bug fixes and code generalizations. * Expanded and improved test suite. Speedups: * Many minor optimizations, too many to mention here. * Division now always subquadratic. * Computation of n-factorial much faster. * Added basic x86-64 assembly code. * Floating-point output is now subquadratic for all bases. * FFT multiply code now about 25% faster. * Toom3 multiply code faster. Features: * Much improved configure. * Workarounds for many more compiler bugs. * Temporary allocations are now made on the stack only if small. * New systems supported: HPPA-2.0 gcc, IA-64 HP-UX, PowerPC-64 Darwin, Sparc64 GNU/Linux. * New i386 fat binaries, selecting optimised code at runtime (--enable-fat). * New build option: --enable-profiling=instrument. * New memory function: mp_get_memory_functions. * New Mersenne Twister random numbers: gmp_randinit_mt, also now used for gmp_randinit_default. * New random functions: gmp_randinit_set, gmp_urandomb_ui, gmp_urandomm_ui. * New integer functions: mpz_combit, mpz_rootrem. * gmp_printf etc new type "M" for mp_limb_t. * gmp_scanf and friends now accept C99 hex floats. * Numeric input and output can now be in bases up to 62. * Comparisons mpz_cmp_d, mpz_cmpabs_d, mpf_cmp_d recognise infinities. * Conversions mpz_get_d, mpq_get_d, mpf_get_d truncate towards zero, previously their behaviour was unspecified. * Fixes for overflow issues with operands >= 2^31 bits. Caveats: * mpfr is gone, and will from now on be released only separately. Please see www.mpfr.org. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2005/11/02 04:38:43 hiramatsu Exp $ d3 15 a17 377 --- configure.orig Tue Sep 21 22:06:47 2004 +++ configure Wed Nov 2 09:15:07 2005 @@@@ -2269,7 +2269,7 @@@@ echo "include_mpn(\`mips32/mips-defs.m4')" >> $gmp_tmpconfigm4i case $host in - mips64*-*-* | mips*-*-irix6789*) + mips64*-*-* | mips*-*-irix6*) abilist="n32 64 o32" cclist_n32="gcc cc" @@@@ -2844,14 +2844,14 @@@@ ac_status=$? echo "$as_me:2845: \$? = $ac_status" >&5 (exit $ac_status); }; then - rm -f conftest* + rm -rf conftest* echo "$as_me:2848: checking whether $cc is gcc" >&5 echo $ECHO_N "checking whether $cc is gcc... $ECHO_C" >&6 echo "$as_me:2850: result: yes" >&5 echo "${ECHO_T}yes" >&6 ccbase=gcc else - rm -f conftest* + rm -rf conftest* : fi @@@@ -2941,7 +2941,7 @@@@ gmp_prog_cc_works=yes fi fi -rm -f conftest* a.out a.exe +rm -rf conftest* a.out a.exe echo "$as_me:2945: result: $gmp_prog_cc_works" >&5 echo "${ECHO_T}$gmp_prog_cc_works" >&6 if test $gmp_prog_cc_works = yes; then @@@@ -3037,7 +3037,7 @@@@ result=no fi fi -rm -f conftest.* +rm -rf conftest.* echo "$as_me:3041: result: $result" >&5 echo "${ECHO_T}$result" >&6 if test $result = yes; then @@@@ -3135,7 +3135,7 @@@@ fi fi cat conftest.out >&5 - rm -f conftest* a.out + rm -rf conftest* a.out echo "$as_me:3139: result: $result" >&5 echo "${ECHO_T}$result" >&6 if test "$result" = yes; then @@@@ -3168,7 +3168,7 @@@@ fi fi cat conftest.out >&5 -rm -f conftest* +rm -rf conftest* echo "$as_me:3172: result: $result" >&5 echo "${ECHO_T}$result" >&6 if test "$result" = yes; then @@@@ -3228,7 +3228,7 @@@@ gmp_prog_cc_works=yes fi fi -rm -f conftest* a.out a.exe +rm -rf conftest* a.out a.exe echo "$as_me:3232: result: $gmp_prog_cc_works" >&5 echo "${ECHO_T}$gmp_prog_cc_works" >&6 if test $gmp_prog_cc_works = yes; then @@@@ -3749,11 +3749,11 @@@@ { (exit 1); exit 1; }; } fi -rm -f conftest$ac_cv_exeext +rm -rf conftest$ac_cv_exeext echo "$as_me:3753: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 -rm -f conftest.$ac_ext +rm -rf conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:3759: checking for object suffix" >&5 @@@@ -3995,7 +3995,7 @@@@ fi rm -f conftest.$ac_objext conftest.$ac_ext done -rm -f conftest* +rm -rf conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h @@@@ -4744,7 +4744,7 @@@@ fi rm -f conftest.$ac_objext conftest.$ac_ext done -rm -f conftest* +rm -rf conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h @@@@ -4869,13 +4869,13 @@@@ ac_status=$? echo "$as_me:4870: \$? = $ac_status" >&5 (exit $ac_status); }; then - rm -f conftest* + rm -rf conftest* echo "$as_me:4873: result: yes" >&5 echo "${ECHO_T}yes" >&6 want_cxx=yes break else - rm -f conftest* + rm -rf conftest* echo "$as_me:4879: result: no" >&5 echo "${ECHO_T}no" >&6 : @@@@ -5119,7 +5119,7 @@@@ else add_path="cray/cfp"; extra_functions="mulwwc90" fi -rm -f conftest* +rm -rf conftest* ;; j90 | sv1) extra_functions="mulwwj90" @@@@ -5329,7 +5329,7 @@@@ else ac_cv_header_stdc=no fi -rm -f conftest* +rm -rf conftest* fi @@@@ -5347,7 +5347,7 @@@@ else ac_cv_header_stdc=no fi -rm -f conftest* +rm -rf conftest* fi @@@@ -5774,7 +5774,7 @@@@ fi fi done - rm -f conftest* + rm -rf conftest* if test -z "$gmp_cv_prog_host_cc"; then { { echo "$as_me:5779: error: cannot find a build system compiler" >&5 echo "$as_me: error: cannot find a build system compiler" >&2;} @@@@ -6835,7 +6835,7 @@@@ # Check to see that the pipe works correctly. pipe_works=no - rm -f conftest* + rm -rf conftest* cat > conftest.$ac_ext <&5 cat conftest.$ac_ext >&5 fi - rm -f conftest* conftst* + rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then @@@@ -16362,7 +16362,7 @@@@ cat conftest.s >&5 gmp_cv_asm_x86_mmx=no fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:16368: result: $gmp_cv_asm_x86_mmx" >&5 @@@@ -16445,7 +16445,7 @@@@ cat conftest.s >&5 gmp_cv_asm_x86_sse2=no fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:16451: result: $gmp_cv_asm_x86_sse2" >&5 @@@@ -16541,7 +16541,7 @@@@ else ac_cv_header_stdc=no fi -rm -f conftest* +rm -rf conftest* fi @@@@ -16559,7 +16559,7 @@@@ else ac_cv_header_stdc=no fi -rm -f conftest* +rm -rf conftest* fi @@@@ -17376,7 +17376,7 @@@@ else ac_cv_c_stringize=yes fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:17382: result: $ac_cv_c_stringize" >&5 @@@@ -17566,7 +17566,7 @@@@ gmp_cv_c_attribute_malloc=no fi cat conftest.out >&5 -rm -f conftest* +rm -rf conftest* fi echo "$as_me:17572: result: $gmp_cv_c_attribute_malloc" >&5 @@@@ -19405,10 +19405,10 @@@@ cat conftest.s >&5 : fi -rm -f conftest* +rm -rf conftest* done -rm -f conftest* +rm -rf conftest* fi echo "$as_me:19414: result: $gmp_cv_asm_type" >&5 @@@@ -19441,7 +19441,7 @@@@ cat conftest.s >&5 : fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:19447: result: $gmp_cv_asm_size" >&5 @@@@ -19491,10 +19491,10 @@@@ cat conftest.s >&5 : fi -rm -f conftest* +rm -rf conftest* done -rm -f conftest* +rm -rf conftest* if test -z "$gmp_cv_asm_lsym_prefix"; then gmp_cv_asm_lsym_prefix=L { echo "$as_me:19500: WARNING: cannot determine local label, using default $gmp_cv_asm_lsym_prefix" >&5 @@@@ -19553,10 +19553,10 @@@@ cat conftest.s >&5 : fi -rm -f conftest* +rm -rf conftest* done - rm -f conftest* + rm -rf conftest* ;; esac if test -z "$gmp_cv_asm_w32"; then @@@@ -19606,7 +19606,7 @@@@ echo "$as_me: error: cannot assemble alignment test" >&2;} { (exit 1); exit 1; }; } fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:19612: result: $gmp_cv_asm_align_log" >&5 @@@@ -19636,7 +19636,7 @@@@ (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_instruction=$i - rm -f conftest* + rm -rf conftest* break else cat conftest.out >&5 @@@@ -19644,7 +19644,7 @@@@ cat conftest.s >&5 : fi -rm -f conftest* +rm -rf conftest* done @@@@ -19720,10 +19720,10 @@@@ echo "$as_me: error: cannot determine assembler addressing style" >&2;} { (exit 1); exit 1; }; } fi -rm -f conftest* +rm -rf conftest* fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:19729: result: $gmp_cv_asm_m68k_addressing" >&5 @@@@ -19751,7 +19751,7 @@@@ (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_branches=$i - rm -f conftest* + rm -rf conftest* break else cat conftest.out >&5 @@@@ -19759,7 +19759,7 @@@@ cat conftest.s >&5 : fi -rm -f conftest* +rm -rf conftest* done @@@@ -19818,10 +19818,10 @@@@ echo "$as_me: error: neither \"mtctr 6\" nor \"mtctr r6\" works" >&2;} { (exit 1); exit 1; }; } fi -rm -f conftest* +rm -rf conftest* fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:19827: result: $gmp_cv_asm_powerpc_r_registers" >&5 @@@@ -19884,7 +19884,7 @@@@ cat conftest.s >&5 gmp_cv_asm_sparc_register=no fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:19890: result: $gmp_cv_asm_sparc_register" >&5 @@@@ -19927,7 +19927,7 @@@@ cat conftest.s >&5 gmp_cv_asm_align_fill_0x90=no fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:19933: result: $gmp_cv_asm_align_fill_0x90" >&5 @@@@ -19958,7 +19958,7 @@@@ cat conftest.s >&5 gmp_cv_asm_x86_shldl_cl=no fi -rm -f conftest* +rm -rf conftest* fi echo "$as_me:19964: result: $gmp_cv_asm_x86_shldl_cl" >&5 @@@@ -20052,13 +20052,6 @@@@ echo "${ECHO_T}determined" >&6 a18 11 fi - case $host in - *-*-openbsd*) - -echo 'define(<_GLOBAL_OFFSET_TABLE_>, <__GLOBAL_OFFSET_TABLE_>)' >>$gmp_tmpconfigm4 - - ;; - esac ;; esac fi @ 1.5 log @Fix for OpenBSD/i386. This patch is taken from OpenBSD ports. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Make this work on IRIX, by passing -c99 (if mipspro is used) and by ensuring that the conftests are actually removed and therefor capabilities can actually be detected (rather than configure failing for them) @ text @d1 1 a1 1 $NetBSD: $ d3 2 a4 2 --- configure.orig Fri Oct 21 10:52:28 2005 +++ configure Fri Oct 21 10:52:20 2005 d14 1 a14 1 @@@@ -2844,7 +2844,7 @@@@ a22 1 @@@@ -2851,7 +2851,7 @@@@ d378 14 @ 1.3 log @patch configure to work with current irix versions @ text @d3 2 a4 2 --- configure.orig Mon May 9 22:09:19 2005 +++ configure Mon May 9 22:10:00 2005 d14 365 @ 1.2 log @Update gmp to 4.0.1. Changes: * Bug fixes. * Speed improvements. * Upwardly binary compatible with 3.x versions. * New CPU support: IA-64, Pentium 4. * Improved CPU support: 21264, Cray vector systems. * Support for all MIPS ABIs: o32, n32, 64. * New systems supported: Darwin, SCO, Windows DLLs. * New divide-and-conquer square root algorithm. * New algorithms chapter in the manual. * New malloc reentrant temporary memory method. * New C++ class interface by Gerardo Ballabio (beta). * Revamped configure, featuring ABI selection. * Speed improvements for mpz_powm and mpz_powm_ui (mainly affecting small operands). * mpz_perfect_power_p now properly recognizes 0, 1, and negative perfect powers. * mpz_hamdist now supports negative operands. * mpz_jacobi now accepts non-positive denominators. * mpz_powm now supports negative exponents. * mpn_mul_1 operand overlap requirements relaxed. * Float input and output uses locale specific decimal point where available. * New gmp_printf, gmp_scanf and related functions. * New division functions: mpz_cdiv_q_2exp, mpz_cdiv_r_2exp, mpz_divexact_ui. * New divisibility tests: mpz_divisible_p, mpz_divisible_ui_p, mpz_divisible_2exp_p, mpz_congruent_p, mpz_congruent_ui_p, mpz_congruent_2exp_p. * New Fibonacci function: mpz_fib2_ui. * New Lucas number functions: mpz_lucnum_ui, mpz_lucnum2_ui. * Other new integer functions: mpz_cmp_d, mpz_cmpabs_d, mpz_get_d_2exp, mpz_init2, mpz_kronecker, mpz_lcm_ui, mpz_realloc2. * New rational I/O: mpq_get_str, mpq_inp_str, mpq_out_str, mpq_set_str. * Other new rational functions: mpq_abs, mpq_cmp_si, mpq_div_2exp, mpq_mul_2exp, mpq_set_f. * New float tests: mpf_integer_p, mpf_fits_sint_p, mpf_fits_slong_p, mpf_fits_sshort_p, mpf_fits_uint_p, mpf_fits_ulong_p, mpf_fits_ushort_p. * Other new float functions: mpf_cmp_d, mpf_get_default_prec, mpf_get_si, mpf_get_ui, mpf_get_d_2exp. * New random functions: gmp_randinit_default, gmp_randinit_lc_2exp_size. * New demo expression string parser (see demos/expr). * New preliminary perl interface (see demos/perl). * Tuned algorithm thresholds for many more CPUs. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2000/12/31 14:05:30 skrll Exp $ d3 4 a6 3 --- mpn/arm/mul_1.S.orig Mon Jul 24 18:04:21 2000 +++ mpn/arm/mul_1.S @@@@ -35,9 +35,9 @@@@ d8 6 a13 17 .text .align 0 - .global __gmpn_mul_1 - .type __gmpn_mul_1,%function -__gmpn_mul_1: + .global ___gmpn_mul_1 + .type ___gmpn_mul_1,%function +___gmpn_mul_1: stmfd sp!, { r8, r9, lr } ands ip, n, #1 beq skip1 @@@@ -78,4 +78,4 @@@@ mov r0, ip ldmfd sp!, { r8, r9, pc } end: - .size __gmpn_mul_1, end - __gmpn_mul_1 + .size ___gmpn_mul_1, end - ___gmpn_mul_1 @ 1.1 log @Update to 3.1.1. Split patch-aa into a patch per file while I'm here. @ text @d1 1 a1 1 $NetBSD$ @