Gentoo Archives: gentoo-embedded

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