ブートストラップ失敗

gcc-2.96-110のコンパイルは通って、できたパッケージをインストールした。次にglibc-2.2.93-5をコンパイルしようとしてまたエラー。INSTALLによると

Recommended Tools for Compilation
=================================

   * GCC 3.2 or newer

     The GNU C library can only be compiled with the GNU C compiler
     family.  As of the 2.3 release, GCC 3.2 or higher is required.  As
     of this writing, GCC 3.2 is the compiler we advise to use.

…だめじゃん。

次はダメ元でgcc3なんかをコンパイルしてみようかな。

      • -

気を取り直して、GCC-3.xをコンパイルするにはそもそも何が必要なのか調べてみる。

sparc-*-linux*
GCC versions 3.0 and higher require binutils 2.11.2 and glibc 2.2.4 or newer on this platform. All earlier binutils and glibc releases mishandled unaligned relocations on sparc-*-* targets.

ということで、今の環境でも前提条件は満たしている。だいたいどこを見てもGCCglibcの順で上げているんだからコンパイルできないはずがない。じゃあspecファイルをなんとかすればなんとかなるのか? この路線でもう少しやってみよう。