Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 571228 | Differences between
and this patch

Collapse All | Expand All

(-)openmp-5.0.1.src.orig/runtime/src/kmp_affinity.h (+14 lines)
Lines 195-200 Link Here
195
#error Wrong code for getaffinity system call.
195
#error Wrong code for getaffinity system call.
196
#endif /* __NR_sched_getaffinity */
196
#endif /* __NR_sched_getaffinity */
197
#elif KMP_ARCH_X86_64
197
#elif KMP_ARCH_X86_64
198
#if __ILP32__
199
#define __X32_SYSCALL_BIT 0x40000000
200
#ifndef __NR_sched_setaffinity
201
#define __NR_sched_setaffinity  (__X32_SYSCALL_BIT + 203)
202
#elif __NR_sched_setaffinity != (__X32_SYSCALL_BIT + 203)
203
#error Wrong code for setaffinity system call.
204
#endif /* __NR_sched_setaffinity */
205
#ifndef __NR_sched_getaffinity
206
#define __NR_sched_getaffinity  (__X32_SYSCALL_BIT + 204)
207
#elif __NR_sched_getaffinity != (__X32_SYSCALL_BIT + 204)
208
#error Wrong code for getaffinity system call.
209
#endif /* __NR_sched_getaffinity */
210
#else
198
#ifndef __NR_sched_setaffinity
211
#ifndef __NR_sched_setaffinity
199
#define __NR_sched_setaffinity 203
212
#define __NR_sched_setaffinity 203
200
#elif __NR_sched_setaffinity != 203
213
#elif __NR_sched_setaffinity != 203
Lines 205-210 Link Here
205
#elif __NR_sched_getaffinity != 204
218
#elif __NR_sched_getaffinity != 204
206
#error Wrong code for getaffinity system call.
219
#error Wrong code for getaffinity system call.
207
#endif /* __NR_sched_getaffinity */
220
#endif /* __NR_sched_getaffinity */
221
#endif
208
#elif KMP_ARCH_PPC64
222
#elif KMP_ARCH_PPC64
209
#ifndef __NR_sched_setaffinity
223
#ifndef __NR_sched_setaffinity
210
#define __NR_sched_setaffinity 222
224
#define __NR_sched_setaffinity 222
(-)v2/openmp-5.0.1.src/runtime/cmake/LibompMicroTests.cmake (+1 lines)
Lines 198-203 Link Here
198
    elseif(${INTEL64})
198
    elseif(${INTEL64})
199
      libomp_append(libomp_expected_library_deps libc.so.6)
199
      libomp_append(libomp_expected_library_deps libc.so.6)
200
      libomp_append(libomp_expected_library_deps ld-linux-x86-64.so.2)
200
      libomp_append(libomp_expected_library_deps ld-linux-x86-64.so.2)
201
      libomp_append(libomp_expected_library_deps ld-linux-x32.so.2)
201
    elseif(${ARM})
202
    elseif(${ARM})
202
      libomp_append(libomp_expected_library_deps libc.so.6)
203
      libomp_append(libomp_expected_library_deps libc.so.6)
203
      libomp_append(libomp_expected_library_deps libffi.so.6)
204
      libomp_append(libomp_expected_library_deps libffi.so.6)
(-)v2/openmp-5.0.1.src/runtime/src/kmp_os.h (-1 / +1 lines)
Lines 155-161 Link Here
155
#error "Can't determine size_t printf format specifier."
155
#error "Can't determine size_t printf format specifier."
156
#endif
156
#endif
157
157
158
#if KMP_ARCH_X86
158
#if KMP_ARCH_X86 || ( KMP_ARCH_X86_64 && __ILP32__ )
159
#define KMP_SIZE_T_MAX (0xFFFFFFFF)
159
#define KMP_SIZE_T_MAX (0xFFFFFFFF)
160
#else
160
#else
161
#define KMP_SIZE_T_MAX (0xFFFFFFFFFFFFFFFF)
161
#define KMP_SIZE_T_MAX (0xFFFFFFFFFFFFFFFF)

Return to bug 571228