ALSA segfault, buggy timer, and kernel > 2.4.20
gregdavis at ieee.org
Fri Jul 4 06:58:33 PDT 2003
Jeremy Utley wrote:
> On Thu, 2003-07-03 at 15:53, Gregory Davis wrote:
>> FWIW, I used gcc 2.95.3 to compile the kernel, and 3.2 to compile
>> else (ALSA and xmms etc etc). I'm fed up and am going to try downgrading
>> to kernel 2.4.20. Does it matter if kernel modules and the kernel itself
>> are compiled using different versions of GCC?
> Yes, it matters very much - anything that produces kernel modules should
> ALWAYS be compiled with the same compiler as you compiled the kernel
> with. In this case, doing similar to what you do with the kernel (make
> CC=/opt/gcc-2.95.3/bin/gcc) is enough for alsa, and most other packages
> I've seen. Most likely, this is the source of your problems.
OK thanks. Maybe there should be a note on that inserted into the BLFS book
for packages that produce kernel modules. I have already compiled a
linmodem package (thanks Jan Stifter) with a different compiler and it
works, leading to this confusion.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message
More information about the blfs-support