[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 16:19:21 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 dcf):
I'll bet those missing symbols are caused by an ABI mismatch. Notice how
all of them include `std::string` in the method signature. Chances are,
the library you built uses `std::__cxx11::basic_string` instead of
`std::string`. You can check with `nm --demangle libwebrtc.a | grep
CreateIceCandidate`.
The fix may be to add `-D_GLIBCXX_USE_CXX11_ABI=1` to `CGO_CXXFLAGS` when
building snowflake. For example, see comment:14:ticket:27827.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28205#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list