[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 13 23:32:39 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):

 Replying to [comment:17 eighthave]:
 > Anyone know anything about **gn**?  I guess it is something from ninja
 or deploy_tools.  This is stumping me:
 Right, [https://gn.googlesource.com/gn/+/master/docs/quick_start.md gn]
 processes .gn and .gni files and outputs .ninja file. It's not actually
 part of depot_tools (depot_tools just contains a shim that calls the real
 gn binary), rather it's part of the webrtc source code, under
 src/tools/gn.

 > https://gitlab.com/eighthave/go-webrtc/-/jobs/119428248
 > {{{
 > + gn gen out/Release '--args=target_os="android" target_cpu="arm"
 is_debug=false use_custom_libcxx=false'
 > ERROR at //build/config/android/internal_rules.gni:122:23: Can't load
 input file.
 >             deps += [ "${_target_label}__build_config" ]
 >                       ^-------------------------------
 > }}}

 I haven't seen this error before. Maybe try omitting `target_cpu="arm"`? I
 only mention that because the
 [https://gn.googlesource.com/gn/+/bdb0fd02324b120cacde634a9235405061c8ea06/docs/cross_compiles.md
 gn cross compiles documentation] gives as an example
 {{{
 gn gen out/Default --args='target_os="android"'
 }}}
 and says: "(We don't have to specify target_cpu because of the
 conditionals mentioned above)." It seems unlikely that this will help, but
 I don't know.

 You can try using the gn
 [https://gn.googlesource.com/gn/+/master/docs/quick_start.md#print-
 debugging print command] to see what it's trying to access. Try:
 {{{
 print("${_target_label}__build_config")
 }}}

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


More information about the tor-bugs mailing list