Gentoo Archives: gentoo-embedded

From: Daniel Glaser <daniel.glaser@××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] glibc and softfloat
Date: Tue, 26 Sep 2006 16:25:14
Message-Id: 45195512.4070106@chaintronics.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hello,
5
6 last days I was trying to setup an embedded environment for some ppc405.
7
8 I had great succes, because the tree was chrootable and bash was
9 working properly. But when it came to portage, I encountered strange
10 problems with math functions.
11
12 After long traceback, I found, that glibc and gcc have problems with
13 softfloat. (for glibc --without-fp is the right configure option for
14 my system, but currently it is not directly supportet by the ebuild,
15 got it in through EXTRA_ECONF="--without-fp")
16
17 My first try was to build with powerpc-unknown-linux-gnu, now I now,
18 that I need powerpc-softfloat-linux-gnu, this is, where it get's
19 difficult.
20
21 Another thing is, that -msoft-float and -mlong-double-128 are not
22 supported (many many warnings), but used within the Gentoo ebuild.
23 Perhaps -m128bit-soft-float is the one the programmers wanted, but in
24 my opinion it is also not the right choice.
25
26 The Problems with glibc(2.4) and gcc (4.1.1 and 4.2) are discussed in
27 this bugreport http://sourceware.org/bugzilla/show_bug.cgi?id=2749.
28 Some patches are also discussed and attached in this bugreport.
29
30 I would be very greatful, if somebody takes a look at this and give me
31 some
32 feedback with your opinion, if, how and how fast this could be solved
33 within Gentoo and crossdev.
34
35 - -themole
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v1.4.5 (MingW32)
38 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
39
40 iD8DBQFFGVUSLA0LfkMzpGMRAtzqAJ0bsW0QoNmwXiB5egmCXFfbSLTMZQCfa//z
41 NhNdtqmGcMwVG2S90DZaEX8=
42 =jmmh
43 -----END PGP SIGNATURE-----
44
45 --
46 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] glibc and softfloat Mike Frysinger <vapier@g.o>