On Mon, 22 Jan 2007, Dimitris Lampridis wrote:

> 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

don't rely though on the svn version for production, the locking is housed 
(many other bugs that I won't even try listing them).

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

-- 
[email protected] mailing list

Reply via email to