Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 12128

Summary: modutils-2.4.22 says modules were compiled with GCC 2
Product: Gentoo Linux Reporter: Mauricio Lima Pilla <pilla>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED INVALID    
Severity: critical CC: lostlogic, mjc
Priority: Normal    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mauricio Lima Pilla 2002-12-13 18:46:26 UTC
I've upgraded modutils to 2.4.22 and it was not able to load my lucent winmodem
drivers. The message stated that my modules were compiled with a GCC version 2
compiler, and my kernel with GCC 3, and it wouldn't work.

I am sure my modules were compiled with gcc 3.2, as I don't have gcc 2.xx
installed in my system.

I've downgraded it back to 2.4.19, which works.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-13 23:56:23 UTC
Isnt the lucent drivers pre-compiled ?  If so, its very possible that they were
compiled with 2.95.3 ....
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-14 08:40:55 UTC
Try with following command:

 # insmod -f <your module>
Comment 3 Mauricio Lima Pilla 2002-12-14 08:46:30 UTC
No, they were compiled in my machine for sure, because they don't recognize the
kernel I am using (2.4.20-lolo-pre3).

I'll try later to emerge it again and load the modules (I cannot do it right now
because I am connected using the modules).

Cheers.
Comment 4 Mauricio Lima Pilla 2002-12-14 10:31:33 UTC
insmod -f works. I did some research and the lt_modem.o is not compiled. The
scripts use a ltmdmobj.o to make lt_modem.o, so it was really compiled with gcc
2. My fault here. 

The lt_serial.o, on the other side, seems to be compiled with gcc 3.2. And it
does not warn when it is loaded, so it is OK.

Anyway, the modules seem to work even with all the warnings.