[tbb-bugs] #28238 [Applications/Tor Browser]: Use mingw-w64/clang toolchain to build Firefox

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 1 06:55:02 UTC 2019


#28238: Use mingw-w64/clang toolchain to build Firefox
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  High                                 |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, GeorgKoppen201901,          |  Actual Points:
  TorBrowserTeam201901                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by fxc2):

 Replying to [comment:12 gk]:
 > So, I have been fighting today with building the whole Firefox related
 part (including `fxc2`) without the old mingw-w64/gcc-based toolchain.
 No, no, don't fight with it! The new tool chain is much more sane. And it
 will make you happy.
 > `fxc2` does not want and I don't know why yet. It fails to run with
 things like
 > {{{
 >  0:03.01 err:module:import_dll Library api-ms-win-crt-convert-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.01 err:module:import_dll Library api-ms-win-crt-heap-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.01 err:module:import_dll Library api-ms-win-crt-private-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.01 err:module:import_dll Library api-ms-win-crt-runtime-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.01 err:module:import_dll Library api-ms-win-crt-stdio-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.02 err:module:import_dll Library api-ms-win-crt-string-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.02 err:module:import_dll Library api-ms-win-crt-
 environment-l1-1-0.dll (which is needed by
 L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.02 err:module:import_dll Library api-ms-win-crt-math-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.02 err:module:import_dll Library api-ms-win-crt-time-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.03 err:module:import_dll Library api-ms-win-crt-locale-l1-1-0.dll
 (which is needed by L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe") not found
 >  0:03.03 err:module:LdrInitializeThunk Main exe initialization for
 L"Z:\\var\\tmp\\dist\\fxc2\\bin\\fxc2.exe" failed, status c0000135
 > }}}
 Do you have wine with ucrt? FWIW, wine 4.0 is out.
 > I need to look closer at the way this is built on Mozilla infra tomorrow
 where this seems to be working.
 They use https://hg.mozilla.org/mozilla-
 central/file/tip/taskcluster/scripts/misc/build-wine.sh

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


More information about the tbb-bugs mailing list