Yesterday, I built gmp-4.2.1 in 32 build environments on about 20
flavors of Unix.  A fair number were successful and passed all of
their tests, but there were also some failures, notably a single test
that fails on multiple platforms and multiple compilers.  This makes
me think that the error may be in the test itself, rather than in
libgmp.

There also seems to be a problem on Sun Solaris 7 and 9 SPARC with
recognition of the architecture; builds on Solaris 8 SPARC with cc and
Solaris 10 SPARC with c89 passed all of the tests.

Here is a summary of the problems:

============================================================
Machinetype:            DEC Alphastation 200 4/100 (1 CPU, 100 MHz Alpha 21064 
EV4, 64MB RAM);    GNU/Linux 2.4.19-xfs-gentoo-cd
Remote gcc version:     gcc (GCC) 3.3
Configure environment:  CC=gcc CXX=g++ LD_LIBRARY_PATH=/usr/local/lib 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77

/bin/sh: line 4: 27698 Segmentation fault      (core dumped) ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            SGI Origin/200-4 (180 MHz) (4 R10000 CPUs); IRIX 6.5
Remote c89 version:     MIPSpro Compilers: Version 7.3.1.3m
Configure environment:  CC=c89 CXX=CC CFLAGS=-I/usr/local/include 
CXXFLAGS=-I/usr/local/include LDFLAGS=-Wl,-rpath,/usr/local/libn32

/bin/sh[9]: 319166 Bus error(coredump)
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Intel Pentium III (600 MHz);    FreeBSD 5.0
Remote gcc version:     gcc (GCC) 3.4.3
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++ 
LDFLAGS=-Wl,-rpath,/usr/local/lib

checking size of mp_limb_t... 4
configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
in this configuration expects 64 bits.
You appear to have set $CFLAGS, perhaps you also need to tell GMP the
intended ABI, see "ABI and ISA" in the manual.

============================================================
Machinetype:            Apple PowerMac G3 (267 MHz);    GNU/Linux 2.4.19-4a 
(Yellow Dog Linux release 2.3 (Dayton))
Remote gcc version:     gcc (GCC) 3.2.2
Configure environment:  CC=gcc CXX=g++ LD_LIBRARY_PATH=/usr/local/lib 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77

FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Dell PowerEdge 3250: Intel Itanium-2 (1400 MHz) (2 
CPUs); GNU/Linux 2.6.9-22.0.2.EL (Red Hat Enterprise Linux AS release 4 (Nahant 
Update 2))
Remote cc version:     cc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
Configure environment:  CC=/usr/bin/cc CXX=/usr/bin/c++ 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77
/bin/sh: line 4: 14105 Segmentation fault      ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Dell PowerEdge 3250: Intel Itanium-2 (1400 MHz) (2 
CPUs); GNU/Linux 2.6.9-22.0.2.EL (Red Hat Enterprise Linux AS release 4 (Nahant 
Update 2))
Remote gcc version:     gcc (GCC) 3.4.2
Configure environment:  CC=gcc CXX=g++ LD_LIBRARY_PATH=/usr/local/lib 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77

/bin/sh: line 4: 29136 Segmentation fault      ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Dell PowerEdge 3250: Intel Itanium-2 (1400 MHz) (2 
CPUs); GNU/Linux 2.6.9-22.0.2.EL (Red Hat Enterprise Linux AS release 4 (Nahant 
Update 2))
Remote gcc4 version:    gcc4 (GCC) 4.0.2 20051130 (Red Hat 4.0.2-14.EL4)
Configure environment:  CC=gcc4 CXX=g++4 LDFLAGS="-Wl,-rpath,/usr/local/lib" 
FC=gfortran F77=gfortran

/bin/sh: line 4: 30705 Segmentation fault      ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Starwest Powerstar Q1563 (1800 MHz Pentium 4 CPU, 256MB 
RAM, 57GB disk); GNU/Linux 2.6.9-34.EL
Remote cc version:      gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Configure environment:  CC=/usr/bin/cc CXX=/usr/bin/c++ 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77
/bin/sh: line 4: 28453 Segmentation fault      ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Sun Sun Fire V240 (2 UltraSPARC-IIIi CPUs, 1280 MHz, 
8GB RAM);  Solaris 9
Remote cc version:      cc: Sun C 5.8 2005/10/13
Configure environment:  CC=cc CFLAGS="-xO5 -dalign -xlibmil -xcg92 -xsafe=mem 
-I/usr/local/include" CXX=CC CXXFLAGS="-xO5 -dalign -xlibmil -xcg92 -xsafe=mem 
-I/usr/local/include" LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

 cc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n 
-xO5 -dalign -xlibmil -xcg92 -xsafe=mem -I/usr/local/include tmp-add_n.s -KPIC 
-DPIC -o .libs/add_n.o
/opt/SUNWspro/prod/bin/fbe: "tmp-add_n.s", line 69: error: cannot use v8plus 
instructions in a non-v8plus target binary
... many more ...

============================================================
Machinetype:            Sun Sun Fire V240 (2 UltraSPARC-IIIi CPUs, 1280 MHz, 
8GB RAM);  Solaris 9
Remote gcc version:     gcc (GCC) 3.3
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++ 
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

 gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n 
-I/usr/local/include tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o
/usr/ccs/bin/as: "tmp-add_n.s", line 69: error: cannot use v8plus instructions 
in a non-v8plus target binary
... many more ...

============================================================
Machinetype:            Sun Ultra Enterprise 450/400 (4 UltraSPARC-II CPUs, 400 
MHz);  Solaris 7
Remote cc version:      cc: WorkShop Compilers 5.0 98/12/15 C 5.0
Configure environment:  CC=cc CFLAGS=-I/usr/local/include CXX=CC 
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

 cc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n 
