gmp problem report

Jose Mendez jmendez at sii.cl
Tue Dec 19 19:47:01 CET 2006


Dear gmp-bugs at swox.com,

I compile gmpp2-4-1 obtaining:


%make check
.....
./install-sh -c .libs/libgmp.so.3.4.1 /usr/lib/libgmp.so.3.4.1
(cd /usr/lib && rm -f libgmp.so.3 && ln -s libgmp.so.3.4.1 libgmp.so.3)
(cd /usr/lib && rm -f libgmp.so && ln -s libgmp.so.3.4.1 libgmp.so)
chmod +x /usr/lib/libgmp.so.3.4.1
./install-sh -c .libs/libgmp.lai /usr/lib/libgmp.la
./install-sh -c .libs/libgmp.a /usr/lib/libgmp.a
ranlib /usr/lib/libgmp.a
chmod 644 /usr/lib/libgmp.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - use the `-RLIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || /usr/local/gmp-4.2.1/install-sh -d "/usr/local/include"
 ./install-sh -c -m 644 'gmp.h' '/usr/local/include/gmp.h'
test -z "/usr/local/include" || /usr/local/gmp-4.2.1/install-sh -d "/usr/local/include"
make  install-data-hook
make[4]: Entering directory `/export/home/local/gmp-4.2.1'

+-------------------------------------------------------------+
| CAUTION:                                                    |
|                                                             |
| If you have not already run "make check", then we strongly  |
| recommend you do so.                                        |
|                                                             |
| GMP has been carefully tested by its authors, but compilers |
| are all too often released with serious bugs.  GMP tends to |
| explore interesting corners in compilers and has hit bugs   |
| on quite a few occasions.                                   |
|                                                             |
+-------------------------------------------------------------+

make[4]: Leaving directory `/export/home/local/gmp-4.2.1'
make[3]: Leaving directory `/export/home/local/gmp-4.2.1'
make[2]: Leaving directory `/export/home/local/gmp-4.2.1'
make[1]: Leaving directory `/export/home/local/gmp-4.2.1'
edmd> make check
make  check-recursive
make[1]: Entering directory `/export/home/local/gmp-4.2.1'
Making check in tests
make[2]: Entering directory `/export/home/local/gmp-4.2.1/tests'
Making check in .
make[3]: Entering directory `/export/home/local/gmp-4.2.1/tests'
make  libtests.la t-bswap t-constants t-count_zeros t-gmpmax t-hightomask t-modlinv t-popc t-parity t-sub
make[4]: Entering directory `/export/home/local/gmp-4.2.1/tests'
make[4]: `libtests.la' is up to date.
make[4]: `t-bswap' is up to date.
make[4]: `t-constants' is up to date.
make[4]: `t-count_zeros' is up to date.
make[4]: `t-gmpmax' is up to date.
make[4]: `t-hightomask' is up to date.
make[4]: `t-modlinv' is up to date.
make[4]: `t-popc' is up to date.
make[4]: `t-parity' is up to date.
make[4]: `t-sub' is up to date.
make[4]: Leaving directory `/export/home/local/gmp-4.2.1/tests'
make  check-TESTS
make[4]: Entering directory `/export/home/local/gmp-4.2.1/tests'
PASS: t-bswap
PASS: t-constants
PASS: t-count_zeros
PASS: t-gmpmax
PASS: t-hightomask
PASS: t-modlinv
PASS: t-popc
PASS: t-parity
/bin/bash: line 4: 20815 Illegal Instruction     (core dumped) ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to gmp-bugs at swox.com
==================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/export/home/local/gmp-4.2.1/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/export/home/local/gmp-4.2.1/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/export/home/local/gmp-4.2.1/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/export/home/local/gmp-4.2.1'
make: *** [check] Error 2
------

Some system details:

SunOS xxxx 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-V240
%gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2

->basic test worked !  
%gcc -o primes -lgmp -lm -m64  primes.c  worked ok

------

What was the problem here ? How can I continue ?

Thank in advance,

José Miguel Méndez Miquel
--->
SUN SCSA Solaris 10 
SUN SCSA Solaris 8
IBM  Certified Advanced Technical Expert - pSeries and AIX 5L 
HP   HP-UX Certified System Engineer, Certified System Administrator
CA  Certified Unicenter Engineer CSE and CUA
Windows 2000 MCP Certified
Windows NT MCP Certified
-------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-bugs/attachments/20061219/79d9d776/attachment.html 


More information about the gmp-bugs mailing list