Build Testing

Here is a list of setups we have build tested mpir on:

config.guess string

Other details

Compiler

Build system

Last tested

Result

Additional

Tested by

core2-unknown-linux-gnu

C2D T7200 @ 2.00GHz

gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

Unix/Linux

08 - Jun - 08

Passed

Ubuntu 8.04

Mike Hansen

x86_64-unknown-linux-gnu

1.8 GHz Opteron (sage.math)

gcc 4.1.2

Unix/Linux

04 - Jun - 08

Passed

Bill Hart

core2-apple-darwin8.11.1

martinj

Apple gcc 4.0.1 (5363)

Unix/Linux

04 - Jun - 08

Passed

Bill Hart

pentiumD-pc-linux-gnu

3.2Ghz Dual core PentiumD

gcc

Unix/Linux

04 - Jun - 08

Passed

Added support in configfsf.sub

Bill Hart

x86_64-pc-cygwin

1.9Ghz AMD Turion 64 X2 Laptop

gcc 3.4.4

Unix/Linux

04 - Jun - 08

Pass with workaround *1

Cygwin on 32 bit Windows Vista

Bill Hart

ultrasparc3-sun-solaris2.10

Sun Blade 2500

Sun C 5.9

Unix/Linux

26 - Jun - 08

??

Bill Hart

ultrasparc3-sun-solaris2.10

Sun Blade 2000

Sun C 5.9

Unix/Linux

11 - Jun - 08

??

David Kirkby, david.kirkby@@@onetel.net

ultrasparc3-sun-solaris2.10

Sun Blade 2500

gcc 4.3.1

Unix/Linux

16 - Jun - 08

Pass *3,5,7

Bill Hart

ultrasparc3-sun-solaris2.10

Sun Blade 2500

gcc 3.4.4

Unix/Linux

11 - Jun - 08

Pass *3,5,7

Bill Hart

ultrasparc3-sun-solaris2.10

Sun Blade 2000

gcc 3.4.6

Unix/Linux

2 - Jul - 08

Pass *6,5,7

Precompiled gcc from Blastwave

Bill Hart

ultrasparc3-sun-solaris2.10

Sun Blade 2000

gcc 4.0.2

Unix/Linux

29 - Jun - 08

??

Precompiled gcc from Blastwave

David Kirkby, david.kirkby@@@onetel.net

ultrasparc2-sun-solaris2.10

Sun Ultra 60

gcc 3.4.5

Unix/Linux

11 - Jun - 08

Pass *3,5,7

Precompiled gcc from Blastwave

David Kirkby, david.kirkby@@@onetel.net

hppa2.0w-hp-hpux11.11

HP-UX, rp2470 PA-RISC

HP's cc

Unix/Linux

3 - Jul - 08

Pass *9, 11, 12

"HP Testdrive" machine, td192.testdrive.hp.com

Bill Hart

i386-pc-solaris2.11

x86 laptop, Solaris Express

unspecified

Unix/Linux

11 - Jun - 08

??

David Kirkby, david.kirkby@@@onetel.net

i386-pc-solaris2.11

x86 laptop, Solaris Express

Sun C 5.9

Unix/Linux

11 - Jun - 08

??

David Kirkby, david.kirkby@@@onetel.net

i386-pc-solaris2.11

x86 laptop, Solaris Express

gcc 3.4.5

Unix/Linux

11 - Jun - 08

??

David Kirkby, david.kirkby@@@onetel.net

x86_64-unknown-linux-gnu

Athlon 64 3000+

gcc 4.3.1

Unix/Linux

15 - Jun - 08

Pass

Bill Hart

core2-pc-solaris2.10

Fedora core

gcc 4.2.3

Unix/Linux

18 - Jun - 08

Pass *5, 7

Bill Hart

core2-apple-darwin9.3.0

Apple gcc 4.0.1 (5465)

Unix/Linux

26 - Jun - 08

Pass

Bill Hart

*1 Configure, make, make tune, make try and try passed. Make check did not initially work due to mpir being in a path containing spaces - reported as trac ticket 28 with temporary workaround.

*2 Configure failed with cc, i.e. Sun C 5.9. configure: WARNING: gmp.h doesnt recognise compiler as ANSI, prototypes and "const" will be unavailable. The configure script does not reconise inline. The configure script finds mp_limb_t is not present, reports its size is 0, then reports "Oops, mp_limb_t doesn't seem to work".

*3 Warning that makeinfo is missing (used for tex and other documentation files).

*5 Make try reports: "try.c: in function `malloc_region': try.c 1565: warning: assignment from incompatible pointer type", but otherwise builds fine and runs.

*6 "make tune" core dumps if timing is inconsistent, but works most of the time on an unburdened system.

*7 Numerous warnings from linker (/usr/ccs/bin/ld) of "ld: warning: file ../../.libs/libgmp.so: linked to /tmp/mpir-1.0.0/.libs/libgmp.so: attempted multiple inclusion of file".

*8 The configure script reports it can find no working C compiler. It should check 'cc' for a compiler, but it reports "checking compiler icc -no-gcc ... no". When one tries "./configure CC=cc" it then finds the compiler ok !!

*9 Warning about empty source files while doing make.

*11 Warning that this platform doesn't like linking shared libraries that aren't installed.

*12 Warning during make tune: cpp: "common.c", line 1044: warning 2006: Parameter holes filled with a null string.

Unix/Linux build system testing

Assuming yasm is needed (currently only needed for x86_64 in ABI=64 mode), we first do:

cd yasm
./configure
make
cd ..

Then we do:

./configure
make
make check
cd tune
make tune
cd ../tests/devel
make try
./try -s 1-1000 MPN*
./try -s 1-30 mpn*

Note: on Cygwin, one must do:

make try.exe

Build testing (last edited 2009-03-01 00:46:04 by localhost)