Build failure on x86 linux: undefined reference to `__atomic_load'
Stephan Bergmann
sbergman at redhat.com
Thu Oct 14 07:44:02 UTC 2021
On 13/10/2021 18:49, Luke Benes wrote:
> I can successfully build LO on i686 with
> LDFLAGS="-latomic"
>
> This is overkill. I think patch is needed for the cuckoo module that you added in https://cgit.freedesktop.org/libreoffice/core/commit/?id=3749d9af3745
> for IA-32 clang. I attempted to do this but I'm not family with how this patching/external system works. If you could give me some tips or something to try, I'd be happy to test it out for you.
In RepositoryExternal.mk's !SYSTEM_CPPUNIT definition of
gb_LinkTarget__use_cuckoo_headers, you'll probably need something like
$(call gb_LinkTarget_add_libs,$(1),-latomic)
properly if'ed for your specific i686 case.
More information about the LibreOffice
mailing list