-
Notifications
You must be signed in to change notification settings - Fork 347
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
[Bug]: Building kernels with cm_compiler from cmc_monorepo_110 fails #1775
Comments
suppose it is related with CMC compiler version, how about to use a older version? |
Yeah, it probably is. This is for Fedora packaging of the media-driver, and we no longer have llvm 8.0 in the distribution repositories, so older cm is unfortunately no-go. I can imagine updating/fixing the media-driver for the newer cm-compiler isn't a priority, but I'd guess it'll be done someday? (Edit: I did test the previous cm-compiler from cmc_monorepo_80, it didn't have this issue, but failed elsewhere as reported here: #1356 ) |
:) why not "DBUILD_KERNELS:BOOL=OFF", the final iHD_video_drv.so should be same, I am expecting no one will change media kernel code, "open source media kernel" just was used to prove that the binary could be compiled. |
That is unfortunately prohibited in Fedora packages, it has to be built from the source, or removed, so we're currently shipping the media-driver without kernels :( |
Auto Created VSMGWL-72132 for further analysis. |
hi @frantisekz , sorry for inconvenience firstly. |
@XinfengZhang thanks for the reply, I do greatly appreciate that! For the non-free option - since I am working/maintaining the media-driver component in Fedora, there are strict rules what can be the part of the package, and having anything close-sourced or potentially targeted by IP protection is a "big no-no". (In order to get the package in, I am required to even do the source tarball stripping of the "non-free" kernels before uploading the archive to the pool for the build infrastructure. The codecs/multimedia world is a patent minefield unfortunately...) The current status of the media-driver in the distribution is that we ship it without any kernels, because the build_kernel option doesn't work with cm-compiler from llvm 11 branch. Being at least able to have "some" form of vaapi support for Intel out of the box in Fedora is a great deal for our users, and a huge improvement compared to the previous situation. Ideally, we'd be able to at least somehow continue building media-driver (even if restricted in features) without any kernels, and being able to rebuild the free kernels, even if in the future and for just some architectures, would be the "optimal" outcome for Fedora and potentially its downstream RHEL. If the driver ceased to work without any kernels, and/or an ability to rebuild free kernels, it'd have to be removed from Fedora. |
Could the media driver be built with a bundled compiler? |
Which component impacted?
Build
Is it regression? Good in old configuration?
No, this issue exist a long time
What happened?
What's the usage scenario when you are seeing the problem?
Others
What impacted?
No response
Debug Information
No response
Do you want to contribute a patch to fix the issue?
None
The text was updated successfully, but these errors were encountered: