Skip to content

Contributions to 4.9+, including fix for ARG_MAX issue, read only environments compatibility for IP chekpoint and some tests#901

Closed
turcofran wants to merge 8 commits intoEttusResearch:masterfrom
turcofran:wt_cc_49
Closed

Contributions to 4.9+, including fix for ARG_MAX issue, read only environments compatibility for IP chekpoint and some tests#901
turcofran wants to merge 8 commits intoEttusResearch:masterfrom
turcofran:wt_cc_49

Conversation

@turcofran
Copy link
Copy Markdown
Contributor

Pull Request Details

Description

Contributions to 4.9+, including fix for ARG_MAX issue, read only environments compatibility for IP checkpoint and some tests. Providing also additional resources to include user clocks.

Related Issue

ARG_MAX issue when OOT sources list is too long.

Which devices/areas does this affect?

Bitstream generation for for X400, X300, N3xx and E320, and E31x.

Testing Done

Bitstreams built with custom RFNoC blocks for X410, X310, N320, etc.

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project. See CODING.md.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes, and all previous tests pass.
  • I have checked all compat numbers if they need updating (FPGA compat,
    MPM compat, noc_shell, specific RFNoC block, ...)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 23, 2026

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
@turcofran
@atomita-ni
You can retrigger this bot by commenting recheck in this Pull Request

@turcofran
Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Some instances of RPC code had rvalue reference arguments but did
not use std::forward wenn passing these arguments (or the other
way around). This harmonizes arguments and parameter forwarding to
always use rvalue ref and std::forward in pairs.
This commit makes it explicit which assignment operators
and constructors are available on the object class.
Furthermore the copy constructor and assignment operator
make deep copies of the object. This prevents double free
operations with the rpc_error class.
@mbr0wn
Copy link
Copy Markdown
Contributor

mbr0wn commented Mar 6, 2026

@turcofran We've so far merged two commits: The ARG_MAX fix and the catch for the checkpoint generation. We probably won't merge the chmod fix, because it's not portable enough. Still need to review the rest.

@mbr0wn
Copy link
Copy Markdown
Contributor

mbr0wn commented Mar 17, 2026

Alright, we've gone through this PR. All the smaller changes will be part of the next UHD release.

As for the user clocks, I don't think we need them and we are not planning to include them. I'll add an example of how custom clocks work without this new change and let you know offline.

@mbr0wn mbr0wn closed this Mar 17, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants