Re-enable rlbox
Using !327 (closed) the build fails with the following error:
45:29.57 security/rlbox/CmapCache.wasm
45:29.57 /var/tmp/dist/clang/bin/clang++ --target=wasm32-wasi --sysroot=/var/tmp/dist/wasi-sysroot/share/wasi-sysroot -o GraphiteExtra.wasm -c -I/var/tmp/build/firefox-4
2b4bccb4803/security/rlbox -I/var/tmp/build/firefox-42b4bccb4803/obj-x86_64-pc-linux-gnu/security/rlbox -I/var/tmp/build/firefox-42b4bccb4803/gfx/graphite2/src -I/var/tm
p/build/firefox-42b4bccb4803/media/libogg -I/var/tmp/build/firefox-42b4bccb4803/obj-x86_64-pc-linux-gnu/dist/include -I/var/tmp/build/firefox-42b4bccb4803/obj-x86_64-pc-
linux-gnu/dist/include/nspr -I/var/tmp/build/firefox-42b4bccb4803/obj-x86_64-pc-linux-gnu/dist/include/nss -g -Os -fno-omit-frame-pointer -funwind-tables -fno-exceptions
-fno-strict-aliasing -Qunused-arguments -DNDEBUG=1 -DTRIMMED=1 -DMOZILLA_CLIENT '-DPACKAGE_VERSION="moz"' '-DPACKAGE_BUGREPORT="http://bugzilla.mozilla.org/"' -DGRAPHIT
E2_STATIC -DGRAPHITE2_NFILEFACE -DGRAPHITE2_NTRACING -DGRAPHITE2_NSEGCACHE -fexperimental-new-pass-manager -MD -MP -MF .deps/GraphiteExtra.wasm.pp /var/tmp/build/firef
ox-42b4bccb4803/gfx/graphite2/geckoextra/src/GraphiteExtra.cpp
45:29.58 In file included from /var/tmp/build/firefox-42b4bccb4803/gfx/graphite2/geckoextra/src/GraphiteExtra.cpp:7:
45:29.58 In file included from /var/tmp/build/firefox-42b4bccb4803/obj-x86_64-pc-linux-gnu/dist/include/graphite2/Font.h:29:
45:29.58 In file included from /var/tmp/build/firefox-42b4bccb4803/obj-x86_64-pc-linux-gnu/dist/include/graphite2/Types.h:29:
45:29.58 In file included from /var/tmp/dist/wasi-sysroot/share/wasi-sysroot/include/c++/v1/stddef.h:39:
45:29.58 /var/tmp/dist/wasi-sysroot/share/wasi-sysroot/include/c++/v1/__config:1209:2: error: _LIBCPP_HAS_NO_THREADS cannot be set when __STDCPP_THREADS__ is set.
45:29.58 #error _LIBCPP_HAS_NO_THREADS cannot be set when __STDCPP_THREADS__ is set.
45:29.58 ^
45:29.88 1 error generated.
45:29.89 /var/tmp/build/firefox-42b4bccb4803/config/rules.mk:679: recipe for target 'GraphiteExtra.wasm' failed
45:29.89 make[4]: *** [GraphiteExtra.wasm] Error 1
45:29.89 make[4]: Leaving directory '/var/tmp/build/firefox-42b4bccb4803/obj-x86_64-pc-linux-gnu/security/rlbox'
45:29.89 /var/tmp/build/firefox-42b4bccb4803/config/recurse.mk:72: recipe for target 'security/rlbox/target' failed
45:29.89 make[3]: *** [security/rlbox/target] Error 2
45:29.89 make[3]: *** Waiting for unfinished jobs....
I think we will temporarily disable rlbox to fix this error and have mozilla91 nightly builds. And we should re-enable rlox later.
While re-enabling it we should also switch from from lucetc
to wasm2c
, as @gk suggested in !333 (comment 2748166).
Edited by boklm