Skip to content

vm build strategy not working on mac m1 #1397

Closed

Description

@Niraj-Kamdar

Describe the bug
building wrapper with vm build strategy fails on m1 mac with following error:

qemu: uncaught target signal 11 (Segmentation fault) - core dumped

error:
 
could not compile `syn`



Caused by:

  process didn't exit successfully: `rustc --crate-name syn --edition=2018 /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.103/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=0bc87bee3b0d6ea7 -C extra-filename=-0bc87bee3b0d6ea7 --out-dir /project/target/release/deps -L dependency=/project/target/release/deps --extern proc_macro2=/project/target/release/deps/libproc_macro2-e0d2cd6cdab0f8d4.rmeta --extern quote=/project/target/release/deps/libquote-0e5aeed9eb5411d4.rmeta --extern unicode_ident=/project/target/release/deps/libunicode_ident-8336050b0a2aef5b.rmeta --cap-lints allow --cfg syn_disable_nightly_tests` (signal: 11, SIGSEGV: invalid memory reference)

Please provide the steps to reproduce and if possible a minimal demo of the problem.
Run polywrap build on any mac m1 machine

Expected behavior
It should build the wrapper

Activity

  1. krisbitney commented on Nov 15, 2022

    @krisbitney
    Contributor

    Related: #1339

  2. added this to the origin-qa milestone on Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions