> Does anyone else get this warning? I applied Alan Modra's patch
> for arch/i386/lib/checksum.c but no change. I didn't get this
> in previous correction version.
mis-applied patch ?
> make[2]: Entering directory `/usr/src/linux/arch/i386/lib'
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o checksum.o
> checksum.c
> {standard input}: Assembler messages:
> {standard input}:143: Warning: warning: missing prefix `*' in absolute
> indirect address, maybe misassembled!
When you get these sorts of warnings or errors from the assembler, compile
using -S (and without -o <file>) to find the instruction that the
assembler is complaining about. *
ie. for the above do
cd /usr/src/linux/arch/i386/lib
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2\
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2\
-malign-jumps=2 -malign-functions=2 -DCPU=686 -S checksum.c
Now have a look at line 143 of the resulting checksum.s file. You should
be able to trace this back to the offending assembly instruction in
checksum.c
* Note. You need to use -E rather than -S if gcc is processing .S assembly
files rather than .c files.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu