[Top] [All Lists]

Re: Question regarding compiling a toolchain for a Broadcom SB1

To: Daniel Kegel <>,
Subject: Re: Question regarding compiling a toolchain for a Broadcom SB1
From: Jonathan Day <>
Date: Thu, 8 Sep 2005 14:11:26 -0700 (PDT)
Cc:, crossgcc <>
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zt1rjVqh9MZpv+iz+iBrfRHlONHP9H9BZhA/KNkpMMpfCMPeWGanZ/hwuLMWGn2ojkNf8Z8F+54sEVG9cbQhaQGZweDtsNQN1NSTqM5A839hV5c9XDVfv+jyMrmtjVPoqERU1FZN41sX5bRyL3Kq2C2nuCSrYGXVVM36G+sOirE= ;
In-reply-to: <>
Original-recipient: rfc822;
Here's the web link to all of the patches needed by
the Linux From Scratch group.

I'm doing a build from the binutils, gcc and glibc
from CVS, for an initial run. Results so far:

Binutils patches cleanly, using the patch on file. It
seems to build fine, when patched, but until all
stages are complete, there's no easy way to verify

GCC won't take the Posix patch and some of the other
patches need massaging, but there doesn't seem to be
any major problems. HOWEVER, this does say that you'd
best stick with the intended version (GCC 4.0.1) for
your build scripts.

Glibc will take the 64-bit fixes but all other patches
are rejected. It failed on the forced unwinding test,
when configuring. According to the LFS docs, NPTL is
broken for MIPS64, but I don't know if that is still
the case. I decided to backtrack to the glibc that
works, according to the LFS, and have classed the
status of Glibc for MIPS64 as uncertain.

--- Daniel Kegel <> wrote:

> Jonathan Day <imipak at yahoo dot com> wrote:
> > Crosstool, for example, only supports 32-bit MIPS
> -
> > and even then the build matrix is a pretty sh
> of
> > red for the most part.
> [ The build matrix:
> ]
> There are quite a few combinations that build for
> 32-bit mips with crosstool, e.g.
>   mips-gcc-3.2.3-glibc-2.2.5
>   mips-gcc-3.2.3-glibc-2.3.2
>   mips-gcc-3.3.6-glibc-2.2.5
>   mips-gcc-3.3.6-glibc-2.3.5
>   mips-gcc-3.4.4-glibc-2.3.2-hdrs-
>   mips-gcc-3.4.4-glibc-2.3.5-hdrs-
>   mips-gcc-4.1-20050702-glibc-2.3.2-hdrs-
>   mips-gcc-4.1-20050709-glibc-2.3.2-hdrs-
> so the situation isn't that dire.
> For the record, I would be more than happy to add
> mips64 support to crosstool.
> mentions some patches that might be needed.
> I haven't had time to chase them down and add them
> to crosstool,
> but if anybody else felt like it, I'd gladly accept
> the patches.
> I'm sure a lot of mips64 users would be very happy.
> - Dan

Click here to donate to the Hurricane Katrina relief effort.

<Prev in Thread] Current Thread [Next in Thread>