Ciao,
Il Ven, 6 Dicembre 2019 3:55 pm, Torbjörn Granlund ha scritto:
> ni...@lysator.liu.se (Niels Möller) writes:
>
> > From my understanding this might be a difference in how GCC 7.2.0
> > handles unsigned longs vs GCC 4.8.5.
>
> Can you file a gcc bug? These constants are defined as
>
I also see no reasonable way for it to end up as 1. If I printf("%lu") those
same two variables the results are even more strange:
== GCC 4.8.5 ==
GMP_HLIMB_BIT=4294967296=1
ni...@lysator.liu.se (Niels Möller) writes:
> I was able to narrow down the cause. In GC 7.2.0 the GMP_LLIMB_MASK is
wrong:
>
> =GCC 4.8.5=
> GMP_LIMB_BITS=64
> GMP_LLIMB_MASK=4294967295=0x
>
> =GCC 7.2.0=
> GMP_LIMB_BITS=64
> GMP_LLIMB_MASK=1=0x0001
>
> From
"Damm, Stephen" writes:
> I was able to narrow down the cause. In GC 7.2.0 the GMP_LLIMB_MASK is wrong:
>
> =GCC 4.8.5=
> GMP_LIMB_BITS=64
> GMP_LLIMB_MASK=4294967295=0x
>
> =GCC 7.2.0=
> GMP_LIMB_BITS=64
> GMP_LLIMB_MASK=1=0x0001
>
> From my understanding this might be a difference
GMP-Bugs,
I am trying to build GMP 6.1.2 for ARMv8-A Thunderx2t99 (AARCH64) CPU on
RHEL7.4.
I can build BINUTILS 2.29.1, GMP 6.1.2, and CC 7.2.0 using the system GCC
4.8.5. No errors, GMP passes its `make check` tests. The gen-fac program
works.
Next I use my GCC 7.2.0 to build everything