bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiler optimize bug(?) & test failures on HPUX 10.20


From: Byers, Denton W.
Subject: Compiler optimize bug(?) & test failures on HPUX 10.20
Date: Mon, 30 Apr 2001 09:59:20 -0400

GMP version number: 3.1.1

I'm getting a compile error when compiling tstbit.c: 70 (in /mpz) with just
the default settings assigned by configure.

I've seen lots of posts regarding insn errors in other software newsgroups
but no general solutions other than compiler/source upgrades.  After
searching for many hours, I read where someone was having problems compiling
some other package with gcc's optimization flags.  On a hunch, I created a
fresh source tree I got rid of the optimize flag altogether setting
CFLAGS="-g" on configure's command line.  Everything compiled cleanly but
half the tests fail, some dumping core.


Next I created a fresh source tree and tried CFLAGS="-g -O1" wondering how
far I could take this, and it compiled cleanly as well.  I ran the tests
after this and got warnings for each compile like the following:

---8<----
libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `t-tdiv_ui' will be relinked during installation
---8<----

..then the tests blew up as before like the following sample snippet....

---8<----
make  check-TESTS
make[3]: Entering directory `/sd6/gmp-3.1.1/mpz/tests'
-FFFFFFFFFFFFFFFFFF00000000001FFFC000000FFFFFFFFFFFFFFFFFFFFFF800000000FFFFF
FE000FFFFFFE00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFF80000003FFFFFFF000
80000000000000000000000FFF800007FE0001FFFFFFF8000007FFFFFFFE0000000F800001FF
FFFFFFFFFE00000000000007FFF03FFFFFFFFFFFFFFFFFFFFFFFFFFE000003FFF80000000000
00007FFFFFFFFFFFFFFFFFFFFFFFFFFE7FFFF03FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FF800000000FFFFFFFF0000003FFFFFFFFFFFFE000FFFFFFFE3FFFFFFFFFFFFFFFE000000000
0000000001FFE00000001FFFF8000001FFFFFFFFFFFFFFFC000001FE008000003FFFFC0FFFFF
FF807FE001FFFFFFFC007FFFFFFFFFFFFFC0000000000000000FFFFFFFFFFFFFC000001FFFFE
000000000007FFF8003FFFFFFFFFFFFF8000000003FFFFFFFFF80003FF803FFFFFFFFFFFF07F
FFFFFFFFFFFFFFFFFFFFFFF
.....skipping a couple dozen lines...
0000000000000000FFFFFFFFFFFFFF0000000003FFFFFFFC000000000000001FFFF80000007F
F807FFC07FFFFFFFFFFFFFFFFFFFFFFF001FFFFFFF807FFFFFFFFFFFFFF000000000000007FE
0000000000000001FFFFFFFFFFF0000000000FFFF80FFFFE003FFFFFFFC0000FFFFFFFFFFF7F
-1FFFFFFFFFC000000E1FFFFFFFFFFFE000001FFFFFFFFFFFC00003FFFFFFFFFFF000000007F
FFFFC00000000000FFFF80000007FFFFFFFE01E0000000FFFFF0020007FFFFFFFFFFFFFE0000
0007FFFFFFFFE000000002000000000000000000007FFFFC0007FFFFFFF03FFFFFFFFFE00000
7FFFFFFFF800000000000FFFFFFFFFF80000000000000001FE02000000000000000000000001
FC0FFFFFF00000000000000000000000000000003FFFFFC0000000000FF81FFFFFFFFF807FFE
00003FFFFFFFFFFFFFFFF000
.....skipping a couple dozen lines...
FFFFFFFFFFFFFFFF80003FFFFFFFFFF00000000000000000000000FFFFFFFFFFE001FFFFFFFF
FFFFFFFFFFFFFFFFFFFC000003FFFEFFFFFFFFFFFFFFFFF800001FF8003FFFFFFFFE00000000
00000000000000000000000000000001FFFFFFFFFFFFFFFFFFFFFFFFFFC000000FFFFFFE0000
00000000000001FFFFFFE00000000000000000007FFFFF800000000000000007FFFFFFE00000
0000000000FFFFFFFFFFFFFFC01FFFF01FFFFFFFFFFFF1FFFFFFF00000000000000000000000
00000007FFFFFFE07FFFFFFFF0000FFFFFFFFF080
ERROR: incorrect quotient or remainder
---8<----




========================================================================
Platform details:

The configuration options you used when building GMP, if any:
None.

`gcc -v':
Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)

The output from running `uname -a':
HP-UX brant B.10.20 A 9000/715 2009326398 two-user license

The output from running `./config.guess':
hppa1.1-hp-hpux10.20


If I can produce anything else for clues, don't hesitate to contact me
directly.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]