Skip to content

About LLVM-embedded-toolchain-for-Arm atomic #648

Description

@W-M-R
ld.lld: error: undefined symbol: atomic_load
>>> referenced by spinlock.h:639 (nuttx/include/nuttx/spinlock.h:639)
>>>               serial.c.o:(rspin_lock) in archive drivers/libdrivers.a
>>> referenced by spinlock.h:639 (nuttx/include/nuttx/spinlock.h:639)
>>>               spinlock.c.o:(rspin_lock) in archive apps/testing/ostest/libapps_ostest.a
clang++: error: ld.lld command failed with exit code 1 (use -v to see invocation)

I encountered a compilation error when using clang18.1.3. Is it because the compiler does not support it? The link is bin/../lib/clang-runtimes/arm-none-eabi/armv8m.main_hard_fp_exn_rtti/lib/libclang_rt.builtins.a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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