You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/09/24 06:29:39 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8244: LLVM libcxx upgrade from 12.0.0 to 15.0.7

xiaoxiang781216 commented on code in PR #8244:
URL: https://github.com/apache/nuttx/pull/8244#discussion_r1335131795


##########
tools/ci/testlist/arm-02.dat:
##########
@@ -1,4 +1,5 @@
 /arm/[i-k]*,CONFIG_ARM_TOOLCHAIN_GNU_EABI
+-sabre-6quad:libcxx

Review Comment:
   Yes, here is some finding.
   since linker can't find basic_string::~basic_string() oddly:
   ```
   arm-none-eabi-ld: /home/xiaoxiang/backup/os/nuttx/nuttx/staging/libxx.a(libcxx/src/locale.o): in function `__tcf_0':
   /home/xiaoxiang/backup/os/nuttx/nuttx/libs/libxx/libcxx/src/locale.cpp:4941: undefined reference to `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()'
   ````
   another fix is removing the follow code from _LIBCPP_STRING_V1_EXTERN_TEMPLATE_LIST and 
   _LIBCPP_STRING_UNSTABLE_EXTERN_TEMPLATE_LIST:
   _Func(_LIBCPP_FUNC_VIS basic_string<_CharType>::~basic_string()) \
   this error just happen on Cortex-A9, other arch(Cortex-M4, sim, xtensa and riscv) are fine.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org