Gentoo Archives: gentoo-embedded

From: Dimitris Lampridis <dlampridis@××××××.nl>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Re: Appropriate toolchain for a SPARC?
Date: Mon, 22 Jan 2007 13:15:28
Message-Id: 1169470281.5178.4.camel@localhost
In Reply to: Re: [gentoo-embedded] Re: Appropriate toolchain for a SPARC? by "Peter S. Mazinger"
1 On Sun, 2007-01-21 at 12:16 +0100, Peter S. Mazinger wrote:
2 > On Fri, 19 Jan 2007, Dimitris Lampridis wrote:
3 >
4 > > On Thu, 2007-01-18 at 11:47 +0100, Dimitris Lampridis wrote:
5 > > > I want to build a cross toolchain on an x86 system, to be able to
6 > > > compile for SPARC without hardware floating point support, using uclibc.
7 > > > I've done some attempts already but they all fail (for various reasons).
8 > > > Up until now, I have not succeeded 100%. So I thought I should do it in
9 > > > the proper way, starting from the beginning:
10 > > >
11 > > > Could you please let me know if there is a specific combination of
12 > > > binutils, gcc, uclibc etc., that is well-known to work for a
13 > > > sparc-softfloat-linux-uclibc target?
14 > > >
15 > > > thank you in advance,
16 > > > Dimitris
17 > > >
18 > > > PS: I currently try with:
19 > > > binutils-2.17
20 > > > gcc-4.1.1-r3
21 > > > linux-headers-2.6.19.2-r1
22 > > > uclibc-0.9.28-r2
23 > > >
24 > >
25 > > nobody yet? Well, I've been trying several combinations of the programs,
26 > > and they still all fail. I've had success with binutils-2.17, with gcc
27 > > 3.4.1-r3, 3.4.4-r1 and 4.1.1-r3, but no luck with uclibc.
28 > >
29 > > I've tried uclibc 0.9.28-r2, 0.9.28-r1 and 0.9.28 (as well as 0.9.27
30 > > that apparently does not support sparc?), and every time they fail on
31 > > the same problem, complaining about duplicate "_start" symbol in ldso.c.
32 > > I've attached my uclibc emerge log, hopefully someone can propose
33 > > something?
34 > >
35 > > thank you,
36 > > Dimitris
37 >
38 > you may try to use uclibc-svn (no ebuild for it), some sparc support was
39 > added.
40 >
41 > Peter
42 >
43 > --
44 > Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
45 > Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
46 >
47 Hmmm, uclibc from SVN does the trick. I also tried buildroot and I was
48 able to produce a working toolchain for softfloat SPARC, out of:
49 binutils-2.6.91.0.7
50 linux-kernel-2.6.11
51 gcc-3.4.2
52 latest snapshot of uclibc
53
54 Thank you Peter for your time,
55 Dimitris
56
57
58 --
59 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Re: Appropriate toolchain for a SPARC? "Peter S. Mazinger" <ps.m@×××.net>