← Commit list

9887f93ee

Denys Vlasenko
Denys Vlasenko
2017-07-15
SUCCESS Duration: 146s

Subject

tls: fix build problem on non-static i386

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/tls.h+3 -1
@@ -26,8 +26,10 @@
#undef USE_SEED
/* pstm: multiprecision numbers */
#undef DISABLE_PSTM
-#if defined(__GNUC__) && defined(__i386__)
+#if defined(__GNUC__) && defined(__i386__) && ENABLE_STATIC
/* PSTM_X86 works correctly. +25 bytes. */
+ /* Only enabled on static build since tls_pstm_mul_comba.c::MULADD
+ * and tls_pstm_sqr_comba.c::SQRADD2 need too many registers, choke when ebx is not available */
# define PSTM_32BIT
# define PSTM_X86
#endif