Not able to compile on intel based Mac
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- macos, rust
- 領域
- build-system
調査の方向性
Start with the reported Cargo.toml and run the supplied minimal Rust example with cargo run on Intel macOS. Investigate the OpenBLAS and linker setup behind the __gfortran_concat_string errors; done means the example compiles and runs successfully on the reported platform.
索引モデルが issue の本文から書いたものです。
説明
Issue I have
= note: ld: warning: could not create compact unwind for _chseqr_: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _dhseqr_: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _shseqr_: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _zhseqr_: stack subq instruction is too different from dwarf stack size
Undefined symbols for architecture x86_64:
"__gfortran_concat_string", referenced from:
_dormbr_ in libopenblas_src-4151971bd483fad6.rlib(dormbr.o)
_dormlq_ in libopenblas_src-4151971bd483fad6.rlib(dormlq.o)
_dormqr_ in libopenblas_src-4151971bd483fad6.rlib(dormqr.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Code to reproduce this issue
use ndarray::{array, Array, Ix2};
use ndarray_linalg::{LeastSquaresSvd, LeastSquaresSvdInto, LeastSquaresSvdInPlace};
fn main() {
let array_a: Array<f64, Ix2> = array![[1.,2.]];
let array_b: Array<f64, Ix2> = array![[1.,2.]];
let solution = array_b.least_squares(&array_a).unwrap().solution;
println!("{:?}", solution);
}
cargo.toml
[package]
name = "example"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ndarray = { version = "0.15.0", features = ["approx", "blas"] }
ndarray-stats = "0.5"
ndarray-linalg = { version = "0.14.1", features = ["openblas-static"] }
just do cargo run will reproduce this issue
Version information
rustup --version
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.63.0-nightly (bb8c2f411 2022-06-19)`
rustc --version
rustc 1.63.0-nightly (bb8c2f411 2022-06-19)
cargo --version
cargo 1.63.0-nightly (8d42b0e87 2022-06-17)
MacOS 12 with Intel Chip
Any help/pointer will be appreciated!
- 主要言語
- Rust
- スター
- 452
- フォーク
- 95
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-ndarray/ndarray-linalg のほかの issue
-
Thin SVDオープン
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
rust-ndarray/ndarray-linalg#414 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
rust-ndarray/ndarray-linalg#413 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
rust-ndarray/ndarray-linalg#404 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rust-ndarray/ndarray-linalg#402 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rust-ndarray/ndarray-linalg#401 · リアクション 2 件 ·
rust-ndarray/ndarray-linalg の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
area: cli bug priority: P2 ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信