Standalone builds are deprecated, switch to CMAKE_SOURCE_PATH=${WRKSRC}/runtimes and clean up unused cmake variables.
14.0.3 is the latest release but keep in sync with devel/llvm14.
Differential D35287
devel/wasi-libcxx: update to 14.0.6 vishwin on May 22 2022, 7:05 PM. Authored by Tags None Referenced Files
Details
Standalone builds are deprecated, switch to CMAKE_SOURCE_PATH=${WRKSRC}/runtimes and clean up unused cmake variables. 14.0.3 is the latest release but keep in sync with devel/llvm14. Results in functional gecko ports, allows LTO to work again. With correspondingly updated wasi- ports of course.
Diff Detail
Event TimelineComment Actions `Missing license file for LLVM2 in /wrkdirs/usr/ports/devel/wasi-libcxx/work/llvm-project-14.0.6.src/LICENSE.TXT` Comment Actions After pointing to a license file, fails to build in clean 13.1/amd64 jail and clean ports 949904de1fdf + all the last revisions in stack: /usr/local/bin/clang++14 -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 ../../dist/host/bin/wasm2c -o rlbox.wasm.c rlbox.wasm 0105557: error: unexpected opcode: 0xfc 0xa gmake[4]: *** [/wrkdirs/usr/ports/www/firefox/work/firefox-102.0.1/config/rules.mk:501: rlbox.wasm.c] Error 1 LLVM and/or WASI 14.0.5 seems to be last known good version to build as of https://bugzilla.mozilla.org/show_bug.cgi?id=1771649#c10 Maybe investigate if the current devel/llvm14 14.0.6 can build with WASI from 14.0.5, as I don't currently have plans to do that. Comment Actions I got this too. Just reverting wasi-libc to the previous month "fixes" it, so something during the month went afoul. |