[tor-bugs] #19821 [Core Tor/Tor]: --expensive-hardening makes configure check for curve25519-donna-c64 to fail

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 3 17:20:45 UTC 2016


#19821: --expensive-hardening makes configure check for curve25519-donna-c64 to
fail
------------------------------+--------------------------
     Reporter:  yurivict271   |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: 0.2.8.6
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------
 On FreeBSD 10.3 the error message is:

 {{{
 # cc -o conftest -O2 -pipe  -fstack-protector -fno-strict-aliasing -static
 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer
 -fasynchronous-unwind-tables  -Is
 rc/common  -Wl,-rpath,/usr/local/lib -fstack-protector x.c -lpthread
 -lexecinfo
 /tmp/x-85cb71.o: In function `asan.module_ctor':
 x.c:(.text+0x65): undefined reference to `__asan_init_v3'
 cc: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

 Another failure in configure phase 'checking size of int8_t... 0' makes it
 to fail entirely.

 Sanitizer options are causing this.

 expensive-hardening isn't normally enabled by the port. I tried to enable
 it and ran into this problem.

 To reproduce: in FreeBSD port security/tor add this line 'CONFIGURE_ARGS
 +=--enable-expensive-hardening' and run make.

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


More information about the tor-bugs mailing list