From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-embedded+bounces-1517-garchives=archives.gentoo.org@gentoo.org>)
	id 1H8z1E-00005h-38
	for garchives@archives.gentoo.org; Mon, 22 Jan 2007 13:15:28 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0MDEWuQ032057;
	Mon, 22 Jan 2007 13:14:32 GMT
Received: from cosine.nl (cosine01.leidenuniv.nl [132.229.27.26])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0MDEUbr032048
	for <gentoo-embedded@lists.gentoo.org>; Mon, 22 Jan 2007 13:14:31 GMT
Received: by smtp.cosine.nl (Postfix, from userid 10009)
	id C41004A098; Mon, 22 Jan 2007 13:51:15 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on dufay.cosine.nl
X-Spam-Level: 
X-Spam-Status: No, score=-4.4 required=3.9 tests=ALL_TRUSTED,BAYES_00 
	autolearn=ham version=3.1.7
Received: from dhcp-192-168-0-166.cosine.nl (dhcp-192-168-0-166.cosine.nl [192.168.0.166])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested)
	by smtp.cosine.nl (Postfix) with ESMTP id 03BB049F70
	for <gentoo-embedded@lists.gentoo.org>; Mon, 22 Jan 2007 13:51:14 +0100 (CET)
Subject: Re: [gentoo-embedded] Re: Appropriate toolchain for a SPARC?
From: Dimitris Lampridis <dlampridis@cosine.nl>
To: gentoo-embedded@lists.gentoo.org
In-Reply-To: <Pine.LNX.4.44.0701211215220.6927-100000@lnx.bridge.intra>
References: <Pine.LNX.4.44.0701211215220.6927-100000@lnx.bridge.intra>
Content-Type: text/plain
Date: Mon, 22 Jan 2007 13:51:21 +0100
Message-Id: <1169470281.5178.4.camel@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.6.3 
Content-Transfer-Encoding: 7bit
X-Archives-Salt: ae78a86f-259d-4993-b642-8294db782b56
X-Archives-Hash: 662b088272c122a1bf17c1f1e102ed36

On Sun, 2007-01-21 at 12:16 +0100, Peter S. Mazinger wrote:
> On Fri, 19 Jan 2007, Dimitris Lampridis wrote:
> 
> > On Thu, 2007-01-18 at 11:47 +0100, Dimitris Lampridis wrote:
> > > I want to build a cross toolchain on an x86 system, to be able to
> > > compile for SPARC without hardware floating point support, using uclibc.
> > > I've done some attempts already but they all fail (for various reasons).
> > > Up until now, I have not succeeded 100%. So I thought I should do it in
> > > the proper way, starting from the beginning:
> > > 
> > > Could you please let me know if there is a specific combination of
> > > binutils, gcc, uclibc etc., that is well-known to work for a
> > > sparc-softfloat-linux-uclibc target? 
> > > 
> > > thank you in advance,
> > > Dimitris
> > > 
> > > PS: I currently try with:
> > > 	binutils-2.17
> > > 	gcc-4.1.1-r3
> > > 	linux-headers-2.6.19.2-r1
> > > 	uclibc-0.9.28-r2
> > > 
> > 
> > nobody yet? Well, I've been trying several combinations of the programs,
> > and they still all fail. I've had success with binutils-2.17, with gcc
> > 3.4.1-r3, 3.4.4-r1 and 4.1.1-r3, but no luck with uclibc.
> > 
> > I've tried uclibc 0.9.28-r2, 0.9.28-r1 and 0.9.28 (as well as 0.9.27
> > that apparently does not support sparc?), and every time they fail on
> > the same problem, complaining about duplicate "_start" symbol in ldso.c.
> > I've attached my uclibc emerge log, hopefully someone can propose
> > something?
> > 
> > thank you,
> > Dimitris
> 
> you may try to use uclibc-svn (no ebuild for it), some sparc support was 
> added.
> 
> Peter
> 
> -- 
> Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
> Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
> 
Hmmm, uclibc from SVN does the trick. I also tried buildroot and I was
able to produce a working toolchain for softfloat SPARC, out of:
binutils-2.6.91.0.7
linux-kernel-2.6.11
gcc-3.4.2
latest snapshot of uclibc

Thank you Peter for your time,
Dimitris


-- 
gentoo-embedded@gentoo.org mailing list