Barto22 commented on code in PR #17826: URL: https://github.com/apache/nuttx/pull/17826#discussion_r2681934478
########## arch/arm/src/cmake/gcc.cmake: ########## @@ -274,6 +274,11 @@ if(NOT CONFIG_CXX_RTTI) add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>) endif() +# Add -mlong-calls for C++ when using libcxx to fix relocation issues +if(CONFIG_LIBCXX) + add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-mlong-calls>) Review Comment: For now I resolved the problem and remove this flags, I will do further tests. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
