Jun 162007
 

ここしばらく、Gentoo Linuxのgccコンパイルに失敗しています。

/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/unwind-dw2-fde-glibc.c: In function '_Unwind_IteratePhdrCallback':
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/unwind-dw2-fde-glibc.c:128: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
Preprocessed source stored into /var/tmp/portage/sys-devel/gcc-4.1.2/temp/ccuY4aAI.out file, please attach this to your bugreport.
make[3]: *** [libgcc/./unwind-dw2-fde-glibc.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-4.1.2 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1305:   Called toolchain_src_compile
  toolchain.eclass, line 26:   Called gcc_src_compile
  toolchain.eclass, line 1541:   Called gcc_do_make
  toolchain.eclass, line 1415:   Called die

!!! emake failed with bootstrap-lean
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sys-devel:gcc-4.1.2:20070616-124747.log'.

軽くGoogleさんに聞いたら、MIPS環境でPostgreSQLがコンパイルできないのような情報を見かけたりもするのですが、gcc-3.4系の問題だったりするんでしょうか 😕
gcc-configで確認すると、3.3系が残っているのでそちらに切り替えて再実行してみましたが、状況は変わりません。

# gcc-config -l
 [1] alphaev6-unknown-linux-gnu-3.3.2
 [2] alphaev6-unknown-linux-gnu-3.4.6 *
 [3] alphaev6-unknown-linux-gnu-3.4.6-hardenednopiessp
# gcc-config 1
 * Switching native-compiler to alphaev6-unknown-linux-gnu-3.3.2 ...
>>> Regenerating /etc/ld.so.cache...                                                                                                                                                                                            [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile

# source /etc/profile
# emerge gcc
:

エラーになる箇所はまったく同じでした。やはりgcc-4.1.2側の問題なのですかね 😕

Sorry, the comment form is closed at this time.