codrsquad / codrsquad/portable-python
MacOS linking error (M4, ARM)
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 86
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
While trying to run portable-python build 3.9.7 on an m4 mac I encountered the linking error down below.
I installed portable python using pip3.9 install portable-python using python 3.9.25 installed by homebrew
Undefined symbols for architecture arm64:
"_libintl_bindtextdomain", referenced from:
_PyIntl_bindtextdomain in lto.o
_PyIntl_bindtextdomain in lto.o
"_libintl_dcgettext", referenced from:
_PyIntl_dcgettext in lto.o
"_libintl_dgettext", referenced from:
_PyIntl_dgettext in lto.o
"_libintl_gettext", referenced from:
_PyIntl_gettext in lto.o
"_libintl_setlocale", referenced from:
_PyLocale_setlocale in lto.o
_PyLocale_setlocale in lto.o
_PyLocale_localeconv in lto.o
_PyLocale_localeconv in lto.o
_PyLocale_localeconv in lto.o
_PyLocale_localeconv in lto.o
"_libintl_textdomain", referenced from:
_PyIntl_textdomain in lto.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [python.exe] Error 1
make[2]: *** [build_all_generate_profile] Error 2
make[1]: *** [profile-gen-stamp] Error 2
make: *** [profile-run-stamp] Error 2
ERROR make exited with code 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
報告されている Python インストールを使い、まず M4 ARM Mac 上で portable-python build 3.9.7 を再現します。欠落している libintl シンボルに関連する build と linking の入力を調査します。完了の条件は、arm64 linker エラーなしでコマンドが完了することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos, python
- 領域
- build-system, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100