Bug 286973 - cad/verilator: Add upstream patch for runtime failure
Summary: cad/verilator: Add upstream patch for runtime failure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-21 11:59 UTC by Joel Bodenmann
Modified: 2025-05-22 08:29 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Bodenmann freebsd_committer freebsd_triage 2025-05-21 11:59:55 UTC
Since version 5.036, verilator still builds fine but is unusable due to a missing include of the pthread_np.h header.

I have added a patch to upstream which got merged.
Could you please add this patch to the port?

https://github.com/verilator/verilator/pull/6028
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-05-21 15:21:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f2a3aae778d7bf381f4e0d2e7e376c1137695430

commit f2a3aae778d7bf381f4e0d2e7e376c1137695430
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-05-21 15:18:47 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-05-21 15:20:53 +0000

    cad/verilator: Fix run-time by adding missing include

    PR:             286973
    Reported by:    Joel Bodenmann

 cad/verilator/Makefile | 4 ++++
 cad/verilator/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)