Open ohell opened 3 years ago
Not the author, but it seems unlikely to me that this is a problem with this driver. These GCC messages indicate that you have link-time optimization (LTO) on, but some of the objects in the link have been by a different version of GCC than you have installed at the time of the link. Try nuking your build directories, maybe? (Why are you trying to build a kernel module with LTO anyway? Even for normal packages that’s not necessarily a good idea, and I don’t think the default makepkg configuration does it.)
I did a clean build after the first time install failed. The errors are from that process. and I have not set anything explicitly about LTO. I just run yay bcwc-pcie
and choose the option for clean build when asked.
webcam stopped working after updating to kernel 5.9.9. So I tried to do a fresh install of bcwc-pcie-git. Get an error, only for the new kernel version:
Looking at the log file, it seems package needs to be updated for newer libraries included with gcc? Also, I would be grateful if you can suggest a workaround (i.e. iis to possible to build using clang? what commands would be needed?)