[tor-bugs] #22105 [- Select a component]: define a more generic LIBFUZZER = ... in Makefile.in

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Apr 30 14:26:06 UTC 2017


#22105: define a more generic LIBFUZZER = ... in Makefile.in
--------------------------------------+-----------------
     Reporter:  toralf                |      Owner:
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |   Reviewer:
      Sponsor:                        |
--------------------------------------+-----------------
 The current value
 {{{
 LIBFUZZER = /home/nickm/build/libfuzz/libFuzzer.a
 }}}
 isn't portable enough IMO.
 BTW if I configure the sources (with clang 3.9.1):
 {{{
 CC="clang" ./configure --config-cache --enable-expensive-hardening
 --enable-libfuzzer
 }}}
 then I run during make into
 {{{
 $ make
 make  all-am
 make[1]: Entering directory '/home/tfoerste/devel/tor'
   AR       src/ext/keccak-tiny/libkeccak-tiny.a
   AR       src/trunnel/libor-trunnel.a
   CC       src/ext/trunnel/src_trunnel_libor_trunnel_testing_a-trunnel.o
 clang-3.9: error: unsupported argument 'trace-pc-guard' to option
 'fsanitize-coverage='
 clang-3.9: error: unsupported argument 'trace-div' to option 'fsanitize-
 coverage='
 make[1]: *** [Makefile:7704: src/ext/trunnel
 /src_trunnel_libor_trunnel_testing_a-trunnel.o] Error 1
 make[1]: Leaving directory '/home/tfoerste/devel/tor'
 make: *** [Makefile:3044: all] Error 2
 }}}
 at a stable (hardened) Gentoo Linux.

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


More information about the tor-bugs mailing list