Skip to content

Need for libatomic is correctly determined, but CMake cannot “find” it then, which breaks configure #453

Description

@barracuda156

libatomic test works now, but configuring breaks down:

:info:configure CMake Error at CMakeLists.txt:310 (message):
:info:configure   32-bit target detected (sizeof(void*) == 4).  aMule's download bandwidth
:info:configure   throttler holds the byte budget as std::atomic<int64_t>; 32-bit CPUs lack a
:info:configure   native 8-byte atomic and the operations expand to library calls
:info:configure   (__atomic_*_8) that live in libatomic.  libatomic was not found on this
:info:configure   system.  Install it and re-run cmake:
:info:configure     Debian/Ubuntu/Mint: libatomic1-dev
:info:configure     Fedora/RHEL/Rocky/Arch: libatomic
:info:configure     macOS/MacPorts: bundled with gcc; install gcc14+
:info:configure -- Configuring incomplete, errors occurred!

libatomic is an internal library of GCC, CMake should not “look for it”.

Earlier issue: amule-project#643

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions