Displaying 6 results from an estimated 6 matches for "q_1_eps".
2019 Dec 17
2
Build failure on powerpc64
...ong double ld1;
> for (i = 0, j = 0; i < len; i++, j += size) {
> ld1 = (long double) REAL(object)[i];
> format.c:
> static const long double tbl[] =
> ... but it doesn't. Perhaps the original code at issue:
> arithmetic.c:
> static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
> only makes gcc unhappy because of the very large value trying to be stored
> in the static long double, which would make it span the "folded double" on
> that architecture.
> *****
> It seems that the options are:
> A) Pa...
2019 Dec 13
3
Build failure on powerpc64
...-cc1
> -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
> -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c
> arithmetic.c -o arithmetic.o
> arithmetic.c:180:26: error: initializer element is not constant
> 180 | static LDOUBLE q_1_eps = (1 / LDBL_EPSILON);
> | ^
> make[3]: *** [../../Makeconf:124: arithmetic.o] Error 1
> Took me a bit to figure out why, but this is happening because on
> powerpc64, gcc is compiled with -mlong-double-128, and the long double
> format us...
2020 Mar 25
1
Build failure on powerpc64
...= 0; i < len; i++, j += size) {
>>> ld1 = (long double) REAL(object)[i];
>
>>> format.c:
>>> static const long double tbl[] =
>
>>> ... but it doesn't. Perhaps the original code at issue:
>
>>> arithmetic.c:
>>> static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
>
>>> only makes gcc unhappy because of the very large value trying to be stored
>>> in the static long double, which would make it span the "folded double" on
>>> that architecture.
>
>>> *****
>
>>> It seems th...
2020 Mar 25
0
Build failure on powerpc64
...for (i = 0, j = 0; i < len; i++, j += size) {
>> ld1 = (long double) REAL(object)[i];
>> format.c:
>> static const long double tbl[] =
>> ... but it doesn't. Perhaps the original code at issue:
>> arithmetic.c:
>> static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
>> only makes gcc unhappy because of the very large value trying to be stored
>> in the static long double, which would make it span the "folded double" on
>> that architecture.
>> *****
>> It seems that the options...
2019 Dec 13
0
Build failure on powerpc64
...static long double ld1;
for (i = 0, j = 0; i < len; i++, j += size) {
ld1 = (long double) REAL(object)[i];
format.c:
static const long double tbl[] =
... but it doesn't. Perhaps the original code at issue:
arithmetic.c:
static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
only makes gcc unhappy because of the very large value trying to be stored
in the static long double, which would make it span the "folded double" on
that architecture.
*****
It seems that the options are:
A) Patch the one place where the compiler determines it is...
2019 Dec 12
0
Build failure on powerpc64
...-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
-mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c
arithmetic.c -o arithmetic.o
arithmetic.c:180:26: error: initializer element is not constant
180 | static LDOUBLE q_1_eps = (1 / LDBL_EPSILON);
| ^
make[3]: *** [../../Makeconf:124: arithmetic.o] Error 1
Took me a bit to figure out why, but this is happening because on
powerpc64, gcc is compiled with -mlong-double-128, and the long double
format used on PPC is IBM's 128bit long doub...