[tor-bugs] #25483 [Circumvention/Snowflake]: Windows reproducible build of snowflake

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 7 13:38:37 UTC 2019


#25483: Windows reproducible build of snowflake
-------------------------------------------------+-------------------------
 Reporter:  arlolra                              |          Owner:  cohosh
     Type:  project                              |         Status:
                                                 |  accepted
 Priority:  High                                 |      Milestone:
Component:  Circumvention/Snowflake              |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  TorBrowserTeam201805, ex-sponsor-19  |  Actual Points:
Parent ID:  #19001                               |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor28-can
-------------------------------------------------+-------------------------

Comment (by cohosh):

 I'm currently looking at compiling go-webrtc with mingw-w64/clang and I'm
 getting the following linking error:
 {{{
 # github.com/keroserene/go-webrtc
 lld-link: error: could not open liblibcmtd.a: No such file or directory
 lld-link: error: could not open liboldnames.a: No such file or directory
 lld-link: error: could not open liblibcpmtd.a: No such file or directory
 clang-8: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}
 It looks like we're trying to link some windows sdk libraries we don't
 have. But upon searching for these libraries, the only references I can
 find are in the following files:
 {{{
 $ grep -r "oldnames" .
 Binary file ./mingw-w64-clang/bin/clang-refactor matches
 Binary file ./mingw-w64-clang/bin/x86_64-w64-mingw32-widl matches
 Binary file ./mingw-w64-clang/bin/clang-rename matches
 Binary file ./mingw-w64-clang/bin/clang-check matches
 Binary file ./mingw-w64-clang/bin/clang-8 matches
 Binary file ./mingw-w64-clang/bin/diagtool matches
 Binary file ./mingw-w64-clang/bin/c-index-test matches
 Binary file ./mingw-w64-clang/bin/clang-func-mapping matches
 Binary file ./mingw-w64-clang/lib/libclang.so.8 matches
 Binary file ./mingw-w64-clang/lib/libclangDriver.a matches
 }}}
 with lines like {{{--dependent-lib=oldnames}}}.

 Is this a bug in mingw-w64/clang? I can't find `oldnames.a` anywhere,
 though found `oldnames.lib` in the project `win_sdk`.

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


More information about the tor-bugs mailing list