QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1177|回复: 4

求助:编译gcc4.1出现如下错误!

[复制链接]
发表于 2005-7-21 16:37:02 | 显示全部楼层 |阅读模式
我在编译gcc4.1时出现如下错误信息:

/var/tmp/portage/gcc-4.1.0_beta20050716/work/gcc-4.1-20050716/gcc/tree-ssa-dom.c: In function 'dom_opt_finalize_block':
/var/tmp/portage/gcc-4.1.0_beta20050716/work/gcc-4.1-20050716/gcc/tree-ssa-dom.c:1172: error: corrupted profile info:
number of
executions for edge 88-85 thought to be 1711
/var/tmp/portage/gcc-4.1.0_beta20050716/work/gcc-4.1-20050716/gcc/tree-ssa-dom.c:1172: error: corrupted profile info:
number of
executions for edge 88-89 thought to be -48
/var/tmp/portage/gcc-4.1.0_beta20050716/work/gcc-4.1-20050716/gcc/tree-ssa-dom.c:1172: error: corrupted profile info:
number of
executions for edge 89-99 thought to be -1663
/var/tmp/portage/gcc-4.1.0_beta20050716/work/gcc-4.1-20050716/gcc/tree-ssa-dom.c:1172: error: corrupted profile info:
number of
executions for edge 89-90 thought to be 12090
make[2]: *** [tree-ssa-dom.o] 错误 1
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.0_beta20050716/work/build/gcc'
make[1]: *** [stagefeedback_build] 错误 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.0_beta20050716/work/build/gcc'
make: *** [profiledbootstrap] 错误 2

!!! ERROR: sys-devel/gcc-4.1.0_beta20050716 failed.
!!! Function gcc_do_make, Line 1214, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.


请问如何解决?
    
发表于 2005-7-21 22:40:02 | 显示全部楼层
优化选项去掉没有?
回复

使用道具 举报

发表于 2005-7-22 20:03:02 | 显示全部楼层
我的好象也出错了,不过没注意,回头再试试看吧……
回复

使用道具 举报

 楼主| 发表于 2005-7-22 20:17:10 | 显示全部楼层
只保留最原始的项目,未作优化也不行。
回复

使用道具 举报

发表于 2005-7-24 20:11:00 | 显示全部楼层
换个profile看看. (不过觉得换个profile就用不成4.1的gcc了)

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-4 22:26 , Processed in 0.062354 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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