Current-Users archive

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

current build error: Error: suffix or operands invalid for `mov'



Hi,

Current build failed with:

...
include -I/usr/src/sys/external/intel-public/acpica/dist/include -c 
/usr/src/sys/compat/linux/arch/i386/linux_exec_machdep.c
/tmp/ccP4dizl.s: Assembler messages:
/tmp/ccP4dizl.s:917: Error: suffix or operands invalid for `mov'

This erorr comes from below inline asm code.

        #ifdef LINUX_NPTL
        static __inline void
        load_gs(u_int sel)
        {
                __asm __volatile("movl %0,%%gs" : : "rm" (sel)); 
        }

It become such asm code...

        movl 8(%ebp),%gs


-- 
Takahiro Kambe <taca%back-street.net@localhost>



Home | Main Index | Thread Index | Old Index