免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5343 | 回复: 3

求助!编译gcc4.3.3make过程出错 [复制链接]

论坛徽章:
0
发表于 2009-03-27 21:43 |显示全部楼层
我在一个8核CPU的机器上编译GCC4.3.3在make过程中出错,先简要介绍我的编译过程
1 ../configure --prefix=/usr/local/gcc43通过,并没有提示任何错误或警告
2 make -j 8在编译过程中发现了一下错误
......(省略)
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/crt1.o(.text+0x20): In function `_start':
../sysdeps/powerpc/powerpc32/elf/start.S:69: relocation truncated to fit: R_PPC_REL24 __libc_start_main@@GLIBC_2.0
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/crti.o(.text+0x10): In function `call_gmon_start':
/usr/src/packages/BUILD/glibc-2.3/cc/csu/crti.S:16: relocation truncated to fit: R_PPC_LOCAL24PC _GLOBAL_OFFSET_TABLE_+fffffffffffffffc
c-lang.o(.text+0x546c): In function `VEC_tree_base_quick_insert':
../../gcc/tree.h:213: relocation truncated to fit: R_PPC_REL24 memmove@@GLIBC_2.0
c-lang.o(.text+0x5554): In function `VEC_tree_base_ordered_remove':
../../gcc/tree.h:213: relocation truncated to fit: R_PPC_REL24 memmove@@GLIBC_2.0
c-lang.o(.text+0x5710): In function `VEC_tree_base_block_remove':
../../gcc/tree.h:213: relocation truncated to fit: R_PPC_REL24 memmove@@GLIBC_2.0
c-lang.o(.text+0x59bc): In function `VEC_tree_gc_copy':
../../gcc/tree.h:214: relocation truncated to fit: R_PPC_REL24 memcpy@@GLIBC_2.0
c-lang.o(.text+0x5c94): In function `VEC_tree_gc_safe_grow_cleared':
../../gcc/tree.h:214: relocation truncated to fit: R_PPC_REL24 memset@@GLIBC_2.0
c-lang.o(.text+0x5e24): In function `VEC_tree_heap_free':
../../gcc/tree.h:215: relocation truncated to fit: R_PPC_REL24 free@@GLIBC_2.0
c-lang.o(.text+0x5ee4): In function `VEC_tree_heap_copy':
../../gcc/tree.h:215: relocation truncated to fit: R_PPC_REL24 memcpy@@GLIBC_2.0
c-lang.o(.text+0x61bc): In function `VEC_tree_heap_safe_grow_cleared':
../../gcc/tree.h:215: relocation truncated to fit: R_PPC_REL24 memset@@GLIBC_2.0
c-lang.o(.text+0x699c): In function `VEC_constructor_elt_base_quick_insert':
../../gcc/tree.h:1569: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

各位大侠,有没有谁以前接错过这类问题的,有的话可以指导小弟把。先谢过啦。

PS: 64位8核PowperPC处理器 + Linux Kernel2.6.5 + gcc version 3.3.3 (SuSe Linux)]
附件是make过程中的stderr输出

log.zip

20.95 KB, 下载次数: 57

论坛徽章:
0
发表于 2009-03-27 22:45 |显示全部楼层
../configure --disable-multilib
btw,机器好强

论坛徽章:
0
发表于 2009-03-28 09:32 |显示全部楼层

回复 #2 prolj 的帖子

先谢谢Prolj的回复,我按照你的方法去试了下,还是不能通过,错误信息和以前一样。

论坛徽章:
0
发表于 2009-03-31 16:01 |显示全部楼层

解决该问题

1楼出现的问题是gcc4.3.3在poperpc linux64位机上的Bug(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739), 该Bug已经解决,只要相应地下载patch文件,就可以编译成功。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP