Re: Problem compiling firefox

From: Charlie Li <>
Date: Tue, 08 Feb 2022 16:11:10 UTC
Filippo Moretti wrote:
> /usr/local/bin/clang++13 -std=gnu++17 --target=wasm32-wasi 
> --sysroot=/usr/local/share/wasi-sysroot -o rlbox.wasm -Wl,--export-all 
> -Wl,--stack-first -Wl,-z,stack-size=262144 -Wl,--no-entry 
> -Wl,--growable-table ogg_alloc.wasm ogg_bitwise.wasm ogg_framing.wasm 
> xmlparse.wasm xmlrole.wasm xmltok.wasm wasm2c_sandbox_wrapper.wasm 
> mozHunspellRLBoxSandbox.wasm affentry.wasm affixmgr.wasm csutil.wasm 
> hashmgr.wasm hunspell.wasm phonet.wasm replist.wasm suggestmgr.wasm 
> GraphiteExtra.wasm CmapCache.wasm Code.wasm Collider.wasm 
> Decompressor.wasm Face.wasm FeatureMap.wasm FileFace.wasm Font.wasm 
> GlyphCache.wasm GlyphFace.wasm Intervals.wasm Justifier.wasm 
> NameTable.wasm Pass.wasm Position.wasm Segment.wasm Silf.wasm Slot.wasm 
> Sparse.wasm TtfUtil.wasm UtfCodec.wasm call_machine.wasm 
> gr_char_info.wasm gr_face.wasm gr_features.wasm gr_font.wasm 
> gr_logging.wasm gr_segment.wasm gr_slot.wasm json.wasm 
> RLBoxWOFF2Sandbox.wasm table_tags.wasm variable_length.wasm 
> woff2_common.wasm woff2_dec.wasm woff2_out.wasm 
> -lwasi-emulated-process-clocks
> wasm-ld: error: cannot open 
> /usr/local/llvm13/lib/clang/13.0.1/lib/wasi/libclang_rt.builtins-wasm32.a: 
> No such file or directory
> clang-13: error: linker command failed with exit code 1 (use -v to see 
> invocation)
Caused by a version mismatch after devel/llvm13 update, try this:

Charlie Li
…nope, still don't have an exit line.