#785654 ibatomic-ops-dev: switch to gcc atomic builtins on hppa/parisc architecture (with patch)

Package:
libatomic-ops-dev
Source:
libatomic-ops
Description:
A library for atomic operations (development files)
Submitter:
Helge Deller
Date:
2015-05-18 19:03:07 UTC
Severity:
normal
#785654#5
Date:
2015-05-18 19:00:25 UTC
From:
To:
On the hppa/parisc platform we would like to switch from hand-crafted atomic ops to the gcc atomic builtins which do come with gcc-4.9 and higher. Main motivations are:
1. The current implementation is not really SMP-safe (due to the problematic architecture itself). We implemented a kernel-helper which is called by the gcc builtin atomic ops and which really gives atomic locking on hppa now.
2. Many other debian packages fail to link in the additional archive files (from libatomic-ops package) which are needed on hppa. Switching to the gcc builtins does not require additional archive files, since everything comes with libgcc which is linked in anyway.

Please apply this patch for the next upload.

Thanks,
Helge