gmp-5.0.1 - 'make check' on ABI=2.0n HP-UX 11 build problem
Warren Gray
ve3wwg at gmail.com
Thu Feb 25 21:33:39 CET 2010
The latest patch was successful. Good compiles + all tests passed.
Thanks everyone!
Warren
On Thu, Feb 25, 2010 at 12:43 PM, Warren Gray <ve3wwg at gmail.com> wrote:
> After applying recent patches, I was able to get through
> the tests, though there was one remaining issue:
>
> cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests +uc +DA2.0N -c
> t-perfpow.c
> cc: "t-perfpow.c", line 170: warning 604: Pointers are not
> assignment-compatible.
> cc: "t-perfpow.c", line 170: warning 563: Argument #1 is not the correct
> type.
> cc: "t-perfpow.c", line 176: warning 604: Pointers are not
> assignment-compatible.
> cc: "t-perfpow.c", line 176: warning 563: Argument #1 is not the correct
> type.
> ...
> PASS: t-perfsqr
> n = 1001066502753601144943781737935273547488820443289651602......
> n was destroyed, but perfpow_p still believes n is a perfect power
> /bin/sh[10]: 5255 Abort(coredump)
> FAIL: t-perfpow
>
> The log nohup.out.gz is available if someone needs it.
>
> The configuration used:
>
> ABI=2.0n CC=cc CFLAGS='+uc +DA2.0N' LDFLAGS='+DA2.0N' \
> ./configure --prefix=$HOME/local32 --disable-libtool-lock
>
> Thanks, Warren
>
>
> On Wed, Feb 24, 2010 at 12:45 PM, Warren Gray <ve3wwg at gmail.com> wrote:
>
>> After doing a gmp-5.0.1 build and install, I tried 'make check, which
>> fails to
>> build (using old cc compiler):
>>
>> cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests +uc +DA2.0N -c
>> t-div.c
>> cc: "t-div.c", line 244: error 1654: Expression type is too large for
>> switch expression.
>> cc: "t-div.c", line 246: error 1653: Case label too big for the type of
>> the switch expression
>> cc: "t-div.c", line 251: error 1653: Case label too big for the type of
>> the switch expression
>> cc: "t-div.c", line 254: error 1653: Case label too big for the type of
>> the switch expression
>> make[4]: *** [t-div.o] Error 1
>> make[4]: Leaving directory
>> `/home/proghome/wgay/work/feb24/gmp-5.0.1/tests/mpn'
>>
>> The old cc compiler won't accept > 32-bit switch() expressions, nor will
>> it
>> compile constants > 32 bits.
>>
>> Thanks, Warren
>>
>
>
--
Warren W. Gay
More information about the gmp-bugs
mailing list