-I/usr/local/include tmp-add_n.s -KPIC -DPIC -o .libs/add_n.o
/opt/SUNWspro/bin/../SC5.0/bin/fbe: "tmp-add_n.s", line 69: error: cannot use 
v8plus instructions in a non-v8plus target binary
... many more ...

============================================================
Machinetype:            Sun Ultra Enterprise 450/400 (4 UltraSPARC-II CPUs, 400 
MHz);  Solaris 7
Remote gcc version:     2.95.3
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++ 
CXXFLAGS=-I/usr/local/include LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

 gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n 
-I/usr/local/include tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o
tmp-add_n.s: Assembler messages:
tmp-add_n.s:66: Error: Architecture mismatch on "lduw".
tmp-add_n.s:66:  (Requires v9|v9a; requested architecture is sparclite.)
... many more ...

============================================================
Machinetype:            SGI Indy-200 (175 MHz);        GNU/Linux Gentoo 1.4.16
Remote gcc version:     gcc (GCC) 3.4.1 20040803 (Gentoo Linux 3.4.1-r3, 
ssp-3.4-2, pie-8.7.6.5)
Configure environment:  CC=gcc CXX=g++ LD_LIBRARY_PATH=/usr/local/lib 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77

/bin/sh: line 4: 16497 Bus error               (core dumped) ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            AMD Athlon MP 1800+ (1533 MHz); GNU/Linux 
2.6.9-5.0.3.ELsmp (Red Hat AS4)
Remote gcc version:     gcc (GCC) 3.4.3
Configure environment:  CC=gcc CXX=g++ LD_LIBRARY_PATH=/usr/local/lib 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77

/bin/sh: line 4:  5734 Segmentation fault      (core dumped) ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            AMD Athlon MP 1800+ (1533 MHz); GNU/Linux 
2.6.9-5.0.3.ELsmp (Red Hat AS4)
Remote cc version:      cc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
Configure environment:  CC=/usr/bin/cc CXX=/usr/bin/c++ 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77
/bin/sh: line 4: 27820 Segmentation fault      (core dumped) ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            AMD Athlon MP 1800+ (1533 MHz); GNU/Linux 
2.6.9-5.0.3.ELsmp (Red Hat AS4)
Remote gcc version:     gcc (GCC) 3.4.3
Configure environment:  CC=gcc CFLAGS="-std=c99 -O3 -D_XOPEN_SOURCE=500" 
CXX=g++ CXXFLAGS="-O3 -D_XOPEN_SOURCE=500" LDFLAGS="-Wl,-rpath,/usr/local/lib" 
FC=g77 F77=g77

/bin/sh: line 4: 28039 Segmentation fault      (core dumped) ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Apple PowerMac G4 (2 500 MHz PowerPC CPUs, 256MB RAM);  
  GNU/Linux 2.6.16-gentoo-r7 (Gentoo Base System version 1.6.14)
Remote gcc version:     gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, 
pie-8.7.9)
Configure environment:  CC=gcc CXX=g++ LD_LIBRARY_PATH=/usr/local/lib 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77

/bin/sh: line 4: 15277 Segmentation fault      (core dumped) ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Intel Pentium III (600 MHz);    GNU/Linux 
2.6.9-11.ELsmp (Red Hat Enterprise Linux AS release 4 (Nahant Update 1))
Remote gcc version:     gcc (GCC) 3.4.3
Configure environment:  CC=gcc CXX=g++ LD_LIBRARY_PATH=/usr/local/lib 
LDFLAGS="-Wl,-rpath,/usr/local/lib" FC=g77 F77=g77

/bin/sh: line 4: 28998 Segmentation fault      ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Intel Pentium III (600 MHz);    GNU/Linux 
2.6.9-11.ELsmp (Red Hat Enterprise Linux AS release 4 (Nahant Update 1))
Remote gcc4 version:    gcc4 (GCC) 4.0.2 20051130 (Red Hat 4.0.2-14.EL4)
Configure environment:  CC=gcc4 CXX=g++4 LDFLAGS="-Wl,-rpath,/usr/local/lib" 
FC=gfortran F77=gfortran

/bin/sh: line 4: 31313 Segmentation fault      ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Intel Pentium III (600 MHz);    GNU/Linux 
2.6.9-5.0.5.ELsmp (Red Hat Enterprise Linux WS release 4 (Nahant))
Remote icc version:     Intel(R) C Compiler for 32-bit applications, Version 
8.1 Build 20060606Z Package ID: l_cc_pc_8.1.038
Configure environment:  CC=icc CFLAGS=-I/usr/local/include CXX=icc 
CXXFLAGS=-I/usr/local/include 
LDFLAGS="-Wl,-rpath,/opt/intel/cc/9.1.020/lib:/usr/local/lib" 
LD_LIBRARY_PATH=/opt/intel/cc/9.1.020/lib:/usr/local/lib:/usr/lib:/lib FC=ifort 
F77=ifort

/bin/sh: line 4: 28997 Segmentation fault      ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

============================================================
Machinetype:            Sun Ultra 5/400;                GNU/Linux 
2.4.26-sparc-r2 (Gentoo 1.4.16)
Remote gcc version:     gcc (GCC) 3.3.3
Configure environment:  CC=gcc CXX=g++ LDFLAGS="-L/usr/local/lib 
-Wl,-rpath,/usr/local/lib"

/bin/sh: line 4: 29001 Bus error               (core dumped) ${dir}$tst
FAIL: t-sub
==================================
1 of 9 tests failed
Please report to [EMAIL PROTECTED]
==================================

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: [EMAIL PROTECTED]  -
- 155 S 1400 E RM 233                       [EMAIL PROTECTED]  [EMAIL 
PROTECTED] -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


_______________________________________________
bug-gmp mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gmp

Reply via email to