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.
Paths
| Differential D35287 Authored by vishwin on May 22 2022, 7:05 PM.
Details
Summary 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. Test Plan Results in functional gecko ports, allows LTO to work again. With correspondingly updated wasi- ports of course.
Diff Detail
Event TimelineHerald added a subscriber: mat. · View Herald TranscriptMay 22 2022, 7:05 PM2022-05-22 19:05:38 (UTC+0) Harbormaster completed remote builds in B45668: Diff 106267.May 22 2022, 7:06 PM2022-05-22 19:06:02 (UTC+0) vishwin added a parent revision: D35286: devel/wasi-libc: update to g20220509.May 22 2022, 7:06 PM2022-05-22 19:06:24 (UTC+0) vishwin added a child revision: D35289: www/firefox: update/rework WASI logic.May 22 2022, 7:48 PM2022-05-22 19:48:03 (UTC+0) This revision is now accepted and ready to land.May 22 2022, 8:44 PM2022-05-22 20:44:18 (UTC+0) This revision now requires review to proceed.Jul 5 2022, 12:24 PM2022-07-05 12:24:57 (UTC+0) Harbormaster completed remote builds in B46269: Diff 107784.Jul 5 2022, 12:24 PM2022-07-05 12:24:58 (UTC+0) vishwin retitled this revision from devel/wasi-libcxx: update to 14.0.2 to devel/wasi-libcxx: update to 14.0.6.Jul 5 2022, 12:25 PM2022-07-05 12:25:57 (UTC+0) 2khramtsov_gmail.com added a subscriber: 2khramtsov_gmail.com.Jul 8 2022, 6:00 PM2022-07-08 18:00:16 (UTC+0) Comment 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. 2khramtsov_gmail.com removed a subscriber: 2khramtsov_gmail.com.Jul 28 2022, 10:01 PM2022-07-28 22:01:07 (UTC+0)
Revision Contents
Diff 107784 devel/wasi-libcxx/Makefile
devel/wasi-libcxx/distinfo
devel/wasi-libcxx/pkg-plist
|