Red Hat Bugzilla – Bug 615052
intrinsics and 64-bit atomics code fails to compile on PA-RISC
Last modified: 2015-01-04 18:43:20 EST
PA-RISC doesn't have instructions for atomic manipulation of 64-bit integers, so use pthread mutex to protect this code. That code is already there, we just need to make sure ATOMIC_64BIT_OPERATIONS is not set for PA-RISC.
Also, pragma INLINE for listing functions that should be inlined is not supported by PA-RISC's compiler. Using the __inline keyword works with both PA-RISC and IA64 compilers in ANSI C mode.
Created attachment 432218 [details]
Created attachment 476851 [details]
git patch file (master) -- applyed 432218: patch proposal to configure.ac and intrinsics.h
Note: configure has been regenerated with autogen.sh script on F-14.
Pushed to master on behalf of Ulf Weltman (email@example.com).
$ git merge 615052
configure | 3 ---
configure.ac | 1 -
ldap/servers/slapd/intrinsics.h | 7 +++----
3 files changed, 3 insertions(+), 8 deletions(-)
$ git push
Counting objects: 15, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 1.11 KiB, done.
Total 8 (delta 6), reused 0 (delta 0)
b7bf3cb..926d8cc master -> master