Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add additional flags for compile #145

Closed
wants to merge 1 commit into from
Closed

Conversation

cpswan
Copy link
Member

@cpswan cpswan commented Nov 30, 2023

Suggestion from dart-lang/sdk#54198 (comment) to deal with armv7 build failing on docker buildx emulated armv7

- What I did

Added --extra-gen-snapshot-options=--target_unknown_cpu to dart compile exe line

- How to verify it

Manual run of build workflow

- Description for the changelog

fix: Add additional flags for compile

@cpswan cpswan requested review from gkc and cconstab November 30, 2023 18:16
@cpswan cpswan self-assigned this Nov 30, 2023
@cpswan cpswan marked this pull request as draft November 30, 2023 18:20
@cpswan
Copy link
Member Author

cpswan commented Nov 30, 2023

Converted to draft as it's still not working:

#22 [linux/arm/v7 build 4/4] RUN dart compile exe --extra-gen-snapshot-options=--target_unknown_cpu   /app/showplatform.dart -o /app/dartshowplatform
#22 5.692 
#22 5.692 ===== CRASH =====
#22 5.692 si_signo=Illegal instruction(4), si_code=2, si_addr=0x3ed8a1c8
#22 5.736 Error: AOT compilation failed
#22 5.737 Generating AOT kernel dill failed!
#22 ERROR: process "/bin/sh -c dart compile exe --extra-gen-snapshot-options=--target_unknown_cpu   /app/showplatform.dart -o /app/dartshowplatform" did not complete successfully: exit code: 64

@cpswan cpswan closed this Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant