linux-mips
[Top] [All Lists]

RE: Seg fault when compiled with -mabi=64 and -lpthread

To: Bryan Althouse <bryan.althouse@3phoenix.com>
Subject: RE: Seg fault when compiled with -mabi=64 and -lpthread
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Fri, 1 Jul 2005 16:29:30 +0100 (BST)
Cc: "'Daniel Jacobowitz'" <dan@debian.org>, "'Stephen P. Becker'" <geoman@gentoo.org>, macro@blysk.ds.pg.gda.pl, "'Linux/MIPS Development'" <linux-mips@linux-mips.org>
In-reply-to: <20050701150938Z8226157-3678+821@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050701150938Z8226157-3678+821@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 1 Jul 2005, Bryan Althouse wrote:

> Looks like I should upgrade glibc, and possibly gcc.  When you say that I
> should try CVS HEAD of glibc, I'm not sure what you mean.  I have looked in
> the linux-mips.org CVS and the closest thing I can find is libc, and it
> looks really old.  I have also found a glibc CVS at
> :pserver:anoncvs@sources.redhat.com:/cvs/glibc.  If I get libc from here is
> this the "CVS HEAD"?  

 Yes, just pull the tree without any tags.

> Should I get GCC from the generic GCC site, or should get it from the
> linux-mips CVS?  

 The latest GCC 3.4.x should probably be OK, but if you want 4.x, then 
just get the latest release from (your closest mirror of) ftp.gnu.org -- 
if you don't rush, that may be 4.0.1.

> I apologize for the simple questions.  I have not built a tool chain before.
> I've been using the one supplied by PMC-Sierra.  Will I need to patch any of
> these sources for MIPs?

 It depends on whether you trigger any bugs.

  Maciej

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