Some 32-bit archs require explicit liking to `libatomic`, otherwise build fails: Undefined symbols: "___atomic_compare_exchange_8", "___atomic_fetch_xor_8" etc.
Maintainer thường phản hồi trong vòng 3 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start with the reported run-test262 build command and trace the linker flags used by that target. Check how the build handles 32-bit architectures and verify the affected build with the reported undefined atomic symbols. Done means the affected targets link successfully with the required atomic support.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
/opt/local/bin/gcc-mp-13 -g -o run-test262 .obj/run-test262.o .obj/quickjs.o .obj/libregexp.o .obj/libunicode.o .obj/cutils.o .obj/quickjs-libc.o .obj/libbf.o -lm -ldl -lpthread
ar rcs libquickjs.a .obj/quickjs.o .obj/libregexp.o .obj/libunicode.o .obj/cutils.o .obj/quickjs-libc.o .obj/libbf.o
Undefined symbols:
"___atomic_compare_exchange_8", referenced from:
Undefined symbols:
"___atomic_compare_exchange_8", referenced from:
_js_atomics_op in quickjs.o
_js_atomics_op in quickjs.o
"___atomic_fetch_xor_8", referenced from:
_js_atomics_op in quickjs.o
"___atomic_fetch_xor_8", referenced from:
_js_atomics_op in quickjs.o
"___atomic_fetch_add_8", referenced from:
_js_atomics_op in quickjs.o
"___atomic_fetch_add_8", referenced from:
_js_atomics_op in quickjs.o
"___atomic_load_8", referenced from:
_js_atomics_op in quickjs.o
"___atomic_load_8", referenced from:
"___atomic_store_8", referenced from:
_js_atomics_op in quickjs.o
_js_atomics_store in quickjs.o
"___atomic_fetch_sub_8", referenced from:
"___atomic_store_8", referenced from:
_js_atomics_op in quickjs.o
_js_atomics_store in quickjs.o
"_clock_gettime", referenced from:
"___atomic_fetch_sub_8", referenced from:
_js_atomics_wait in quickjs.o
_js_atomics_op in quickjs.o
_js_os_setTimeout in quickjs-libc.o
_js_os_poll in quickjs-libc.o
"___atomic_fetch_or_8", referenced from:
_js_atomics_op in quickjs.o
"_clock_gettime", referenced from:
_js_agent_monotonicNow in run-test262.o
_run_test_dir_list in run-test262.o
_run_test_dir_list in run-test262.o
_js_atomics_wait in quickjs.o
"___atomic_fetch_and_8", referenced from:
_js_os_setTimeout in quickjs-libc.o
_js_os_poll in quickjs-libc.o
_js_atomics_op in quickjs.o
"___atomic_fetch_or_8", referenced from:
_js_atomics_op in quickjs.o
"___atomic_exchange_8", referenced from:
_js_atomics_op in quickjs.o
"___atomic_fetch_and_8", referenced from:
_js_atomics_op in quickjs.o
"___atomic_exchange_8", referenced from:
_js_atomics_op in quickjs.o
ld: symbol(s) not found
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make: *** [run-test262] Error 1
make: *** Waiting for unfinished jobs....
- Ngôn ngữ chính
- C
- Star
- 11.1k
- Fork
- 1.2k
- Merge trung bình
- 11 giờ 20 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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.
Issue khác của bellard/quickjs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Collecting WeakMap keys requires multiple GC passesCó thể đã có người làm @jluxenberg đã nhận 3 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
bellard/quickjs#581 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của bellard/quickjs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:docs area:stdlib found-by:duet-audit kind:docs-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
InauguralSystems/EigenScript#2251 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
flux-framework/flux-coral2#513 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ly05010419/MacNativeGames#1420 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Isaac workingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
seedds/nxnative#763 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày