On 11/02/19 12:14 +0100, Florian Weimer wrote:
- Jonathan Wakely:
On 08/02/19 19:56 -0600, Patrick Diehl wrote:
Hi,
I maintain the hpx package and it uses std:atomic and when I install gcc-c++ it seems that libatomic is not a dependency of the gcc-c++ package. My program fails, because it can not link against libatomic. Is this the supposed behavior to install libatomic or should libatomic become one of the dependencies of gcc-c++?
Not all C++ programs need libatomic. If hpx needs it, I think you should require it explicitly.
Not all C++ programs need libstdc++ or librt. Yet both are available by default.
True.
What's the benefit of not installing libatomic as a dependency of gcc-c++?
None that I know of. It would mean that certain things Just Workâ˘.