Stream: git-wasmtime

Topic: wasmtime / issue #6842 Build failed on FreeBSD/i386: erro...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2023 at 21:04):

osokin opened issue #6842:

Steps to Reproduce

Expected Results

A green/successful build is expected.

Actual Results

...
     Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=wasmtime_fiber
+CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/devel/libwasmtime/work/wasmtime-11.0.1/crates/fiber CARGO_PKG_AUTHORS='The Wasmtime Project
+Developers' CARGO_PKG_DESCRIPTION='Fiber support for Wasmtime' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 WITH
+LLVM-exception' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=wasmtime-fiber CARGO_PKG_README=''
+CARGO_PKG_REPOSITORY='https://github.com/bytecodealliance/wasmtime' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=11.0.1
+CARGO_PKG_VERSION_MAJOR=11 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE=''
+LD_LIBRARY_PATH='/wrkdirs/usr/ports/devel/libwasmtime/work/target/release/deps:/usr/local/lib'
+OUT_DIR=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/build/wasmtime-fiber-1dbb6519007f3564/out
+/usr/local/bin/rustc --crate-name wasmtime_fiber --edition=2021 crates/fiber/src/lib.rs --error-format=json --json=diagnostic-re
ndered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C
+linker-plugin-lto -C codegen-units=1 -C metadata=06080e4acd1f33a8 -C extra-filename=-06080e4acd1f33a8 --out-dir
+/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps --target i686-unknown-freebsd -C linker=cc -L
+dependency=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps -L
+dependency=/wrkdirs/usr/ports/devel/libwasmtime/work/target/release/deps --extern
+cfg_if=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps/libcfg_if-ec28bb3e84a99470.rmeta --extern
+rustix=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps/librustix-a6b2c0bec45f8f8c.rmeta --extern
+wasmtime_asm_macros=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps/libwasmtime_asm_macros-b681268
+2091809a9.rmeta -C link-arg=-fstack-protector-strong`
error[E0432]: unresolved import `wasmtime_asm_macros::asm_sym`
  --> crates/fiber/src/unix/x86.rs:13:37
   |
13 | use wasmtime_asm_macros::{asm_func, asm_sym};
   |                                     ^^^^^^^ no `asm_sym` in the root

For more information about this error, try `rustc --explain E0432`.
error: could not compile `wasmtime-fiber` (lib) due to previous error

Caused by:
  process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=wasmtime_fiber

Versions and Environment

Wasmtime version or commit: 11.0.1

Operating system: FreeBSD 13.2

Architecture: i386

Extra Info

Here's the full build log
https://pkg-status.freebsd.org/beefy15/data/132i386-default/f68709c1b069/logs/libwasmtime-11.0.1.log

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2023 at 21:04):

osokin added the bug label to Issue #6842.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2023 at 21:12):

cfallin commented on issue #6842:

Unfortunately i386 is not supported (#1980); so this is an expected result. It would be great to have, but no one has had the time to contribute it -- sorry!

Closing in favor of that tracking issue.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 11 2023 at 21:12):

cfallin closed issue #6842:

Steps to Reproduce

Expected Results

A green/successful build is expected.

Actual Results

...
     Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=wasmtime_fiber
+CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/devel/libwasmtime/work/wasmtime-11.0.1/crates/fiber CARGO_PKG_AUTHORS='The Wasmtime Project
+Developers' CARGO_PKG_DESCRIPTION='Fiber support for Wasmtime' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 WITH
+LLVM-exception' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=wasmtime-fiber CARGO_PKG_README=''
+CARGO_PKG_REPOSITORY='https://github.com/bytecodealliance/wasmtime' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=11.0.1
+CARGO_PKG_VERSION_MAJOR=11 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE=''
+LD_LIBRARY_PATH='/wrkdirs/usr/ports/devel/libwasmtime/work/target/release/deps:/usr/local/lib'
+OUT_DIR=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/build/wasmtime-fiber-1dbb6519007f3564/out
+/usr/local/bin/rustc --crate-name wasmtime_fiber --edition=2021 crates/fiber/src/lib.rs --error-format=json --json=diagnostic-re
ndered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C
+linker-plugin-lto -C codegen-units=1 -C metadata=06080e4acd1f33a8 -C extra-filename=-06080e4acd1f33a8 --out-dir
+/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps --target i686-unknown-freebsd -C linker=cc -L
+dependency=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps -L
+dependency=/wrkdirs/usr/ports/devel/libwasmtime/work/target/release/deps --extern
+cfg_if=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps/libcfg_if-ec28bb3e84a99470.rmeta --extern
+rustix=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps/librustix-a6b2c0bec45f8f8c.rmeta --extern
+wasmtime_asm_macros=/wrkdirs/usr/ports/devel/libwasmtime/work/target/i686-unknown-freebsd/release/deps/libwasmtime_asm_macros-b681268
+2091809a9.rmeta -C link-arg=-fstack-protector-strong`
error[E0432]: unresolved import `wasmtime_asm_macros::asm_sym`
  --> crates/fiber/src/unix/x86.rs:13:37
   |
13 | use wasmtime_asm_macros::{asm_func, asm_sym};
   |                                     ^^^^^^^ no `asm_sym` in the root

For more information about this error, try `rustc --explain E0432`.
error: could not compile `wasmtime-fiber` (lib) due to previous error

Caused by:
  process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=wasmtime_fiber

Versions and Environment

Wasmtime version or commit: 11.0.1

Operating system: FreeBSD 13.2

Architecture: i386

Extra Info

Here's the full build log
https://pkg-status.freebsd.org/beefy15/data/132i386-default/f68709c1b069/logs/libwasmtime-11.0.1.log


Last updated: Dec 23 2024 at 13:07 UTC