codrsquad / codrsquad/portable-python
MacOS linking error (M4, ARM)
Đang mở
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 86
- Fork
- 13
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện portable-python build 3.9.7 trên máy Mac M4 ARM bằng bản cài đặt Python được báo cáo. Kiểm tra các đầu vào build và linking liên quan đến các symbol libintl bị thiếu; được coi là hoàn tất khi lệnh chạy xong mà không gặp lỗi linker arm64.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- macos, python
- Lĩnh vực
- build-system, operating-systems
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100