ghdl Coverage : unknown command option '-fprofile-arcs'

Đang mở
#1,066 1 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
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
testing

Hướng nghiên cứu

The report identifies the VHDL coverage example at vhdl/coverage/run.py and the GHDL 4.1.0 command that fails on -fprofile-arcs. Start by reading the coverage example and checking how its GHDL coverage flags are selected. Done means the example runs with the reported GHDL setup; the issue gives no test name.

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

Mô tả

I encountered the following error while running the coverage example:


C:\Users\user101\Downloads\vunit-4.7.0\vunit-4.7.0\examples\vhdl\coverage>run.py
Compiling into lib: tb_coverage.vhd failed
=== Command used: ===
C:\msys64\mingw64\bin\ghdl -a --workdir=C:\Users\user101\Downloads\vunit-4.7.0\vunit-4.7.0\examples\vhdl\coverage\vunit_out\ghdl\libraries\lib --work=lib --std=08 -PC:\Users\user101\Downloads\vunit-4.7.0\vunit-4.7.0\examples\vhdl\coverage\vunit_out\ghdl\libraries\vunit_lib -PC:\Users\user101\Downloads\vunit-4.7.0\vunit-4.7.0\examples\vhdl\coverage\vunit_out\ghdl\libraries\lib -fprofile-arcs -ftest-coverage C:\Users\user101\Downloads\vunit-4.7.0\vunit-4.7.0\examples\vhdl\coverage\tb_coverage.vhd

=== Command output: ===
C:\msys64\mingw64\bin\ghdl.exe:error: unknown command option '-fprofile-arcs'

used ghdl version:
ghdl --version
GHDL 4.1.0 (tarball) [Dunoon edition]
Compiled with GNAT Version: 14.1.0
static elaboration, mcode JIT code generator
Written by Tristan Gingold.

Copyright (C) 2003 - 2024 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Ngôn ngữ chính
VHDL
Star
850
Fork
305
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

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 VUnit/vunit

Tất cả issue của VUnit/vunit

Issue tương tự

Thêm issue về Testing & QA

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.