arjav1528 commented on PR #18465:
URL: https://github.com/apache/nuttx/pull/18465#issuecomment-4005562158

   > > @arjav1528 C++ builds that use lib from toolchain will technically fail. 
Further investigation is required to provide a complete solution. See: [#18088 
(comment)](https://github.com/apache/nuttx/issues/18088#issuecomment-3971916561)
   > 
   > @arjav1528 I recommend you test xmc4800 nsh build in a docker container. 
You should face the issue I mentioned in the issue
   
   @trns1997  I tested the xmc4800nsh build inside the CI docker container, as 
per your sugggestion. the build fails, which confirms the issue which you 
identified.
   but the root cause is the bundled ARM toolchain in the image. main is the 
cstdlib and bits/stdabs.h which bypasses the nuttx's isystem and pulls in the 
toolchain's newlib stdlib.h direclty.
   the failure is not caused by cxx being in the include path, so my PR is not 
related to this issue, it will happen regardless of the PR's changes, since the 
conflict is b/w nuttx's stdlib and toolchain's stdlib
   btw I've attached the build logs in the PR description


-- 
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]

Reply via email to