[tor-bugs] #28205 [Obfuscation/Snowflake]: linking against other libwebrtc binaries errors out on missing symbols

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 20 14:43:46 UTC 2018


#28205: linking against other libwebrtc binaries errors out on missing symbols
-----------------------------------+---------------------------
 Reporter:  eighthave              |          Owner:  eighthave
     Type:  defect                 |         Status:  accepted
 Priority:  Medium                 |      Milestone:
Component:  Obfuscation/Snowflake  |        Version:
 Severity:  Major                  |     Resolution:
 Keywords:  android                |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+---------------------------

Comment (by eighthave):

 @dcf we can't build the application with Go, e.g. `gomobile build`, since
 we need a component that runs either as an executable or a shared library.
 That can then be integrated with Orbot, Tor Browser for Android, etc.

 I just realized, perhaps this wasn't clear before, that the current issues
 are when running `gomobile bind` for snowflake, not go-webrtc.

 Regarding `package main`, I think the snowflake code should isolate the
 usage of `package main` to only the file where it is required.  That makes
 the rest of the code much easier to reuse for Android.

 In any case, I'm trying to get it building with `gomobile build` to see if
 there are other issues.  So far so good, looks like I just need to sort
 out the paths to the static libbray binary I built:

 https://gitlab.com/eighthave/snowflake/-/jobs/122992936

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


More information about the tor-bugs mailing list