Problems with Opteron compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



solution #2: "make -k"

Jean Delvare wrote:
>>sorry for sending this to the lm_sensors address, but I did not find
>>any separate i2c address one the web.
> 
> 
> We are the i2c people too :)
> 
> 
>>I checked out the most recent source code from CVS and tried to
>>compile the i2c package first, the compilation stopped with the
>>message below
>>
>>
>>gcc -D__SMP__ -I/lib/modules/2.4.19-SMP/build/include -nostdinc -I 
>>/opt/gcc33/lib64/gcc-lib/x86_64-suse-linux/3.3/include -Wall -O2 
>>-DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer
>>-DEXPORT_SYMTAB -fno-strict-aliasing -fno-common -fomit-frame-pointer
>>-mno-red-zone -mcmodel=kernel -fno-reorder-blocks -finline-limit=2000 
>>-fno-strength-reduce -c kernel/i2c-algo-biths.c -o
>>kernel/i2c-algo-biths.o/lib/modules/2.4.19-SMP/build/include/linux/mo
>>dule.h:300: warning: `__module_kernel_version' defined but not used
>>kernel/i2c-algo-biths.c:771: warning: `__module_license' defined but
>>not used
>>/tmp/cckgMevc.s: Assembler messages:
>>/tmp/cckgMevc.s:1387: Error: Incorrect register `%rdx' used with `l'
>>suffix make: *** [kernel/i2c-algo-biths.o] Error 1
>>
>>
>>I run Suse Linux Enterprise Server at the moment with Dual Opteron in
>>64 Bit mode with SLES 2.4.19 kernel (according to suse with the latest
>>relevant Opteron patches.
>>The error occurs both with gcc-3.2.2 und gcc-3.3
>>
>>Maybe this is interesting for you ..
> 
> 
> Sure. This module as a very short asm part in it, I think this is what
> causes the problem. Anyway, this module isn't very useful yet, so the
> best you can do is skip it. Edit kernel/Module.mk and comment out the
> following lines:
> KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
> KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
> 
> After that, i2c should compile and install OK (I hope).
> 
> We'll have a look at the faulty module and see what we can do to fix it.
> 



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux