Include __mulodi4 in libor_ctime when it fixes clang -m32 -ftrapv

We use a pretty specific pair of autoconf tests here to make sure
that we only add this code when:
   a) a 64-bit signed multiply fails to link,
 AND
   b) the same 64-bit signed multiply DOES link correctly when
      __mulodi4 is defined.

Closes ticket 19079.
This commit is contained in:
Nick Mathewson
2016-05-18 09:44:05 -04:00
parent 33034600c2
commit 6d6c8287d5
3 changed files with 51 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor features (build):
- Detect and work around a libclang_rt problem that prevents clang from
finding __mulodi4() on some 32-bit platforms. This clang bug would keep
-ftrapv from linking on those systems. Closes ticket 19079.