ldh2002 发表于 2005-7-21 16:37:02

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

我在编译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: *** 错误 1
make: Leaving directory `/var/tmp/portage/gcc-4.1.0_beta20050716/work/build/gcc'
make: *** 错误 2
make: Leaving directory `/var/tmp/portage/gcc-4.1.0_beta20050716/work/build/gcc'
make: *** 错误 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.


请问如何解决?
:?::?::?:

linky_fan 发表于 2005-7-21 22:40:02

优化选项去掉没有?

druggo 发表于 2005-7-22 20:03:02

我的好象也出错了,不过没注意,回头再试试看吧……

ldh2002 发表于 2005-7-22 20:17:10

只保留最原始的项目,未作优化也不行。

linky_fan 发表于 2005-7-24 20:11:00

换个profile看看. (不过觉得换个profile就用不成4.1的gcc了)

:cry:
页: [1]
查看完整版本: 求助:编译gcc4.1出现如下错误!