[Bug 13716] Broken Android NDK x86 builds with TLS due to triggered ASM code
bugzilla at busybox.net
bugzilla at busybox.net
Tue May 11 14:48:47 UTC 2021
https://bugs.busybox.net/show_bug.cgi?id=13716
--- Comment #9 from Chris Renshaw <osm0sis at outlook.com> ---
I was avoiding all the ASM with the following:
diff --git a/networking/tls.h b/networking/tls.h
index d4ac1bef8..07032477e 100644
--- a/networking/tls.h
+++ b/networking/tls.h
@@ -26,7 +26,7 @@
#undef USE_SEED
/* pstm: multiprecision numbers */
#undef DISABLE_PSTM
-#if defined(__GNUC__) && defined(__i386__)
+#if defined(__GNUC__) && defined(__i386__) && !defined(__ANDROID__)
/* PSTM_X86 works correctly. +25 bytes. */
# define PSTM_32BIT
# define PSTM_X86
Not sure how to avoid specific ASM statements and still ensure it'll overall
compile. Do I simply comment out one define at a time in the montgomery and
comba files?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list