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

Re: kernel softfloat emulation



ushioda です。
あちこちと変更が有ったようなので kernel を作り直そうとしています。
GENERIC kernel はすんなり出来たのですが、IPSec を組み込もうとすると

mipsel-netbsd-gcc -x assembler-with-cpp -traditional-cpp -D_LOCORE -I../../../../../../lib/libkern/arch/mips -I../../. -I../../../../../../arch -I../../../../../.. -nostdinc -DMIPS3 -DMIPS3_4100 -DSOFTFLOAT -DNKMEMCLUSTERS="0x400" -DIPSEC_DEBUG -D__NO_SOFT_SERIAL_INTERRUPT -DMAXUSERS=8 -D_KERNEL -Dhpcmips -D__hpcmips__  -nostdinc -idirafter /emul/mips//usr/include -c -traditional-cpp -DPIC -DABICALLS ../../../../../../lib/libkern/arch/i386/random.S
../../../../../../lib/libkern/arch/i386/random.S: Assembler messages:
../../../../../../lib/libkern/arch/i386/random.S:85: Error: unrecognized opcode `entry(random)'
../../../../../../lib/libkern/arch/i386/random.S:86: Error: unrecognized opcode `movl $16807,%eax'
../../../../../../lib/libkern/arch/i386/random.S:87: Error: unrecognized opcode `imull randseed'
../../../../../../lib/libkern/arch/i386/random.S:88: Error: unrecognized opcode `shld $1,%eax,%edx'
../../../../../../lib/libkern/arch/i386/random.S:89: Error: unrecognized opcode `andl $0x7fffffff,%eax'
../../../../../../lib/libkern/arch/i386/random.S:90: Error: unrecognized opcode `addl %edx,%eax'
../../../../../../lib/libkern/arch/i386/random.S:91: Error: unrecognized opcode `js 1f'
../../../../../../lib/libkern/arch/i386/random.S:92: Error: unrecognized opcode `movl %eax,randseed'
../../../../../../lib/libkern/arch/i386/random.S:93: Error: unrecognized opcode `ret'
../../../../../../lib/libkern/arch/i386/random.S:95: Error: unrecognized opcode `subl $0x7fffffff,%eax'
../../../../../../lib/libkern/arch/i386/random.S:96: Error: unrecognized opcode `movl %eax,randseed'
../../../../../../lib/libkern/arch/i386/random.S:97: Error: unrecognized opcode `ret'
*** Error code 1

Stop.
*** Error code 1

Stop.

と言うことに成ってしまいます。
同じ source の i386 では、make build は出来ないものの kernel
の構築は出来ています。

私が何かミスって居る? hpcmips は未 support?