On Sun, Dec 17, 2023 at 12:18 PM Jerry James <loganje...@gmail.com> wrote:
> With some architecture/gcc combinations, you have to link with
> -latomic to get access to the 128-bit atomic functions.  Upstream's
> configure script assumes those functions are builtin or not present at
> all.  They need to check for a 3rd possibility: that they are present
> in libatomic.

It looks like you will need to add "atomic" to the
target_link_libraries invocations at lines 1318 and 1323 of
CMakeLists.txt.  You will also need to change qemu/configure so that
the compile_prog invocations at lines 1831, 1846, and 1876 read:

if compile_prog "" "-latomic" ; then

You should probably add "BuildRequires: libatomic" as well, just to be
sure it is installed.
-- 
Jerry James
http://www.jamezone.org/
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to