Discussion:
atexit not found
Stephen Kirby
2018-01-12 18:22:51 UTC
Permalink
hello,
Trying to compile C code for ARM using NDK r15c branch with the platform
being android-26. When I link in libc.a from this branch I get "atexit not
found". I did some searching and have seen others with this issue leading
to an indication that it was to be added to libc.a, but not seeing it
there. I could look at earlier android platforms (< 26) or write a "dummy
atexit" function. Any suggestions welcome.
TIA,
Steve
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/63815f82-131f-4f33-8b70-1cef3dade6e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Stephen Kirby
2018-01-13 20:23:10 UTC
Permalink
Was wondering - is it possible to get the atexit() function added to ndk
r15c, android-26? Seems like a better option than me trying to come up
with a dummy version. Thanks.
--Steve
Post by Stephen Kirby
hello,
Trying to compile C code for ARM using NDK r15c branch with the platform
being android-26. When I link in libc.a from this branch I get "atexit not
found". I did some searching and have seen others with this issue leading
to an indication that it was to be added to libc.a, but not seeing it
there. I could look at earlier android platforms (< 26) or write a "dummy
atexit" function. Any suggestions welcome.
TIA,
Steve
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Dan Albert' via android-ndk
2018-01-13 23:02:33 UTC
Permalink
https://github.com/android-ndk/ndk/issues/272
Post by Stephen Kirby
Was wondering - is it possible to get the atexit() function added to ndk
r15c, android-26? Seems like a better option than me trying to come up
with a dummy version. Thanks.
--Steve
Post by Stephen Kirby
hello,
Trying to compile C code for ARM using NDK r15c branch with the platform
being android-26. When I link in libc.a from this branch I get "atexit not
found". I did some searching and have seen others with this issue leading
to an indication that it was to be added to libc.a, but not seeing it
there. I could look at earlier android platforms (< 26) or write a "dummy
atexit" function. Any suggestions welcome.
TIA,
Steve
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/
msgid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhupPouTqsM1f6Tf23Sf_d%2B2HQDrMZWGexALtVX86BUD6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Stephen Kirby
2018-01-15 20:07:03 UTC
Permalink
Dan,

Thanks for that info. Based on the page you referenced I saw a milestone
of r17. Is that when libc.a would have atexit included? (note: I have not
checked the latest version 16b.)

TIA,
Steve
Post by Stephen Kirby
Was wondering - is it possible to get the atexit() function added to ndk
r15c, android-26? Seems like a better option than me trying to come up
with a dummy version. Thanks.
--Steve
Post by Stephen Kirby
hello,
Trying to compile C code for ARM using NDK r15c branch with the platform
being android-26. When I link in libc.a from this branch I get "atexit not
found". I did some searching and have seen others with this issue leading
to an indication that it was to be added to libc.a, but not seeing it
there. I could look at earlier android platforms (< 26) or write a "dummy
atexit" function. Any suggestions welcome.
TIA,
Steve
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/90bf9661-6321-4922-8981-7662eee27d65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Dan Albert' via android-ndk
2018-01-16 18:37:30 UTC
Permalink
Yes, assuming my guess is correct and that bug is the cause of the issue.
Post by Stephen Kirby
Dan,
Thanks for that info. Based on the page you referenced I saw a milestone
of r17. Is that when libc.a would have atexit included? (note: I have not
checked the latest version 16b.)
TIA,
Steve
Post by Stephen Kirby
Was wondering - is it possible to get the atexit() function added to ndk
r15c, android-26? Seems like a better option than me trying to come up
with a dummy version. Thanks.
--Steve
Post by Stephen Kirby
hello,
Trying to compile C code for ARM using NDK r15c branch with the
platform being android-26. When I link in libc.a from this branch I get
"atexit not found". I did some searching and have seen others with this
issue leading to an indication that it was to be added to libc.a, but not
seeing it there. I could look at earlier android platforms (< 26) or write
a "dummy atexit" function. Any suggestions welcome.
TIA,
Steve
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/
msgid/android-ndk/90bf9661-6321-4922-8981-7662eee27d65%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/90bf9661-6321-4922-8981-7662eee27d65%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhvYxNh9aRxMDgd3NUxA0KOj-PqjjAZ_PbG89xR2Y8WdQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Stephen Kirby
2018-01-16 23:59:18 UTC
Permalink
OK thanks - that's good to hear libc.a will be updated in r17 :>
Post by 'Dan Albert' via android-ndk
Yes, assuming my guess is correct and that bug is the cause of the issue.
Post by Stephen Kirby
Dan,
Thanks for that info. Based on the page you referenced I saw a milestone
of r17. Is that when libc.a would have atexit included? (note: I have not
checked the latest version 16b.)
TIA,
Steve
Post by Stephen Kirby
Was wondering - is it possible to get the atexit() function added to
ndk r15c, android-26? Seems like a better option than me trying to come up
with a dummy version. Thanks.
--Steve
Post by Stephen Kirby
hello,
Trying to compile C code for ARM using NDK r15c branch with the
platform being android-26. When I link in libc.a from this branch I get
"atexit not found". I did some searching and have seen others with this
issue leading to an indication that it was to be added to libc.a, but not
seeing it there. I could look at earlier android platforms (< 26) or write
a "dummy atexit" function. Any suggestions welcome.
TIA,
Steve
--
You received this message because you are subscribed to the Google
Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/b2b46493-5287-496f-984a-e989113dc010%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/90bf9661-6321-4922-8981-7662eee27d65%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/90bf9661-6321-4922-8981-7662eee27d65%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/adae26d4-0fe4-419c-bbe7-d0e91871964d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...