[tor-bugs] #17699 [Tor]: SHA512 extension test fails with clang

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 26 14:00:57 UTC 2015


#17699: SHA512 extension test fails with clang
------------------------+--------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  Medium  |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor     |    Version:  Tor: unspecified
     Severity:  Normal  |   Keywords:  TorCoreTeam201512
Actual Points:          |  Parent ID:
       Points:          |    Sponsor:
------------------------+--------------------------------
 The SHA512 extension test fails with:
 {{{
 crypto/sha:
   FAIL src/test/test_crypto.c:432: assert(d_out1 OP_EQ d_out2):
 DE642E63D5B73FC396C12BE38B2BD5D884257C32 vs
 17807C728EE3BA35E7CF7AF823116D26E41E5D4D
   [sha FAILED]
 }}}
 with x86_64 and i386 clang on OS X:
 {{{
 Apple LLVM version 7.0.0 (clang-700.1.76)
 }}}
 and x86_64 clang on Linux:
 {{{
 Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM
 3.4)
 }}}

 But gcc works fine on Linux:
 {{{
 gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17699>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list