[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #19001 [Obfuscation/Snowflake]: Tor Browser with Snowflake
#19001: Tor Browser with Snowflake
-----------------------------------+---------------------
Reporter: dcf | Owner:
Type: project | Status: new
Priority: Medium | Milestone:
Component: Obfuscation/Snowflake | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------------+---------------------
Comment (by dcf):
I at last got libwebrtc built for mac and snowflake linking to it. Does it
work? I don't know! I don't have access to a Mac just now.
https://gitweb.torproject.org/user/dcf/tor-browser-bundle.git/log/?h
=snowflake-mac-1
https://people.torproject.org/~dcf/pt-
bundle/snowflake/20160806-6.5a1-965e0daa7d59/
The repository history is a complete disaster, but I decided to just push
it as it is to a side branch and we can clean it up later. We'll have to
do a huge rebase anyway before merging to master. Here's
[https://gitweb.torproject.org/user/dcf/tor-browser-bundle.git/diff/?h
=snowflake-mac-1&id2=a83d3993eebbad215a81b991918b22bb3ca9bcef the diff]
relative to the last working linux build.
At a high level, the main major changes are 1) using clang and libc++ to
build libwebrtc, and 2) factoring out a separate gitian-webrtc.yml
descriptor. These changes I'll probably port back to the linux descriptor.
About the various other necessary hacks, the best thing I can say is they
are finite in number. There was one
[https://llvm.org/bugs/show_bug.cgi?id=28831 straight-up bug in CMake]
that I reported upstream. I had to do some finessing of CFLAGS et al.
because our clang and 10.7 SDK are a little older than what the build
script expect. The build really expects you to be doing Mac builds using
Xcode and I had to work around that assumption in a number of places,
including a little bit of rewriting of ninja files. The biggest and
ugliest part is [https://gitweb.torproject.org/user/dcf/tor-browser-
bundle.git/tree/gitian/patches/webrtc-mac.patch?h=snowflake-mac-1 this
patch] that gets applied directly to the webrtc sources.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19001#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs