Michał Szmidt

Results 16 comments of Michał Szmidt

same issue, [link to build log on CirrusCI.](https://cirrus-ci.com/task/4530371191111680?logs=build#L259) - rust from: `rustup` - rustc : `1.72.0` - alpine: `3.18` - platform: `native aarch64` **EDIT:** @mitnk Your workaround doesn't work for...

Could anyone test if this happens for rust from vendor repo. For instance on alpine?

Thanks @martadinata666 ! I also have openssl as a dependency. Needs investigating. Anyone mention/crosspost this issue to official openssl and openssl rust crate repos?

Ok, so I've setup a [toy-repo](https://github.com/michalszmidt/musl-aarch64-linking-build-error) with [CirrusCI aarch64 runners](https://cirrus-ci.com/github/michalszmidt/musl-aarch64-linking-build-error) on Alpine. there are 3 configurations 1. **FAILS** Explicitly selecting openssl: [build log](https://cirrus-ci.com/task/4933387937382400) 2. **FAILS** Bindings-over system tls: [build log](https://cirrus-ci.com/task/6059287844225024)...

I fetched rust from alpine repo and compilation passed. This seems to be a workaround. See [those builds](https://cirrus-ci.com/build/5079689119662080) Could you please test with other musl distros to detect where this...

Duplicate? https://github.com/rust-lang/rust/issues/89626 `CFLAGS=-mno-outline-atomics` appears to be solution in this thread, please someone test. If it works for everyone, then this thread should be closed, and solution applied upstream https://github.com/sfackler/rust-openssl/issues/2022

I confirm that adding below to cargo.toml works for openssl and native-tls options [build logs](https://cirrus-ci.com/build/6574372803051520) ```toml [target.aarch64-unknown-linux-musl] rustflags = ["-C", "-mno-outline-atomics"] ``` somone else, please confirm.

@mitnk I haven't noticed that one. You mentioned old build with some other attempt to fix regression, but unfortunately it's also present in [current build](https://cirrus-ci.com/build/5129740453937152) with above fix... musl aarch64...

> If it fails, I'll try your solution Well, now I'm confused, as [toy repo](https://github.com/michalszmidt/musl-aarch64-linking-build-error) is fixed with rustflags `-mno-outline-atomics` but my [actual app](https://github.com/michalszmidt/hctl) still fails with it and `-Clinker=rust-lld`...

Ok, so required changes are: - add Cargo.toml now as a separate file. (With next stable release I'll include it upstream) - last line of template should not be empty...