[Gauche-devel-jp] Re: Debian serge/kernel 2.6でgoshが「不正な命令です」

Back to archive index

yasuy****@javao***** yasuy****@javao*****
2004年 12月 21日 (火) 17:55:38 JST


えんどうです。

> if test `echo $CC | sed 's/\(.*\)-.*/\1/'` = "gcc"; then

-fomit-frame-pointer が付加されると今度は以下のエラーになりました。

gcc-2.95 -g -O2 -fPIC    -shared -o auxsys.so auxsys_head.o auxsys.o auxsyslib.o auxsys_tail.o -L../..//src   -ldl -lcrypt -lutil -lmmake[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/auxsys'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/threads'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c threads_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c threads.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c mutex.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c thrlib.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c threads_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o threads.so threads_head.o threads.o mutex.o thrlib.o threads_tail.o -L../..//src   -ldl -lcrypt -lutil -lm 
make[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/threads'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/uvector'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c uvector_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c uvector.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c uvinit.crm -rf uvlib.stub
../..//src/gosh -ftest -ftest ./uvgen.scm uvlib.stub.tmpl
make[2]: *** [uvlib.stub] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/uvector'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/charconv'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c charconv_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c charconv.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c convlib.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c jconv.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c guess.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c charconv_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o libcharconv.so charconv_head.o charconv.o convlib.o jconv.o guess.o charconv_tail.o -L../..//src   -ldl -lcrypt -lutil -lm
make[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/charconv'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/binary'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c binary_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c binary.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c binarylib.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c binary_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o binary.so binary_head.o binary.o binarylib.o binary_tail.o -L../..//src   -ldl -lcrypt -lutil -lmmake[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/binary'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/net'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c net_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c net.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c addr.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c netdb.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c netlib.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c net_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o libnet.so net_head.o net.o addr.o netdb.o netlib.o net_tail.o -L../..//src   -ldl -lcrypt -lutil -lmmake[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/net'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/termios'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c termios_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c termios.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c termiolib.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c termios_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o termios.so termios_head.o termios.o termiolib.o termios_tail.o  -L../..//src   -ldl -lcrypt -lutil -lmmake[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/termios'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/fcntl'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c fcntl_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c fcntl.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c fcntlib.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c fcntl_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o fcntl.so fcntl_head.o fcntl.o fcntlib.o fcntl_tail.o -L../..//src   -ldl -lcrypt -lutil -lm
make[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/fcntl'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/sxml'
../..//src/gosh -ftest ./trans.scm ssax.scm.in
make[2]: *** [ssax.scm] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/sxml'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/syslog'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c syslog_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c syslog.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c syslog_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o syslog.so syslog_head.o syslog.o syslog_tail.o -L../..//src   -ldl -lcrypt -lutil -lmmake[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/syslog'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/dbm'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c odbm_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c odbm.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c odbm_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o odbm.so odbm_head.o odbm.o odbm_tail.o -L../..//src  -lgdbm_compat -ldl -lcrypt -lutil -lm    -ldl -lcrypt -lutil -lm
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c gdbm_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c gdbm.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c gdbm_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o gdbm.so gdbm_head.o gdbm.o gdbm_tail.o -L../..//src  -lgdbm  -ldl -lcrypt -lutil -lm
make[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/dbm'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/mt-random'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c mt-random_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c mt-random.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c mt-lib.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c mt-random_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o mt-random.so mt-random_head.o mt-random.o mt-lib.o mt-random_tail.o  -L../..//src   -ldl -lcrypt -lutil -lm
make[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/mt-random'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/digest'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c md5_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c md5.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c md5c.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c md5_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o md5.so md5_head.o md5.o md5c.o md5_tail.o -L../..//src   -ldl -lcrypt -lutil -lm
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c sha1_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c sha1.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c sha.cgcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c sha1_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o sha1.so sha1_head.o sha1.o sha.o sha1_tail.o -L../..//src   -ldl -lcrypt -lutil -lmmake[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/digest'
make[2]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/ext/vport'
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c vport_head.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c vport.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c vportlib.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I../../src -I../../gc/include  -I./../uvector  -g -O2 -fPIC  -fomit-frame-pointer -march=i686 -DUSE_I686_PREFETCH -c vport_tail.c
gcc-2.95 -g -O2 -fPIC    -shared -o vport.so vport_head.o vport.o vportlib.o vport_tail.o  -L../..//src   -ldl -lcrypt -lutil -lmmake[2]: *** [link] 不正な命令です
make[2]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext/vport'
make[1]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/ext'
make[1]: Entering directory `/home/yasuyuki/src/Gauche-0.8.3/doc'
../src/gosh -q -I../src -I../lib -lgauche-init ./extract -en -o gauche-refe.texi gauche-ref.texi
make[1]: *** [gauche-refe.texi] 不正な命令です
make[1]: Leaving directory `/home/yasuyuki/src/Gauche-0.8.3/doc'
make: *** [all] エラー 2

-- 
ENDO Yasuyuki <yasuy****@javao*****>
http://www.javaopen.org/~yasuyuki/ (Personal/Japanese Only)
http://www.javaopen.org/jfriends/ (Japanese Only)





Gauche-devel-jp メーリングリストの案内
Back to archive index