Stream: git-wasmtime

Topic: wasmtime / issue #4523 Failed to build for aarch64-linux-...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 25 2022 at 18:02):

gneworld opened issue #4523:

cargo build --release --target=aarch64-linux-android
Compiling gimli v0.26.1
Compiling wasmparser v0.87.0
Compiling object v0.29.0
Compiling cranelift-bforest v0.87.0 (/home/mi/ext/minacore_mi11/secondary/wasmtime/cranelift/bforest)
Compiling clap v3.2.8
Compiling ittapi v0.3.1
Compiling zstd v0.11.1+zstd.1.5.2
Compiling wiggle-macro v0.40.0 (/home/mi/ext/minacore_mi11/secondary/wasmtime/crates/wiggle/macro)
error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/mi/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:9:36
|
9 | pub struct Domain(*mut ittapi_sys::__itt_domain);
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_domain_create_ptr__3_0 in crate ittapi_sys
--> /home/mi/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:20:40
|
20 | let create_fn = access_sys_fn!(__itt_domain_create_ptr__3_0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/mi/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:30:55
|
30 | pub(crate) fn as_ptr(&self) -> *const ittapi_sys::__itt_domain {
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_event in crate ittapi_sys
--> /home/mi/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:6:30
|
6 | pub struct Event(ittapi_sys::__itt_event);
| ^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_event_create_ptr__3_0 in crate ittapi_sys
--> /home/mi/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:11:46
|
11 | let create_fn = unsafe { ittapi_sys::__itt_event_create_ptr__3_0 };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_event_start_ptr__3_0 in crate ittapi_sys
--> /home/mi/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:34:54
|
34 | if let Some(start_fn) = unsafe { ittapi_sys::__itt_event_start_ptr__3_0 } {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_event in crate ittapi_sys
--> /home/mi/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:46:24
|
46 | event: ittapi_sys::__itt_event,
| ^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_event_end_ptr__3_0 in crate ittapi_sys
--> /home/mi/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:61:52
|
61 | if let Some(end_fn) = unsafe { ittapi_sys::__itt_event_end_ptr__3_0 } {
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

view this post on Zulip Wasmtime GitHub notifications bot (Jul 25 2022 at 18:04):

gneworld edited issue #4523:

cargo build --release --target=aarch64-linux-android
Compiling gimli v0.26.1
Compiling wasmparser v0.87.0
Compiling object v0.29.0
Compiling cranelift-bforest v0.87.0 (wasmtime/cranelift/bforest)
Compiling clap v3.2.8
Compiling ittapi v0.3.1
Compiling zstd v0.11.1+zstd.1.5.2
Compiling wiggle-macro v0.40.0 (wasmtime/crates/wiggle/macro)
error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:9:36
|
9 | pub struct Domain(*mut ittapi_sys::__itt_domain);
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_domain_create_ptr__3_0 in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:20:40
|
20 | let create_fn = access_sys_fn!(__itt_domain_create_ptr__3_0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:30:55
|
30 | pub(crate) fn as_ptr(&self) -> *const ittapi_sys::__itt_domain {
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_event in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:6:30
|
6 | pub struct Event(ittapi_sys::__itt_event);
| ^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_event_create_ptr__3_0 in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:11:46
|
|
61 | if let Some(end_fn) = unsafe { ittapi_sys::__itt_event_end_ptr__3_0 } {
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

view this post on Zulip Wasmtime GitHub notifications bot (Jul 25 2022 at 18:07):

cfallin commented on issue #4523:

Thanks for the report!

Android isn't an officially supported platform for Wasmtime. However, there may be things we can do on a best-effort basis to solve issues. @abrown or @jlb6740 , it looks like this is an issue with the ittapi crate -- would you be willing to take a look (maybe just conditionalize its use)?

view this post on Zulip Wasmtime GitHub notifications bot (Jul 25 2022 at 18:42):

alexcrichton labeled issue #4523:

cargo build --release --target=aarch64-linux-android
Compiling gimli v0.26.1
Compiling wasmparser v0.87.0
Compiling object v0.29.0
Compiling cranelift-bforest v0.87.0 (wasmtime/cranelift/bforest)
Compiling clap v3.2.8
Compiling ittapi v0.3.1
Compiling zstd v0.11.1+zstd.1.5.2
Compiling wiggle-macro v0.40.0 (wasmtime/crates/wiggle/macro)
error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:9:36
|
9 | pub struct Domain(*mut ittapi_sys::__itt_domain);
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_domain_create_ptr__3_0 in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:20:40
|
20 | let create_fn = access_sys_fn!(__itt_domain_create_ptr__3_0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:30:55
|
30 | pub(crate) fn as_ptr(&self) -> *const ittapi_sys::__itt_domain {
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_event in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:6:30
|
6 | pub struct Event(ittapi_sys::__itt_event);
| ^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_event_create_ptr__3_0 in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:11:46
|
|
61 | if let Some(end_fn) = unsafe { ittapi_sys::__itt_event_end_ptr__3_0 } {
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

view this post on Zulip Wasmtime GitHub notifications bot (Jul 26 2022 at 16:01):

abrown assigned issue #4523 (assigned to abrown):

cargo build --release --target=aarch64-linux-android
Compiling gimli v0.26.1
Compiling wasmparser v0.87.0
Compiling object v0.29.0
Compiling cranelift-bforest v0.87.0 (wasmtime/cranelift/bforest)
Compiling clap v3.2.8
Compiling ittapi v0.3.1
Compiling zstd v0.11.1+zstd.1.5.2
Compiling wiggle-macro v0.40.0 (wasmtime/crates/wiggle/macro)
error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:9:36
|
9 | pub struct Domain(*mut ittapi_sys::__itt_domain);
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_domain_create_ptr__3_0 in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:20:40
|
20 | let create_fn = access_sys_fn!(__itt_domain_create_ptr__3_0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:30:55
|
30 | pub(crate) fn as_ptr(&self) -> *const ittapi_sys::__itt_domain {
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_event in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:6:30
|
6 | pub struct Event(ittapi_sys::__itt_event);
| ^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_event_create_ptr__3_0 in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:11:46
|
|
61 | if let Some(end_fn) = unsafe { ittapi_sys::__itt_event_end_ptr__3_0 } {
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

view this post on Zulip Wasmtime GitHub notifications bot (Jul 27 2022 at 15:51):

abrown commented on issue #4523:

@gneworld, can you take a look at #4533 and check that it fixes the issue you observed?

view this post on Zulip Wasmtime GitHub notifications bot (Jul 28 2022 at 14:22):

alexcrichton closed issue #4523 (assigned to abrown):

cargo build --release --target=aarch64-linux-android
Compiling gimli v0.26.1
Compiling wasmparser v0.87.0
Compiling object v0.29.0
Compiling cranelift-bforest v0.87.0 (wasmtime/cranelift/bforest)
Compiling clap v3.2.8
Compiling ittapi v0.3.1
Compiling zstd v0.11.1+zstd.1.5.2
Compiling wiggle-macro v0.40.0 (wasmtime/crates/wiggle/macro)
error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:9:36
|
9 | pub struct Domain(*mut ittapi_sys::__itt_domain);
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_domain_create_ptr__3_0 in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:20:40
|
20 | let create_fn = access_sys_fn!(__itt_domain_create_ptr__3_0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_domain in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/domain.rs:30:55
|
30 | pub(crate) fn as_ptr(&self) -> *const ittapi_sys::__itt_domain {
| ^^^^^^^^^^^^ not found in ittapi_sys

error[E0412]: cannot find type __itt_event in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:6:30
|
6 | pub struct Event(ittapi_sys::__itt_event);
| ^^^^^^^^^^^ not found in ittapi_sys

error[E0425]: cannot find value __itt_event_create_ptr__3_0 in crate ittapi_sys
--> /home/.cargo/registry/src/github.com-1ecc6299db9ec823/ittapi-0.3.1/src/event.rs:11:46
|
|
61 | if let Some(end_fn) = unsafe { ittapi_sys::__itt_event_end_ptr__3_0 } {
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in ittapi_sys


Last updated: Nov 22 2024 at 16:03 UTC