tinygo: "no input files" when compiling rp2040 project

Đang mở
#6,025 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
build-system, embedded-iot

Hướng nghiên cứu

Start with the TinyGo build and compiler-rt handling for the RP2040 pico2 target, then inspect how it locates the listed llvm-project/compiler-rt/lib/builtins/arm/aeabi_*.S files. Reproduce with tinygo flash -target pico2 ./examples/ntp using the reported development version. Done when the command compiles without missing-file or “no input files” errors.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I pulled latest dev and now I can't compile and get this error. If I need to update LLVM I would expect to get a "update LLVM" error, not this.

$ tinygo version                           
tinygo version 0.44.0-dev-ddb8be5f linux/amd64 (using go version go1.26.3 and LLVM version 22.1.4)
$ tinygo flash -target pico2 ./examples/ntp
error: no such file or directory: '/home/pato/Documents/src/tg/tinygo/llvm-project/compiler-rt/lib/builtins/arm/aeabi_uread4.S'
error: no input files
error: no such file or directory: '/home/pato/Documents/src/tg/tinygo/llvm-project/compiler-rt/lib/builtins/arm/aeabi_uwrite8.S'
error: no input files
error: no such file or directory: '/home/pato/Documents/src/tg/tinygo/llvm-project/compiler-rt/lib/builtins/arm/aeabi_uwrite4.S'
error: no input files
error: no such file or directory: '/home/pato/Documents/src/tg/tinygo/llvm-project/compiler-rt/lib/builtins/arm/aeabi_uread8.S'
error: no input files
open /tmp/tinygo306586983/build-lib-compiler-rt/arm/aeabi_uread4.S.o: no such file or directory
Ngôn ngữ chính
Go
Star
17.8k
Fork
1.1k
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
380

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tinygo-org/tinygo

Tất cả issue của tinygo-org/tinygo

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.