LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 773|回复: 8

gcc-3.4-20031231编译gcc-3.4-20040107的时候出错?不知道是新的还是旧的有问题?

[复制链接]
发表于 2004-1-9 12:53:33 | 显示全部楼层 |阅读模式
c-pretty-print.c:432: internal compiler error: in output_die, at dwarf2out.c:6672
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [c-pretty-print.o] 错误 1
make[2]: Leaving directory `/source/lfssoft/gcc-3.4-20040107/gcc'
make[1]: *** [stage1_build] 错误 2
make[1]: Leaving directory `/source/lfssoft/gcc-3.4-20040107/gcc'
make: *** [bootstrap] 错误 2
[root@LFS_nptl /source/lfssoft/gcc-3.4-20040107]#


Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ../gcc-3.4-20031231/configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc,f77,java --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.0 20031231 (experimental)
发表于 2004-1-9 14:27:56 | 显示全部楼层
这是原来的bug,我提交给gcc开发组了,2004-1-1已经修复了,我在lfs下试过gcc-3.4-20040104,没问题了
发表于 2004-1-9 14:31:43 | 显示全部楼层
看看 gcc-3.4/gcc/ChangeLog文件,如有下面的内容则是修复过的(注意PR debug/13367)

2003-12-31  Jan Hubicka  <jh@suse.cz>

        PR opt/13473
        * recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
        ASM input operands

        PR opt/12617
        * toplev.c (dump_file_index): Reorder ce3 and bbro.
        (dump_file): Likewise.
        (rest_of_compilation): Likewise.

        PR debug/13367
        * cgraph.c (cgraph_function_possibly_inlined):  Even with
        flag_really_no_inline we inline always_inline functions.
        * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
        for non-always_inline functions when there is flag_really_no_inline.
        (cgraph_decide_inlining): Limit work done when not inlining.
        (cgraph_decide_inlining_incrementally): Likewise.
        (cgraph_optimize_function): Check whether something got inlined.
        * c-objc-common.c (c_disregard_inline_limits): Do not always inline
        extern inline functions when not inlining.

        * opts.c (decode_options):  Disable crossjumping at -O1
        * invoke.texi (-O1): Document change.
 楼主| 发表于 2004-1-9 18:30:16 | 显示全部楼层
我现在用的是gcc-3.4-20031231的。哦,晕,这个gcc还没有修复这个bug,只有只后的才有修复啊。我想更新到最新的gcc-3.4-20040107,怎么办呢?
 楼主| 发表于 2004-1-9 18:31:45 | 显示全部楼层
我还装有一个gcc-2.95.3不知道是否可以用这个对gcc-3.4-20040107进行编译呢?
发表于 2004-1-9 21:18:32 | 显示全部楼层
可以用gcc-2.95.3编译,也可以先装一个gcc-3.3.x,只要设置PATH环境变量,把要使用的gcc的路径放在最前面
 楼主| 发表于 2004-1-9 21:47:49 | 显示全部楼层
呵呵,谢谢了,
我已经成功编译安装了。现在就是gcc-3.4-20040107的了。
比较奇怪的是使用gcc-3.4进行内核编译的时候都是出现include/linux/rcupdate.h的一些东西 什么值之类的deprecate警告。
然后最后不能编译通过。
发表于 2004-1-9 22:59:55 | 显示全部楼层
3.4还在开发中,可能会有问题
你的gcc-3.4-20040107是用gcc-3.4-20040107编译的吗?
 楼主| 发表于 2004-1-9 23:40:51 | 显示全部楼层
不是啊,是用gcc-2.95.3编译的。
我是更新现在的BLFS的。并不在LFS阶段的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表