On powerpc64be semval_t must be 64 bits even with "old" versions of glibc. This was discovered on a new install of Redhat 7.3 which unfortunately still comes with glibc 2.17 installed.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc | ||
|---|---|---|
| 12 | Is there any difference between __PPC64__ and defined(__powerpc64__) used below (and also in altivec.h etc)? | |
| test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc | ||
|---|---|---|
| 12 | Both PPC64 and powerpc64 are listed in the power ISA document and are equivalent. | |
Is there any difference between __PPC64__ and defined(__powerpc64__) used below (and also in altivec.h etc)?