tar zxf nn-6.5.1.tar.gz
cd nn-6.5.1
zcat ../knn-1.1.4wip9@6.5.1.patch.gz| patch -s -p0
cp config.h-dist config.h
patch -s < knn-NetBSD-patch
make
とするが、次のようなところで止ってしまう。
(gcc 2.7.2.2)
makoto@tateyama 10:09:23/980425(...ml-making/nn-6.5.1)> make
make -f ymakefile all
gcc -Iconf -O2 -c more.c
more.c: In function `more':
more.c:1555: Could not find a spill register
(insn:HI 1554 1553 1555 (set (mem/s:DI (plus:SI (mult:SI (reg/v:SI 49)
(const_int 8))
(reg/v:SI 44)))
(sign_extend:DI (reg:SI 0 d0))) 58 {extendsidi2} (insn_list 1549 (insn_list 1552 (nil)))
(expr_list:REG_DEAD (reg:SI 0 d0)
(nil)))
gcc: Internal compiler error: program cc1 got fatal signal 6
*** Error code 1
Stop.
*** Error code 1
Stop.
makoto@tateyama 10:10:58/980425(...ml-making/nn-6.5.1)>
case 文が沢山あるのが関係しているのかな。
makoto@tateyama 10:11:53/980425(...ml-making/nn-6.5.1)> grep 'case K' more.c | wc
57 114 1367
makoto@tateyama 10:11:57/980425(...ml-making/nn-6.5.1)>