[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #30491 [Applications/Tor Browser]: Move our macOS builds to Debian Stretch



#30491: Move our macOS builds to Debian Stretch
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, ff68-esr,                   |  Actual Points:
  TorBrowserTeam201905                           |
Parent ID:  #30323                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by gk):

 * cc: dcf, cohosh (added)


Comment:

 Everything seems to compile fine (with similar small changes as those for
 Windows). However, `snowflake` is failing now:
 {{{
  0.44 host link: "/var/tmp/dist/macosx-toolchain/clang/bin/clang++" "-m64"
 "-Wl,-headerpad,1144" "-Wl,-no_pie" "-Wl,-pagezero_size,4000000" "-o"
 "/tmp/go-build136535071/b001/exe/a.out" "-Qunused-arguments" "-Wl
 ,--compress-debug-sections=zlib-gnu" "/var/tmp/go-link.tmpdir/go.o"
 "/var/tmp/go-link.tmpdir/000000.o" "/var/tmp/go-link.tmpdir/000001.o"
 "/var/tmp/go-link.tmpdir/000002.o" "/var/tmp/go-link.tmpdir/000003.o"
 "/var/tmp/go-link.tmpdir/000004.o" "/var/tmp/go-link.tmpdir/000005.o"
 "/var/tmp/go-link.tmpdir/000006.o" "/var/tmp/go-link.tmpdir/000007.o"
 "/var/tmp/go-link.tmpdir/000008.o" "/var/tmp/go-link.tmpdir/000009.o"
 "/var/tmp/go-link.tmpdir/000010.o" "/var/tmp/go-link.tmpdir/000011.o"
 "/var/tmp/go-link.tmpdir/000012.o" "/var/tmp/go-link.tmpdir/000013.o"
 "/var/tmp/go-link.tmpdir/000014.o" "/var/tmp/go-link.tmpdir/000015.o"
 "/var/tmp/go-link.tmpdir/000016.o" "/var/tmp/go-link.tmpdir/000017.o"
 "/var/tmp/go-link.tmpdir/000018.o" "/var/tmp/go-link.tmpdir/000019.o"
 "/var/tmp/go-link.tmpdir/000020.o" "/var/tmp/go-link.tmpdir/000021.o"
 "/var/tmp/go-link.tmpdir/000022.o" "/var/tmp/go-link.tmpdir/000023.o"
 "/var/tmp/go-link.tmpdir/000024.o" "/var/tmp/go-link.tmpdir/000025.o"
 "/var/tmp/go-link.tmpdir/000026.o" "/var/tmp/go-link.tmpdir/000027.o"
 "-target" "x86_64-apple-darwin11" "-B" "/var/tmp/dist/macosx-
 toolchain/cctools/bin" "-isysroot" "/var/tmp/dist/macosx-toolchain/SDK/"
 "-stdlib=libc++" "-mmacosx-version-min=10.7" "-target" "x86_64-apple-
 darwin11" "-B" "/var/tmp/dist/macosx-toolchain/cctools/bin" "-isysroot"
 "/var/tmp/dist/macosx-toolchain/SDK/" "-stdlib=libc++" "-mmacosx-version-
 min=10.7" "-L/var/tmp/dist/gopath/src/github.com/keroserene/go-webrtc/lib"
 "-L/var/tmp/dist/gopath/src/github.com/keroserene/go-webrtc/lib"
 "-lwebrtc-darwin-amd64-magic" "-framework" "AppKit" "-framework"
 "CoreAudio" "-framework" "AudioToolbox" "-target" "x86_64-apple-darwin11"
 "-B" "/var/tmp/dist/macosx-toolchain/cctools/bin" "-isysroot"
 "/var/tmp/dist/macosx-toolchain/SDK/" "-stdlib=libc++" "-mmacosx-version-
 min=10.7" "-lpthread" "-target" "x86_64-apple-darwin11" "-B"
 "/var/tmp/dist/macosx-toolchain/cctools/bin" "-isysroot" "/var/tmp/dist
 /macosx-toolchain/SDK/" "-stdlib=libc++" "-mmacosx-version-min=10.7"
 "-framework" "CoreFoundation" "-framework" "Security" "-target" "x86_64
 -apple-darwin11" "-B" "/var/tmp/dist/macosx-toolchain/cctools/bin"
 "-isysroot" "/var/tmp/dist/macosx-toolchain/SDK/" "-stdlib=libc++"
 "-mmacosx-version-min=10.7" "-nopie"
 /var/tmp/dist/go/pkg/tool/linux_amd64/link: running /var/tmp/dist/macosx-
 toolchain/clang/bin/clang++ failed: exit status 1
 ld: unknown option: --compress-debug-sections=zlib-gnu
 clang-3.9: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}
 Yes, `-Wl,--compress-debug-sections=zlib-gnu` was not an issue with Jessie
 as there binutils 2.25 got shipped, but that linker option got added to
 2.26. Stretch ships with binutils 2.28.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30491#comment:2>
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