[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 6 12:02:11 UTC 2018


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

Comment (by eighthave):

 Ok, little bits of progress to convey.  I now have libwebrtc repeatably
 building in gitlab-ci.  It probably downloads 10+ gigs of stuff, but it
 finishes in well under an hour, so it fits fine within the gitlab-ci
 limits.  I think I also have the pkgconfig stuff sorted out.  Based on the
 missing symbols, it looks pretty close, since there are only a few:

 https://gitlab.com/eighthave/go-webrtc/-/jobs/115105095
 {{{
 $ go vet .
 # _/builds/eighthave/go-webrtc
 /tmp/go-build887473965/b001/_x008.o: In function `CGO_DeserializeSDP':
 ./peerconnection.cc:379: undefined reference to
 `webrtc::JsepSessionDescription::JsepSessionDescription(std::string
 const&)'
 ./peerconnection.cc:382: undefined reference to
 `webrtc::SdpDeserialize(std::string const&,
 webrtc::JsepSessionDescription*, webrtc::SdpParseError*)'
 /tmp/go-build887473965/b001/_x008.o: In function `CGO_AddIceCandidate':
 ./peerconnection.cc:421: undefined reference to
 `webrtc::CreateIceCandidate(std::string const&, int, std::string const&,
 webrtc::SdpParseError*)'
 /tmp/go-build887473965/b001/_x008.o: In function `Peer::Initialize()':
 ./peerconnection.cc:57: undefined reference to
 `rtc::Thread::SetName(std::string const&, void const*)'
 ./peerconnection.cc:58: undefined reference to
 `rtc::Thread::SetName(std::string const&, void const*)'
 /tmp/go-build887473965/b001/_x008.o: In function `rtc::ArrayView<bool,
 -4711l>::ArrayView<bool>(bool*, unsigned long)':
 ././include/api/array_view.h:157: undefined reference to
 `rtc::FatalMessage::FatalMessage(char const*, int, std::string*)'
 /tmp/go-build887473965/b001/_x008.o: In function `rtc::ArrayView<int,
 -4711l>::ArrayView<int>(int*, unsigned long)':
 ././include/api/array_view.h:157: undefined reference to
 `rtc::FatalMessage::FatalMessage(char const*, int, std::string*)'
 collect2: error: ld returned 1 exit status
 }}}

 This is based on:
 {{{
 webrtc 88f5d9180eae78a6162cccd78850ff416eb82483
 go-webrtc a1272c08ab1d5ca154c6794ddc5f73d2e576fe1b (current HEAD)
 }}}

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


More information about the tor-bugs mailing list