<div style="font-family: arial; font-size: 14px;"><span>Hi,<br></span></div><div style="font-family: arial; font-size: 14px;"><span><br></span></div><div style="font-family: arial; font-size: 14px;"><span>I have a problem and please let me know if there is a solution.</span><div><span>I tried to build a module for dkms and got the following warning:</span></div><div><span>----------------------------</span></div><div><span>warning: the compiler differs from the one used to build the kernel</span></div><div><span>  The kernel was built by: gcc (GCC) 11.1.0</span></div><div><span>  You are using:           gcc (GCC) 11.2.0</span></div><div><span>----------------------------</span></div><div><br></div><div><span>I thought it was a problem caused by updating GCC and tried to </span></div><div><span>downgrade to get GCC back from 11.2.0 to 11.1.0. <br></span></div><div><span>For the downgrade, I used the "downgrade" provided by AUR.</span></div><div><br></div><div><span>----------------------------</span></div><div><span>$ sudo downgrade gcc gcc-libs</span></div><div><span>----------------------------</span></div><div><br></div><div><span>However, running this command causes a conflict with binutils. </span></div><div><br></div><div><span>----------------------------</span></div><div><span>error: failed to commit transaction (conflicting files)</span></div><div><span>/usr/include/libiberty/ansidecl.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/demangle.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/dyn-string.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/fibheap.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/floatformat.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/hashtab.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/libiberty.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/objalloc.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/partition.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/safe-ctype.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/sort.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/splay-tree.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/include/libiberty/timeval-utils.h exists in both 'binutils' and 'gcc'</span></div><div><span>/usr/lib/libiberty.a exists in both 'binutils' and 'gcc'</span></div><div><span>----------------------------</span></div><div><br></div><div><span>Has anyone had a similar problem?</span></div><div><span>thank you. </span></div><span></span></div><div class="protonmail_signature_block" style="font-family: arial; font-size: 14px;">
</div>