You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "superxyxiao (via GitHub)" <gi...@apache.org> on 2024/08/14 06:37:13 UTC
[I] [HELP] prompts "undefined referenc to `_impure_prt`" [nuttx]
superxyxiao opened a new issue, #12907:
URL: https://github.com/apache/nuttx/issues/12907
### Description
I have to use nuttx version 8.2. Using libm in newlibc, the link prompts an "undefined referenc to `_impure_prt`" error when using the lagmma function. How can I solve this?
### Verification
- [X] I have verified before submitting the report.
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [HELP] prompts "undefined referenc to `_impure_prt`" [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 closed issue #12907: [HELP] prompts "undefined referenc to `_impure_prt`"
URL: https://github.com/apache/nuttx/issues/12907
--
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
Re: [I] [HELP] prompts "undefined referenc to `_impure_prt`" [nuttx]
Posted by "superxyxiao (via GitHub)" <gi...@apache.org>.
superxyxiao commented on issue #12907:
URL: https://github.com/apache/nuttx/issues/12907#issuecomment-2290485058
Thank you very much.
When calling log2() in protected build mode, the User.map file does not have log2() symbols and cannot compile the elf file. But log2() works fine in app.bin, How can I solve this?
gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (GNU Tools for Arm Embedded Processors 7-2018-q2-update)
--
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
Re: [I] [HELP] prompts "undefined referenc to `_impure_prt`" [nuttx]
Posted by "superxyxiao (via GitHub)" <gi...@apache.org>.
superxyxiao commented on issue #12907:
URL: https://github.com/apache/nuttx/issues/12907#issuecomment-2290686698
Using libm from newlib
--
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
Re: [I] [HELP] prompts "undefined referenc to `_impure_prt`" [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #12907:
URL: https://github.com/apache/nuttx/issues/12907#issuecomment-2290829815
do you add libm to the ld command line when you build user space bin?
--
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
Re: [I] [HELP] prompts "undefined referenc to `_impure_prt`" [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on issue #12907:
URL: https://github.com/apache/nuttx/issues/12907#issuecomment-2288838751
@superxyxiao it seems something used by newlibc reentrancy, see: https://embdev.net/topic/what-is-_impure_ptr
lagmma is not part of NuttX libc yet
--
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
Re: [I] [HELP] prompts "undefined referenc to `_impure_prt`" [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #12907:
URL: https://github.com/apache/nuttx/issues/12907#issuecomment-2288855631
mainline already fix this problem: https://github.com/apache/nuttx/blob/master/libs/libc/misc/lib_impure.c
8.2 is very very old release, I would suggest you upgrade to the new release.
--
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
Re: [I] [HELP] prompts "undefined referenc to `_impure_prt`" [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on issue #12907:
URL: https://github.com/apache/nuttx/issues/12907#issuecomment-2290663829
which libm library are use using?
--
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