交叉编译 GDB 失败
[root@192 gdb-build]# make install
make[1]: 进入目录“/home/geyu/tmp/src/gdb-build”
/bin/sh ../gdb-8.2/mkinstalldirs /usr/local/i386elfgcc /usr/local/i386elfgcc
make[2]: 进入目录“/home/geyu/tmp/src/gdb-build/bfd”
make install-recursive
make[3]: 进入目录“/home/geyu/tmp/src/gdb-build/bfd”
Making install in doc
make[4]: 进入目录“/home/geyu/tmp/src/gdb-build/bfd/doc”
/usr/bin/mkdir -p '/usr/local/i386elfgcc/share/info'
/usr/bin/install -c -m 644 ../../../gdb-8.2/bfd/doc/bfd.info '/usr/local/i386elfgcc/share/info'
install-info --info-dir='/usr/local/i386elfgcc/share/info' '/usr/local/i386elfgcc/share/info/bfd.info'
make[4]: 离开目录“/home/geyu/tmp/src/gdb-build/bfd/doc”
Making install in po
make[4]: 进入目录“/home/geyu/tmp/src/gdb-build/bfd/po”
if test -r ../../../gdb-8.2/bfd/../mkinstalldirs; then
../../../gdb-8.2/bfd/../mkinstalldirs /usr/local/i386elfgcc/share;
else
../../../gdb-8.2/bfd/mkinstalldirs /usr/local/i386elfgcc/share;
fi
mkdir -p -- /usr/local/i386elfgcc/share/locale/da/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/da.gmo as /usr/local/i386elfgcc/share/locale/da/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/es/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/es.gmo as /usr/local/i386elfgcc/share/locale/es/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/fi/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/fi.gmo as /usr/local/i386elfgcc/share/locale/fi/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/fr/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/fr.gmo as /usr/local/i386elfgcc/share/locale/fr/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/hr/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/hr.gmo as /usr/local/i386elfgcc/share/locale/hr/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/id/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/id.gmo as /usr/local/i386elfgcc/share/locale/id/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/ja/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/ja.gmo as /usr/local/i386elfgcc/share/locale/ja/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/pt/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/pt.gmo as /usr/local/i386elfgcc/share/locale/pt/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/ro/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/ro.gmo as /usr/local/i386elfgcc/share/locale/ro/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/ru/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/ru.gmo as /usr/local/i386elfgcc/share/locale/ru/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/rw/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/rw.gmo as /usr/local/i386elfgcc/share/locale/rw/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/sr/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/sr.gmo as /usr/local/i386elfgcc/share/locale/sr/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/sv/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/sv.gmo as /usr/local/i386elfgcc/share/locale/sv/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/tr/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/tr.gmo as /usr/local/i386elfgcc/share/locale/tr/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/uk/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/uk.gmo as /usr/local/i386elfgcc/share/locale/uk/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/vi/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/vi.gmo as /usr/local/i386elfgcc/share/locale/vi/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/zh_CN/LC_MESSAGES
installing ../../../gdb-8.2/bfd/po/zh_CN.gmo as /usr/local/i386elfgcc/share/locale/zh_CN/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/da.gmo as /usr/local/i386elfgcc/share/locale/da/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/es.gmo as /usr/local/i386elfgcc/share/locale/es/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/fi.gmo as /usr/local/i386elfgcc/share/locale/fi/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/fr.gmo as /usr/local/i386elfgcc/share/locale/fr/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/hr.gmo as /usr/local/i386elfgcc/share/locale/hr/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/id.gmo as /usr/local/i386elfgcc/share/locale/id/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/ja.gmo as /usr/local/i386elfgcc/share/locale/ja/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/pt.gmo as /usr/local/i386elfgcc/share/locale/pt/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/ro.gmo as /usr/local/i386elfgcc/share/locale/ro/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/ru.gmo as /usr/local/i386elfgcc/share/locale/ru/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/rw.gmo as /usr/local/i386elfgcc/share/locale/rw/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/sr.gmo as /usr/local/i386elfgcc/share/locale/sr/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/sv.gmo as /usr/local/i386elfgcc/share/locale/sv/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/tr.gmo as /usr/local/i386elfgcc/share/locale/tr/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/uk.gmo as /usr/local/i386elfgcc/share/locale/uk/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/vi.gmo as /usr/local/i386elfgcc/share/locale/vi/LC_MESSAGES/bfd.mo
installing ../../../gdb-8.2/bfd/po/zh_CN.gmo as /usr/local/i386elfgcc/share/locale/zh_CN/LC_MESSAGES/bfd.mo
if test "bfd" = "gettext"; then
if test -r ../../../gdb-8.2/bfd/../mkinstalldirs; then
../../../gdb-8.2/bfd/../mkinstalldirs /usr/local/i386elfgcc/share/gettext/po;
else
../../../gdb-8.2/bfd/mkinstalldirs /usr/local/i386elfgcc/share/gettext/po;
fi;
/usr/bin/install -c -m 644 ../../../gdb-8.2/bfd/po/Makefile.in.in
/usr/local/i386elfgcc/share/gettext/po/Makefile.in.in;
else
: ;
fi
make[4]: 离开目录“/home/geyu/tmp/src/gdb-build/bfd/po”
make[4]: 进入目录“/home/geyu/tmp/src/gdb-build/bfd”
make[5]: 进入目录“/home/geyu/tmp/src/gdb-build/bfd”
make[5]: 对“install-exec-am”无需做任何事。
make[5]: 离开目录“/home/geyu/tmp/src/gdb-build/bfd”
make[4]: 离开目录“/home/geyu/tmp/src/gdb-build/bfd”
make[3]: 离开目录“/home/geyu/tmp/src/gdb-build/bfd”
make[2]: 离开目录“/home/geyu/tmp/src/gdb-build/bfd”
make[2]: 进入目录“/home/geyu/tmp/src/gdb-build/opcodes”
Making install in .
make[3]: 进入目录“/home/geyu/tmp/src/gdb-build/opcodes”
make[4]: 进入目录“/home/geyu/tmp/src/gdb-build/opcodes”
make[4]: 对“install-exec-am”无需做任何事。
make[4]: 离开目录“/home/geyu/tmp/src/gdb-build/opcodes”
make[3]: 离开目录“/home/geyu/tmp/src/gdb-build/opcodes”
Making install in po
make[3]: 进入目录“/home/geyu/tmp/src/gdb-build/opcodes/po”
if test -r ../../../gdb-8.2/opcodes/../mkinstalldirs; then
../../../gdb-8.2/opcodes/../mkinstalldirs /usr/local/i386elfgcc/share;
else
../../../gdb-8.2/opcodes/mkinstalldirs /usr/local/i386elfgcc/share;
fi
installing ../../../gdb-8.2/opcodes/po/da.gmo as /usr/local/i386elfgcc/share/locale/da/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/de/LC_MESSAGES
installing ../../../gdb-8.2/opcodes/po/de.gmo as /usr/local/i386elfgcc/share/locale/de/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/es.gmo as /usr/local/i386elfgcc/share/locale/es/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/fi.gmo as /usr/local/i386elfgcc/share/locale/fi/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/fr.gmo as /usr/local/i386elfgcc/share/locale/fr/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/ga/LC_MESSAGES
installing ../../../gdb-8.2/opcodes/po/ga.gmo as /usr/local/i386elfgcc/share/locale/ga/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/id.gmo as /usr/local/i386elfgcc/share/locale/id/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/it/LC_MESSAGES
installing ../../../gdb-8.2/opcodes/po/it.gmo as /usr/local/i386elfgcc/share/locale/it/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/nl/LC_MESSAGES
installing ../../../gdb-8.2/opcodes/po/nl.gmo as /usr/local/i386elfgcc/share/locale/nl/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/i386elfgcc/share/locale/pt_BR/LC_MESSAGES
installing ../../../gdb-8.2/opcodes/po/pt_BR.gmo as /usr/local/i386elfgcc/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/ro.gmo as /usr/local/i386elfgcc/share/locale/ro/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/sr.gmo as /usr/local/i386elfgcc/share/locale/sr/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/sv.gmo as /usr/local/i386elfgcc/share/locale/sv/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/tr.gmo as /usr/local/i386elfgcc/share/locale/tr/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/uk.gmo as /usr/local/i386elfgcc/share/locale/uk/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/vi.gmo as /usr/local/i386elfgcc/share/locale/vi/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/zh_CN.gmo as /usr/local/i386elfgcc/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/da.gmo as /usr/local/i386elfgcc/share/locale/da/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/de.gmo as /usr/local/i386elfgcc/share/locale/de/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/es.gmo as /usr/local/i386elfgcc/share/locale/es/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/fi.gmo as /usr/local/i386elfgcc/share/locale/fi/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/fr.gmo as /usr/local/i386elfgcc/share/locale/fr/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/ga.gmo as /usr/local/i386elfgcc/share/locale/ga/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/id.gmo as /usr/local/i386elfgcc/share/locale/id/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/it.gmo as /usr/local/i386elfgcc/share/locale/it/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/nl.gmo as /usr/local/i386elfgcc/share/locale/nl/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/pt_BR.gmo as /usr/local/i386elfgcc/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/ro.gmo as /usr/local/i386elfgcc/share/locale/ro/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/sr.gmo as /usr/local/i386elfgcc/share/locale/sr/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/sv.gmo as /usr/local/i386elfgcc/share/locale/sv/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/tr.gmo as /usr/local/i386elfgcc/share/locale/tr/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/uk.gmo as /usr/local/i386elfgcc/share/locale/uk/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/vi.gmo as /usr/local/i386elfgcc/share/locale/vi/LC_MESSAGES/opcodes.mo
installing ../../../gdb-8.2/opcodes/po/zh_CN.gmo as /usr/local/i386elfgcc/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
if test "opcodes" = "gettext"; then
if test -r ../../../gdb-8.2/opcodes/../mkinstalldirs; then
../../../gdb-8.2/opcodes/../mkinstalldirs /usr/local/i386elfgcc/share/gettext/po;
else
../../../gdb-8.2/opcodes/mkinstalldirs /usr/local/i386elfgcc/share/gettext/po;
fi;
/usr/bin/install -c -m 644 ../../../gdb-8.2/opcodes/po/Makefile.in.in
/usr/local/i386elfgcc/share/gettext/po/Makefile.in.in;
else
: ;
fi
make[3]: 离开目录“/home/geyu/tmp/src/gdb-build/opcodes/po”
make[2]: 离开目录“/home/geyu/tmp/src/gdb-build/opcodes”
make[2]: 进入目录“/home/geyu/tmp/src/gdb-build/etc”
make[2]: 对“install”无需做任何事。
make[2]: 离开目录“/home/geyu/tmp/src/gdb-build/etc”
make[2]: 进入目录“/home/geyu/tmp/src/gdb-build/intl”
make[2]: 对“install”无需做任何事。
make[2]: 离开目录“/home/geyu/tmp/src/gdb-build/intl”
make[2]: 进入目录“/home/geyu/tmp/src/gdb-build/libdecnumber”
make[2]: 对“install”无需做任何事。
make[2]: 离开目录“/home/geyu/tmp/src/gdb-build/libdecnumber”
make[2]: 进入目录“/home/geyu/tmp/src/gdb-build/libiberty”
make[3]: 进入目录“/home/geyu/tmp/src/gdb-build/libiberty/testsuite”
make[3]: 对“all”无需做任何事。
make[3]: 离开目录“/home/geyu/tmp/src/gdb-build/libiberty/testsuite”
if test -n ""; then
/bin/sh ../../gdb-8.2/libiberty/../mkinstalldirs /usr/local/i386elfgcc/lib//usr/bin/gcc -g -O2 -print-multi-os-directory
;
/usr/bin/install -c -m 644 ./libiberty.a /usr/local/i386elfgcc/lib//usr/bin/gcc -g -O2 -print-multi-os-directory
/./libiberty.an;
( cd /usr/local/i386elfgcc/lib//usr/bin/gcc -g -O2 -print-multi-os-directory
; chmod 644 ./libiberty.an ;ranlib ./libiberty.an );
mv -f /usr/local/i386elfgcc/lib//usr/bin/gcc -g -O2 -print-multi-os-directory
/./libiberty.an /usr/local/i386elfgcc/lib//usr/bin/gcc -g -O2 -print-multi-os-directory
/./libiberty.a;
case "" in
/*) thd=;;
*) thd=/usr/local/i386elfgcc/include/;;
esac;
/bin/sh ../../gdb-8.2/libiberty/../mkinstalldirs h cats; do
lang=basename $cat | sed 's/\.gmo$//'
;
if [ -f cat ]; then cat=../../gdb-8.2/gdb/lang/LC_MESSAGES;
echo /bin/sh ../../gdb-8.2/gdb/../mkinstalldirs dir || exit 1;
echo /usr/bin/install -c -m 644 dir/gdb.mo;
/usr/bin/install -c -m 644 dir/gdb.mo;
done
transformed_name=t='s&^&i386-elf-&'; \ echo gdb | sed -e "$t"
;
if test "xtransformed_name ;
/bin/sh ../../gdb-8.2/gdb/../mkinstalldirs /usr/local/i386elfgcc/include/gdb ;
/usr/bin/install -c -m 644 jit-reader.h /usr/local/i386elfgcc/include/gdb/jit-reader.h
mkdir -p -- /usr/local/i386elfgcc/include/gdb
if test "x" != x;
then
transformed_name=t='s&^&i386-elf-&'; \ echo gcore | sed -e "$t"
;
if test "xtransformed_name;
fi
transformed_name=t='s&^&i386-elf-&'; \ echo gdb-add-index | sed -e "$t"
;
if test "xtransformed_name
make[4]: 进入目录“/home/geyu/tmp/src/gdb-build/gdb”
make[5]: 进入目录“/home/geyu/tmp/src/gdb-build/gdb/doc”
(test "ln -s" = "ln -s" &&
ln -s ../../../gdb-8.2/gdb/doc/all-cfg.texi gdb-cfg.texi) ||
ln ../../../gdb-8.2/gdb/doc/all-cfg.texi gdb-cfg.texi ||
cp ../../../gdb-8.2/gdb/doc/all-cfg.texi gdb-cfg.texi
date=sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$/\1/p' ../../../gdb-8.2/gdb/doc/../../bfd/version.h
;
sed -e "s/DATE/$date/" < ../../../gdb-8.2/gdb/doc/../version.in > version.subst
echo "@set GDBVN sed q version.subst
" > ./GDBvn.new
if [ -n "(GDB) " ]; then
echo "@set VERSION_PACKAGE (GDB) " >> ./GDBvn.new;
fi
echo "@set BUGURL @uref{http://www.gnu.org/software/gdb/bugs/}" >> ./GDBvn.new
if [ "@uref{http://www.gnu.org/software/gdb/bugs/}" = "@uref{http://www.gnu.org/software/gdb/bugs/}" ]; then
echo "@set BUGURL_DEFAULT" >> ./GDBvn.new;
fi
if test -z "-I ../../../gdb-8.2/gdb/doc/../../readline/doc"; then
echo "@set SYSTEM_READLINE" >> ./GDBvn.new;
fi
if [ -n "" ]; then
echo "@set SYSTEM_GDBINIT " >> ./GDBvn.new;
fi
mv GDBvn.new GDBvn.texi
/home/geyu/tmp/src/gdb-8.2/missing makeinfo --split-size=5000000 --split-size=5000000 -I ../../../gdb-8.2/gdb/doc/../../readline/doc -I ../../../gdb-8.2/gdb/doc/../mi -I ../../../gdb-8.2/gdb/doc
-o gdb.info ../../../gdb-8.2/gdb/doc/gdb.texinfo
/home/geyu/tmp/src/gdb-8.2/missing:行81: makeinfo: 未找到命令
WARNING: 'makeinfo' is missing on your system.
You should only need it if you modified a '.texi' file, or
any other file indirectly affecting the aspect of the manual.
You might want to install the Texinfo package:
http://www.gnu.org/software/texinfo/
The spurious makeinfo call might also be the consequence of
using a buggy 'make' (AIX, DU, IRIX), in which case you might
want to install GNU make:
http://www.gnu.org/software/make/
make[5]: *** [Makefile:486:gdb.info] 错误 127
make[5]: 离开目录“/home/geyu/tmp/src/gdb-build/gdb/doc”
make[4]: *** [Makefile:2024:subdir_do] 错误 1
make[4]: 离开目录“/home/geyu/tmp/src/gdb-build/gdb”
make[3]: *** [Makefile:1741:install-only] 错误 2
make[3]: 离开目录“/home/geyu/tmp/src/gdb-build/gdb”
make[2]: *** [Makefile:1735:install] 错误 2
make[2]: 离开目录“/home/geyu/tmp/src/gdb-build/gdb”
make[1]: *** [Makefile:9155:install-gdb] 错误 2
make[1]: 离开目录“/home/geyu/tmp/src/gdb-build”
make: *** [Makefile:2222:install] 错误 2