Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

Cross-Compile Esr68 on Ubuntu for Windows with WebRTC Enabled

29 Aufrufe
Direkt zur ersten ungelesenen Nachricht

oceanl

ungelesen,
20.07.2020, 20:12:3720.07.20
an
Cross-Compile Esr68 on Ubuntu for Windows with WebRtc Enabled

Hi,

I have applied patches and made changes following the set of bugs listed here:

https://bugzilla.mozilla.org/show_bug.cgi?id=1393901
1393795, 1393897, 1393903, 1393906, 1412488, 1412489, 1412491, 1412492, 1412612, 1412613, 1412614, 1412619, 1460631
1393896, 1393905, 1412490, 1412618

https://bugzilla.mozilla.org/show_bug.cgi?id=1412613
https://hg.mozilla.org/mozreview/gecko/rev/0e702c5a0086c02fba0ca84c15b1e267fea13e02#index_header
https://bugzilla.mozilla.org/show_bug.cgi?id=1412614

I receive this error:

4:24.87 make[4]: Entering directory '/home/oceanl/mozilla-source/current/objdir-current-mingw64/dom/media/fake-cdm'
4:24.87 dom/html/Unified_cpp_dom_html2.o
4:24.87 In file included from /home/oceanl/mozilla-source/current/objdir-current-mingw64/netwerk/ipc/Unified_cpp_netwerk_ipc0.cpp:47:
4:24.87 In file included from /home/oceanl/mozilla-source/current/netwerk/ipc/SocketProcessBridgeChild.cpp:12:
4:24.87 In file included from /home/oceanl/mozilla-source/current/objdir-current-mingw64/ipc/ipdl/_ipdlheaders/mozilla/dom/PMediaTransportChild.h:24:
4:24.87 In file included from /home/oceanl/mozilla-source/current/objdir-current-mingw64/dist/include/mozilla/media/webrtc/WebrtcIPCTraits.h:14:
4:24.87 In file included from /home/oceanl/mozilla-source/current/objdir-current-mingw64/dist/include/mtransport/transportlayerdtls.h:15:
4:24.87 /home/oceanl/mozilla-source/current/objdir-current-mingw64/dist/include/mtransport/sigslot.h:119:12: fatal error: 'pthread.h' file not found
4:24.87 # include <pthread.h>


1) Does anyone have any ideas on the error or have cross-compiled Esr68 on Linux for Windows successfully with WebRTC Enabled?

2) Also in this scenario is WEBRTC_POSIX being used and not WEBRTC_WIN ?



tri...@mozilla.com

ungelesen,
27.07.2020, 11:17:5027.07.20
an
On Monday, July 20, 2020 at 7:12:37 PM UTC-5, oceanl wrote:
> 1) Does anyone have any ideas on the error or have cross-compiled Esr68 on Linux for Windows successfully with WebRTC Enabled?

Assuming you're using MinGW; and not the MSFT toolchain - no, we've never gotten WebRTC building in this way. 1393901 was tracking progress, but is very very out of date. At this point 68 is so out of date I wouldn't recommend doing it there and instead shifting to either 78 or -central.

-tom

oceanl

ungelesen,
27.07.2020, 15:02:5227.07.20
an
Hi Tom,
You reference the MSFT toolchain.

How is a cross-compile build for Windows on Linux done using the MSFT toolchain done with Esr78 ?

I see a target linux64-clang-9-win-cross in taskcluster/ci/toolchain/clang.yml that references the script build-clang-linux-win-cross.sh.

But no other references ?

thanks



tri...@mozilla.com

ungelesen,
28.07.2020, 10:37:2428.07.20
an
On Monday, July 27, 2020 at 2:02:52 PM UTC-5, oceanl wrote:
> How is a cross-compile build for Windows on Linux done using the MSFT toolchain done with Esr78 ?
>
> I see a target linux64-clang-9-win-cross in taskcluster/ci/toolchain/clang.yml that references the script build-clang-linux-win-cross.sh.

I'm not very familiar with these jobs; but we deployed them recently in https://bugzilla.mozilla.org/show_bug.cgi?id=1620165 - so following one of those jobs at https://searchfox.org/mozilla-central/rev/c6676771df58c6e0098574bc6b11517acbf264cf/taskcluster/ci/build/windows.yml#67 would be how we do it. It does require the MSFT toolchain which cannot be redistributed (one needs to obtain it from MSFT and sign the necessarily EULAs)

-tom
0 neue Nachrichten