OldManYellsAtCloud / meta-browser

OpenEmbedded/Yocto BSP layer for Web Browsers
MIT License
3 stars 1 forks source link

Scarthgap ESR 32-bit ARM: compilation fails #82

Closed OldManYellsAtCloud closed 7 months ago

OldManYellsAtCloud commented 7 months ago
2024-04-23T13:34:32.6669848Z 2024-04-23 15:34:30 - INFO     - |  6:12.16 error[E0432]: unresolved import `crate::prio::PRFileDesc`
2024-04-23T13:34:32.6670679Z 2024-04-23 15:34:30 - INFO     - |  6:12.16   --> /usr/src/debug/firefox/115.10.0esr/firefox-115.10.0/firefox-build-dir/../../cargo_home/bitbake/nss-gk-api-0.2.1/src/ssl.rs:21:5
2024-04-23T13:34:32.6670908Z 2024-04-23 15:34:30 - INFO     - |  6:12.16    |
2024-04-23T13:34:32.6671301Z 2024-04-23 15:34:30 - INFO     - |  6:12.16 21 | use crate::prio::PRFileDesc;
2024-04-23T13:34:32.6671712Z 2024-04-23 15:34:30 - INFO     - |  6:12.16    |     ^^^^^^^^^^^^^^^^^^^^^^^ no `PRFileDesc` in `prio`
2024-04-23T13:34:32.6672203Z 2024-04-23 15:34:30 - INFO     - |  6:12.16 error[E0432]: unresolved import `crate::err::PRErrorCode`
2024-04-23T13:34:32.6673022Z 2024-04-23 15:34:30 - INFO     - |  6:12.16   --> /usr/src/debug/firefox/115.10.0esr/firefox-115.10.0/firefox-build-dir/../../cargo_home/bitbake/nss-gk-api-0.2.1/src/ssl.rs:24:9
2024-04-23T13:34:32.6673247Z 2024-04-23 15:34:30 - INFO     - |  6:12.16    |
2024-04-23T13:34:32.6673646Z 2024-04-23 15:34:30 - INFO     - |  6:12.16 24 |     use crate::err::PRErrorCode;

and so on

OldManYellsAtCloud commented 7 months ago

Looks like it is more related to the missing hw crypto engine, rather than 32-bitness

OldManYellsAtCloud commented 7 months ago

1 - It seems my env was dirty. Running do_clean before rebuilding made this error disappear. 2 - "Funnily" it brought out a new one:

| 14:01.65 In file included from Unified_cpp_libwebrtcglue0.cpp:74:
| 14:01.65 /home/gyuri/stuff/yocto/scarthgap/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/firefox/115.10.0esr/firefox-115.10.0/dom/media/webrtc/libwebrtcglue/WebrtcGmpVideoCodec.cpp:415:10: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'const unsigned int' in initializer list [-Wc++11-narrowing-const-reference]
| 14:01.65   415 |         {frame->Timestamp(), {aInputImage.timestamp_us()}});
| 14:01.65       |          ^~~~~~~~~~~~~~~~~~

But this is now solved with a small patch.