Discussion:
Bug in file arm-linux-androideabi-g++.exe of ndk-r16b
mun24
2017-12-19 01:32:04 UTC
Permalink
file path:
sdk\ndk-bundle\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-g++.exe

I tried on mac and have same issue.
It crashes in inter-operation between assembly code and c code. If I
replace the same file with file of ndk version r15c then no crash

Also why __ANDROID_API__ variable in not set in unified headers. I
believe its value is set as per minSdkVersion, But it never changes what
ever is minSdkVersion. I have to manually set in stdio.h like
#define __ANDROID_API__ 19


Thanks
--
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/3e3461c7-6650-41ee-b758-8f2887f1258e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Dan Albert' via android-ndk
2017-12-19 20:50:59 UTC
Permalink
GCC is deprecated. No GCC bugs will be fixed.

Also why __ANDROID_API__ variable in not set in unified headers.
This is the job of the build system. Standalone toolchains also do it for
you, but only for Clang. This is documented at
https://android.googlesource.com/platform/ndk/+/master/docs/UnifiedHeaders.md
Post by mun24
sdk\ndk-bundle\toolchains\arm-linux-androideabi-4.9\
prebuilt\windows-x86_64\bin\arm-linux-androideabi-g++.exe
I tried on mac and have same issue.
It crashes in inter-operation between assembly code and c code. If I
replace the same file with file of ndk version r15c then no crash
Also why __ANDROID_API__ variable in not set in unified headers. I
believe its value is set as per minSdkVersion, But it never changes what
ever is minSdkVersion. I have to manually set in stdio.h like
#define __ANDROID_API__ 19
Thanks
--
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/3e3461c7-6650-41ee-b758-8f2887f1258e%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/3e3461c7-6650-41ee-b758-8f2887f1258e%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/CAFVaGhthO-GnbNfCT9WP3DV18M5UdXtekmgex%2BCeEOQjfmv4kA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
mun24
2017-12-20 21:18:53 UTC
Permalink
clang++.exe also has same issue.
Post by mun24
sdk\ndk-bundle\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-g++.exe
I tried on mac and have same issue.
It crashes in inter-operation between assembly code and c code. If I
replace the same file with file of ndk version r15c then no crash
Also why __ANDROID_API__ variable in not set in unified headers. I
believe its value is set as per minSdkVersion, But it never changes what
ever is minSdkVersion. I have to manually set in stdio.h like
#define __ANDROID_API__ 19
Thanks
--
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/02ac57a2-4526-4785-b9c8-a29922d89dad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Dan Albert' via android-ndk
2017-12-20 21:20:29 UTC
Permalink
Then you'll need to file a bug report. There's nothing actionable in your
original message.
Post by mun24
clang++.exe also has same issue.
Post by mun24
sdk\ndk-bundle\toolchains\arm-linux-androideabi-4.9\prebuilt
\windows-x86_64\bin\arm-linux-androideabi-g++.exe
I tried on mac and have same issue.
It crashes in inter-operation between assembly code and c code. If I
replace the same file with file of ndk version r15c then no crash
Also why __ANDROID_API__ variable in not set in unified headers. I
believe its value is set as per minSdkVersion, But it never changes what
ever is minSdkVersion. I have to manually set in stdio.h like
#define __ANDROID_API__ 19
Thanks
--
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/02ac57a2-4526-4785-b9c8-a29922d89dad%40googlegroups.com
<https://groups.google.com/d/msgid/android-ndk/02ac57a2-4526-4785-b9c8-a29922d89dad%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/CAFVaGhuUL7BZxRxO8mb3yVxzXYVirQt1V432JW5XKpB%3DwQ7yXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...