[Webkit-unassigned] [Bug 222959] [CMake] Build fails on RISC-V with GCC 11
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 12 00:58:33 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222959
--- Comment #20 from Daniel Kolesa <dkolesa at igalia.com> ---
(In reply to Khem Raj from comment #13)
> (In reply to Daniel Kolesa from comment #12)
> > the test is not correct, the undefined reference was
> > `__atomic_compare_exchange_1` while the one you're testing is
> > `__atomic_fetch_add_1`
>
> yes, although I saw that none of 1byte ops were not available as builtins
> since the test was simple for __atomic_fetch_add_1, I went with it. but
> perhaps using __atomic_compare_exchange_1 for test would be more accurate.
well, the reason i'm saying this is mainly that IMO we should be testing for the functions that are actually missing from the build
gcc claims that the hardware support for less-than-4-byte-atomics is partial in risc-v, idk what it means in practice though (haven't looked into the cross-compiler output more deeply)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210312/212d1134/attachment-0001.htm>
More information about the webkit-unassigned
mailing list