Re: unicorn on s390x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 17, 2023 at 12:18 PM Jerry James <loganjerry@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux