Stream: git-wasmtime

Topic: wasmtime / Issue #2099 Compile failed with aarch64-linux-...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 05 2020 at 09:34):

ifels opened Issue #2099:

when I compile wasmtime for android using: cargo build --target aarch64-linux-android --release

The output is:

error[E0432]: unresolved import `crate::dir::SeekLoc`


--> crates/wasi-common/yanix/src/sys/mod.rs:1:5
  |
1 | use crate::dir::SeekLoc;
  |     ^^^^^^^^^^^^^^^^^^^ no `SeekLoc` in `dir`

error[E0432]: unresolved import `crate::dir::SeekLoc`
 --> crates/wasi-common/yanix/src/sys/linux/dir.rs:1:40
  |
1 | use crate::dir::{Dir, Entry, EntryExt, SeekLoc};
  |                                        ^^^^^^^ no `SeekLoc` in `dir`

error[E0425]: cannot find function `futimes` in crate `libc`
    --> crates/wasi-common/yanix/src/sys/linux/utimesat.rs:30:38
     |
30   |     from_success_code(unsafe { libc::futimes(f.as_raw_fd(), times.as_ptr()) })
     |                                      ^^^^^^^ help: a function with a similar name exists: `futimens`
     |
    ::: /Users/niexinxin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.72/src/unix/linux_like/mod.rs:1319:5
     |
1319 |     pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
     |     ------------------------------------------------------------------ similarly named function `futimens` defined here

view this post on Zulip Wasmtime GitHub notifications bot (Oct 18 2020 at 19:40):

repi commented on Issue #2099:

Ran into the same problem with yanix when we started including wasmtime-wasi crate in our Android builds. wasmtime otherwise builds and runs fine on Android, but not WASI due to this

view this post on Zulip Wasmtime GitHub notifications bot (Oct 18 2020 at 19:46):

repi edited a comment on Issue #2099:

Ran into the same problem with yanix when we started including wasmtime-wasi crate in our Android builds. wasmtime otherwise builds and runs fine on Android, but not WASI due to this and other parts of the wasmtime-wasi implementation.

Is there any other issues about WASI support for Android?

view this post on Zulip Wasmtime GitHub notifications bot (Dec 15 2020 at 06:03):

sunfishcode closed Issue #2099:

when I compile wasmtime for android using: cargo build --target aarch64-linux-android --release

The output is:

error[E0432]: unresolved import `crate::dir::SeekLoc`


--> crates/wasi-common/yanix/src/sys/mod.rs:1:5
  |
1 | use crate::dir::SeekLoc;
  |     ^^^^^^^^^^^^^^^^^^^ no `SeekLoc` in `dir`

error[E0432]: unresolved import `crate::dir::SeekLoc`
 --> crates/wasi-common/yanix/src/sys/linux/dir.rs:1:40
  |
1 | use crate::dir::{Dir, Entry, EntryExt, SeekLoc};
  |                                        ^^^^^^^ no `SeekLoc` in `dir`

error[E0425]: cannot find function `futimes` in crate `libc`
    --> crates/wasi-common/yanix/src/sys/linux/utimesat.rs:30:38
     |
30   |     from_success_code(unsafe { libc::futimes(f.as_raw_fd(), times.as_ptr()) })
     |                                      ^^^^^^^ help: a function with a similar name exists: `futimens`
     |
    ::: /Users/niexinxin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.72/src/unix/linux_like/mod.rs:1319:5
     |
1319 |     pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
     |     ------------------------------------------------------------------ similarly named function `futimens` defined here


Last updated: Nov 22 2024 at 17:03 UTC