bug-gmp
[Top][All Lists]
Advanced

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

RE: Compiler optimize bug on HPUX 10.20


From: Byers, Denton W.
Subject: RE: Compiler optimize bug on HPUX 10.20
Date: Mon, 7 May 2001 14:04:03 -0400

> -----Original Message-----
> From: Kevin Ryde [mailto:user42 at zip.com.au]
> Sent: Saturday, May 05, 2001 8:15 PM
> To: Byers, Denton W.
> Cc: bug-gmp at gnu.org
> Subject: Re: Compiler optimize bug on HPUX 10.20
>
> > Just for kicks, I upped the optimize level to -O2 in CFLAGS.
> But then I get
> > the usual error:
> >
> > tstbit.c: In function `__gmpz_tstbit':
> > tstbit.c:70: internal error--insn does not satisfy its constraints:
>
> Did the replacement tstbit.c not fix that?

Whoops, I forgot to replace it!  After replacing tstbit.c and running
configure with --target=none-hp-hpux10.20 CFLAGS="-g -DNO_ASM -O2"
everything compiles AND checks out fine.

However, when letting configure go on its default settings, the compilation
goes fine but the tests fail as shown below.

-----------------------------------------------
...

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..    -g -O2 -c t-misc.c
/bin/sh ../../libtool --mode=link gcc  -g -O2   -o t-misc  t-misc.o
../../libgmp.la
libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `t-misc' will be relinked during installation
gcc -g -O2 -o .libs/t-misc t-misc.o
 ../../.libs/libgmp.sl -Wl,+b -Wl,/sd6/gmp-3.1.1/.libs:/usr/local/lib
creating t-misc
make[3]: Leaving directory `/sd6/gmp-3.1.1/mpz/tests'
make  check-TESTS
make[3]: Entering directory `/sd6/gmp-3.1.1/mpz/tests'
/bin/sh: 16940 Bus error(coredump)
FAIL: t-mul
/bin/sh: 16950 Bus error(coredump)
FAIL: t-tdiv
PASS: t-tdiv_ui
/bin/sh: 16969 Bus error(coredump)
FAIL: t-fdiv
PASS: t-fdiv_ui
/bin/sh: 16988 Bus error(coredump)
FAIL: t-gcd
PASS: dive
PASS: t-sqrtrem
PASS: convert
PASS: io
PASS: logic
PASS: bit
/bin/sh: 17052 Bus error(coredump)
FAIL: t-powm
/bin/sh: 17062 Bus error(coredump)
FAIL: t-powm_ui
PASS: t-pow_ui
PASS: t-2exp
/bin/sh: 17090 Bus error(coredump)
FAIL: reuse
PASS: t-root
/bin/sh: 17109 Bus error(coredump)
FAIL: t-jac
PASS: t-bin
PASS: t-misc
================make[3]: *** [check-TESTS] Error 1
make[2]: *** [check-am] Error 2
====
8 of 21 tests failed
====================
make[3]: Leaving directory `/sd6/gmp-3.1.1/mpz/tests'
make[2]: Leaving directory `/sd6/gmp-3.1.1/mpz/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/sd6/gmp-3.1.1/mpz'
make: *** [check-recursive] Error 1



reply via email to

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