免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8213 | 回复: 7
打印 上一主题 下一主题

[服务应用] 诚心请教一个Linux Redhat 64位下GCC 4.8 安装问题 bug 已经困扰我很久了。。。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-03-02 18:09 |只看该作者 |倒序浏览
你好,麻烦请教个问题,困扰了我很久了。。
我想在linux Redhat 64 位系统上安装 GCC-4.8.2,出现了如下bug:
g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common-DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/home/LUC/local/gmp-4.3.2/include -I/home/LUC//local/mpfr-2.4.2/include -I/home/LUC//local/mpc-0.8.1/include-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber -I../.././gcc/../libbacktrace ../.././gcc/diagnostic.c -o diagnostic.o
g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common-DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/home/LUC/local/gmp-4.3.2/include -I/home/LUC//local/mpfr-2.4.2/include -I/home/LUC//local/mpc-0.8.1/include-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber -I../.././gcc/../libbacktrace ../.././gcc/pretty-print.c -o pretty-print.o
g++ -c-DLOCALEDIR=\/home/LUC/bin/share/locale\ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common-DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/home/LUC/local/gmp-4.3.2/include -I/home/LUC//local/mpfr-2.4.2/include -I/home/LUC//local/mpc-0.8.1/include-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber -I../.././gcc/../libbacktrace ../.././gcc/intl.c -o intl.o
g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common-DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/home/LUC/local/gmp-4.3.2/include -I/home/LUC//local/mpfr-2.4.2/include -I/home/LUC//local/mpc-0.8.1/include-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber -I../.././gcc/../libbacktrace ../.././gcc/input.c -o input.o
g++ -c-DBASEVER=\4.8.2\ -DDATESTAMP=\\ -DREVISION=\\ -DDEVPHASE=\\ -DPKGVERSION=\(GCC) \ -DBUGURL=\http://gcc.gnu.org/bugs.html\ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common-DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/home/LUC/local/gmp-4.3.2/include -I/home/LUC//local/mpfr-2.4.2/include -I/home/LUC//local/mpc-0.8.1/include-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber -I../.././gcc/../libbacktrace ../.././gcc/version.c -o version.o
rm -rf libcommon.a
ar rc libcommon.a diagnostic.o pretty-print.o intl.o input.o version.o
ranliblibcommon.a
build/genchecksum c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o tree-mudflap.o i386-c.o glibc-c.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \
checksum-options cc1-checksum.c.tmp && \
../.././gcc/../move-if-change cc1-checksum.c.tmp cc1-checksum.c
g++ -c-DIN_GCC_FRONTEND -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common-DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/home/LUC/local/gmp-4.3.2/include -I/home/LUC//local/mpfr-2.4.2/include -I/home/LUC//local/mpc-0.8.1/include-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber -I../.././gcc/../libbacktrace cc1-checksum.c -o cc1-checksum.o
g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common-DHAVE_CONFIG_H-o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o tree-mudflap.o i386-c.o glibc-c.o \
cc1-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/home/LUC/local/gmp-4.3.2/lib -L/home/LUC//local/mpfr-2.4.2/lib -L/home/LUC//local/mpc-0.8.1/lib -lmpc -lmpfr -lgmp -rdynamic -ldl-L../zlib -lz
c/c-decl.o: In function `tree_check(tree_node*, char const*, int, char const*, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3684: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-decl.o: In function `tree_check2(tree_node*, char const*, int, char const*, tree_code, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3703: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-decl.o: In function `tree_not_check2(tree_node*, char const*, int, char const*, tree_code, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3713: undefined reference to `tree_not_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-decl.o: In function `tree_check3(tree_node*, char const*, int, char const*, tree_code, tree_code, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3724: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-decl.o: In function `tree_not_check3(tree_node*, char const*, int, char const*, tree_code, tree_code, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3735: undefined reference to `tree_not_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-decl.o: In function `tree_check5(tree_node*, char const*, int, char const*, tree_code, tree_code, tree_code, tree_code, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3775: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-decl.o: In function `contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3798: undefined reference to `tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*)'
c/c-decl.o: In function `tree_class_check(tree_node*, tree_code_class, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3807: undefined reference to `tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)'
c/c-decl.o: In function `expr_check(tree_node*, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3853: undefined reference to `tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)'
c/c-decl.o: In function `non_type_check(tree_node*, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3863: undefined reference to `tree_not_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)'
c/c-decl.o: In function `tree_class_check(tree_node const*, tree_code_class, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:4017: undefined reference to `tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)'
c/c-decl.o: In function `tree_operand_check(tree_node*, int, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:4119: undefined reference to `tree_operand_check_failed(int, tree_node const*, char const*, int, char const*)'
c/c-typeck.o: In function `omp_clause_subcode_check(tree_node*, omp_clause_code, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3826: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3828: undefined reference to `omp_clause_check_failed(tree_node const*, char const*, int, char const*, omp_clause_code)'
c/c-typeck.o: In function `omp_clause_range_check(tree_node*, omp_clause_code, omp_clause_code, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3839: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3842: undefined reference to `omp_clause_range_check_failed(tree_node const*, char const*, int, char const*, omp_clause_code, omp_clause_code)'
c/c-typeck.o: In function `omp_clause_elt_check(tree_node*, int, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3883: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3885: undefined reference to `omp_clause_operand_check_failed(int, tree_node const*, char const*, int, char const*)'
c/c-typeck.o: In function `tree_check(tree_node const*, char const*, int, char const*, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3894: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-typeck.o: In function `tree_check2(tree_node const*, char const*, int, char const*, tree_code, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3913: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-typeck.o: In function `tree_check3(tree_node const*, char const*, int, char const*, tree_code, tree_code, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3934: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-typeck.o: In function `tree_not_check3(tree_node const*, char const*, int, char const*, tree_code, tree_code, tree_code)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3945: undefined reference to `tree_not_check_failed(tree_node const*, char const*, int, char const*, ...)'
c/c-typeck.o: In function `contains_struct_check(tree_node const*, tree_node_structure_enum, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:4008: undefined reference to `tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*)'
c/c-typeck.o: In function `expr_check(tree_node const*, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:4061: undefined reference to `tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)'
c/c-typeck.o: In function `tree_operand_check(tree_node const*, int, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:4140: undefined reference to `tree_operand_check_failed(int, tree_node const*, char const*, int, char const*)'
c/c-parser.o: In function `tree_vec_elt_check(tree_node*, int, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3872: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:3874: undefined reference to `tree_vec_elt_check_failed(int, int, char const*, int, char const*)'
c-family/c-common.o: In function `non_type_check(tree_node const*, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:4069: undefined reference to `tree_not_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)'
c-family/c-gimplify.o: In function `gimple_bind_block':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gimple.h:2906: undefined reference to `gimple_check_failed(gimple_statement_d const*, char const*, int, char const*, gimple_code, tree_code)'
c-family/c-omp.o: In function `tree_operand_check_code(tree_node*, tree_code, int, char const*, int, char const*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:4128: undefined reference to `tree_check_failed(tree_node const*, char const*, int, char const*, ...)'
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/tree.h:4130: undefined reference to `tree_operand_check_failed(int, tree_node const*, char const*, int, char const*)'
libbackend.a(gtype-desc.o): In function `gt_ggc_mx_rtx_def(void*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/gtype-desc.c:2090: undefined reference to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)'
libbackend.a(gtype-desc.o): In function `gt_pch_nx_rtx_def(void*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/gtype-desc.c:5017: undefined reference to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)'
libbackend.a(gtype-desc.o): In function `gt_pch_p_7rtx_def(void*, void*, void (*)(void*, void*), void*)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/gtype-desc.c:8331: undefined reference to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)'
libbackend.a(i386.o): In function `gimple_call_set_lhs':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gimple.h:2134: undefined reference to `gimple_check_failed(gimple_statement_d const*, char const*, int, char const*, gimple_code, tree_code)'
libbackend.a(i386.o): In function `gimple_call_fn':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gimple.h:2190: undefined reference to `gimple_check_failed(gimple_statement_d const*, char const*, int, char const*, gimple_code, tree_code)'
libbackend.a(i386.o): In function `gimple_call_arg':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gimple.h:2331: undefined reference to `gimple_check_failed(gimple_statement_d const*, char const*, int, char const*, gimple_code, tree_code)'
libbackend.a(i386.o): In function `setup_incoming_varargs_64':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:7732: undefined reference to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)'
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:7770: undefined reference to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)'
libbackend.a(i386.o): In function `setup_incoming_varargs_ms_64':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:7799: undefined reference to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)'
libbackend.a(i386.o): In function `ix86_check_movabs(rtx_def*, int)':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:8287: undefined reference to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)'
libbackend.a(i386.o): In function `ix86_emit_save_regs':
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:9292: undefined reference to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)'
libbackend.a(i386.o):/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386.c:9313: more undefined references to `rtl_check_failed_flag(char const*, rtx_def const*, char const*, int, char const*)' follow
collect2: ld returned 1 exit status
make[3]: *** [cc1] Error 1
make[3]: Leaving directory `/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/LUC/local/gcc-4.8.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/LUC/local/gcc-4.8.2'
make: *** [all] Error 2
在此之前,mpc mpfr gmc 都已安装
只是我的configure:
cd ..
cd gcc-4.8.2
$ ./configure --prefix=/home/LUC/bin --enable-threads=posix --enable-checking=release --disable-multilib --enable-languages=c,c++ --with-gmp=/home/LUC/local/gmp-4.3.2 --with-mpfr=/home/LUC//local/mpfr-2.4.2 --with-mpc=/home/LUC//local/mpc-0.8.1
谢谢 谢谢了啊

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2014-03-03 11:39 |只看该作者
这个是你make的输入,你看看是不是./configure的时候通过没?或者贴出./configure的日志记录。

论坛徽章:
0
3 [报告]
发表于 2014-03-03 18:05 |只看该作者
本帖最后由 linuxcainiao2014 于 2014-03-03 18:06 编辑

谢谢你!


回复 2# bakgho


$ ./configure --build=x86_64-linux-gnu --prefix=/home/LUC/bin --enable-threads=posix --enable-checking=release --disable-multilib  --enable-languages=c,c++ --with-gmp=/home/LUC/local/gmp-4.3.2 --with-mpfr=/home/LUC/local/mpfr-2.4.2 --with-mpc=/home/LUC/local/mpc-0.8.1 --with-system-zlib

结果:

checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libatomic support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for version 0.10 of ISL... no
checking for version 0.11 of ISL... no
checking for version 0.12 of ISL... no
*** This configuration is not supported in the following subdirectories:
     zlib gnattools target-libada target-libgfortran target-libgo target-libffi target-libbacktrace target-zlib target-libjava target-libobjc target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
*** removing build-x86_64-linux-gnu/libiberty/Makefile to force reconfigure
*** removing build-x86_64-linux-gnu/fixincludes/Makefile to force reconfigure
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... gcj
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... objdump
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... readelf
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
4 [报告]
发表于 2014-03-03 20:04 |只看该作者
configure是通过了,make的时候应该是不会出现大的错误的啊!

论坛徽章:
0
5 [报告]
发表于 2014-03-03 22:37 |只看该作者
回复 4# bakgho

后来发现  configure,还是有问题:

rtl.c 之中的 ENABLE_RTL_CHECKING 这个  骑士识别不了 ...

#if defined ENABLE_RTL_FLAG_CHECKING
void
rtl_check_failed_flag (const char *name, const_rtx r, const char *file,
                       int line, const char *func)
{
  internal_error
    ("RTL flag check: %s used with unexpected rtx code '%s' in %s, at %s:%d",
     name, GET_RTX_NAME (GET_CODE (r)), func, trim_filename (file), line);
}
#endif /* ENABLE_RTL_FLAG_CHECKING */


所以make.log 中 加入了 c-decl.o

手动添加 可以, 但是不现实啊...  
重新研究 configure 实现自动化 啊;

xiexie








   

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
6 [报告]
发表于 2014-03-04 10:00 |只看该作者
没事自己编GCC做啥 ?

论坛徽章:
0
7 [报告]
发表于 2018-11-14 17:37 |只看该作者
根据你的 make 的输出:你需要 cd 到
/home/LUC/local/gcc-4.8.2/host-x86_64-unknown-linux-gnu/gcc
然后在这个路径下面,会有一个 config.log 日志文件,你需要打开它,看它为什么报错,遇到了什么错误,然后再尝试解决。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP