|
|||||||||||
Technical Support Support Resources
Product Information |
ARMCLANG: L6218E: Undefined Symbol __aeabi_assertInformation in this knowledgebase article applies to:
SYMPTOMBuilding a project using Arm Compiler 6 (or Arm Compiler 5 ) produces this linker error: Error: L6218E: Undefined symbol __aeabi_assert (referred from *.o) CAUSEThe "Error: L6218E: Undefined symbol __aeabi_assert..." could occur if under Project -> Options for Target -> on the Target tab - Use MicroLIB is selected.
Microlib is a separate smaller library than the ARM standard C library. To save size the Arm MicroLIB C library does not support or implement almost all functions that interact with an operating system, e.g., functions such as abort(), exit(), or assert(). RESOLUTIONThere are several options to resolve this issue:
After modifying, rebuild the project to have it take effect. STATUSA future release of Arm MicroLIB C library might add support for assert(). MORE INFORMATION
SEE ALSO
Last Reviewed: Thursday, October 29, 2020 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.