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

arm64e-apple-darwin22.4-clang compile failed #265

Closed
RickSKy opened this issue Mar 8, 2024 · 0 comments
Closed

arm64e-apple-darwin22.4-clang compile failed #265

RickSKy opened this issue Mar 8, 2024 · 0 comments

Comments

@RickSKy
Copy link

RickSKy commented Mar 8, 2024

  • compile env
compile M1/M2 app in linux use arm64e-apple-darwin22.4-clang
[target.aarch64-apple-darwin]
linker = "arm64e-apple-darwin22.4-clang"
ar = "arm64e-apple-darwin22.4-ar"

  • compile error info
= note: ld: in /home/ub/target/aarch64-apple-darwin/release/deps/libzstd_sys-ef301ef433ebcdca.rlib(b0401a448be314bb-zdict.o), archive member 'b0401a448be314bb-zdict.o' with length 18432 is not mach-o or llvm bitcode for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
@RickSKy RickSKy closed this as completed Mar 11, 2024
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

No branches or pull requests

1 participant