[tor-bugs] #27273 [Core Tor/Tor]: ASan fails to link on Travis due to rustc and linker arguments

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 23 03:54:20 UTC 2018


#27273: ASan fails to link on Travis due to rustc and linker arguments
--------------------------+------------------------------------
 Reporter:  alexcrichton  |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  rust          |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 Some systems don't have bash installed. Do we require bash for other build
 steps?
 If not, we should list it as a dependency.

 Also, some distros install bash in /usr/local/bin, so we should use env to
 find it.

 Is there an argument that's the opposite of -nodefaultlibs? If so, we
 could add it to the command-line using any shell.
 There doesn't seem to be a -defaultlibs in gcc, although there may be some
 command-line code that gives every option a negated form.
 https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html

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


More information about the tor-bugs mailing list