New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XRT failing to compile on Ubuntu 22.04 #6640
Comments
Probably OpenSSH decided that using MD5 considered broken since 2008 is to be really deprecated now :-) |
If you need an Ubuntu 22.04 machine, use |
We don't support 22.04 officially yet. This is being worked on for a future release of XRT. We have internal Jira tickets for this. |
since I spent some time investigating, i am sharing the findings |
@anupcs-xlnx do not close this ticket just because you can. This is an open-source project. You should keep it opened waiting for this to be solved some day. |
This reminds me ROCm/ROCm#1730 |
@xuhz Great so you can send a PR. :-) |
Agree with @keryell . This should not be closed. Leave it open until ultimately fixed. I made the mistake of assigning the issue, when that is the role of the PRT based on schedules etc. @keryell Disabling warnings in makefiles is a horrible work-around, if you can fix the compilation issues with a PR that would be greatly appreciated. |
It is not about disabling warning messages but warnings are errors in production because you do not control the environment this will be compiled for, so it might possibly break. Of course, keep the warnings are errors when developing or building supported packages. |
What do you suggest? There is no production per say, it is an Open Source project that you are welcome to contribute to, but we sure as heck don't want your warnings committed or even caught just by the CI; we want them in your face :-) Plus we are fully capable of producing and comitting our own warnings. |
Let's start with something simple:
That way it should be easier to screen external contributions. |
Provide build.sh option `-disable-werror` to disable warnings as errors. Not willing to disable `-Werror` by default, since I can't seem to find a good way to have it enabled for all internal builds including all developers. Fixes Xilinx#6640, maybe not exactly per comments, but close enough.
* WIP * Issue #6640 Option to disable warnings as error Provide build.sh option `-disable-werror` to disable warnings as errors. Not willing to disable `-Werror` by default, since I can't seem to find a good way to have it enabled for all internal builds including all developers. Fixes #6640, maybe not exactly per comments, but close enough.
I love the suggestion here from @keryell and appreciate that @stsoe implemented the optional usage of WError. |
Besides mild problem #6098 there are some failures due to warnings as errors
The text was updated successfully, but these errors were encountered: