* [gentoo-embedded] glibc and softfloat
@ 2006-09-26 16:28 Daniel Glaser
2006-09-26 19:59 ` Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Glaser @ 2006-09-26 16:28 UTC (permalink / raw
To: gentoo-embedded
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
last days I was trying to setup an embedded environment for some ppc405.
I had great succes, because the tree was chrootable and bash was
working properly. But when it came to portage, I encountered strange
problems with math functions.
After long traceback, I found, that glibc and gcc have problems with
softfloat. (for glibc --without-fp is the right configure option for
my system, but currently it is not directly supportet by the ebuild,
got it in through EXTRA_ECONF="--without-fp")
My first try was to build with powerpc-unknown-linux-gnu, now I now,
that I need powerpc-softfloat-linux-gnu, this is, where it get's
difficult.
Another thing is, that -msoft-float and -mlong-double-128 are not
supported (many many warnings), but used within the Gentoo ebuild.
Perhaps -m128bit-soft-float is the one the programmers wanted, but in
my opinion it is also not the right choice.
The Problems with glibc(2.4) and gcc (4.1.1 and 4.2) are discussed in
this bugreport http://sourceware.org/bugzilla/show_bug.cgi?id=2749.
Some patches are also discussed and attached in this bugreport.
I would be very greatful, if somebody takes a look at this and give me
some
feedback with your opinion, if, how and how fast this could be solved
within Gentoo and crossdev.
- -themole
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFGVUSLA0LfkMzpGMRAtzqAJ0bsW0QoNmwXiB5egmCXFfbSLTMZQCfa//z
NhNdtqmGcMwVG2S90DZaEX8=
=jmmh
-----END PGP SIGNATURE-----
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-embedded] glibc and softfloat
2006-09-26 16:28 [gentoo-embedded] glibc and softfloat Daniel Glaser
@ 2006-09-26 19:59 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2006-09-26 19:59 UTC (permalink / raw
To: gentoo-embedded; +Cc: Daniel Glaser
[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]
On Tuesday 26 September 2006 12:28, Daniel Glaser wrote:
> After long traceback, I found, that glibc and gcc have problems with
> softfloat. (for glibc --without-fp is the right configure option for
> my system, but currently it is not directly supportet by the ebuild,
> got it in through EXTRA_ECONF="--without-fp")
if you use a target of *-softfloat-* the glibc ebuild will add --without-fp
and the gcc ebuild will add --with-float=soft
> Another thing is, that -msoft-float and -mlong-double-128 are not
> supported (many many warnings), but used within the Gentoo ebuild.
> Perhaps -m128bit-soft-float is the one the programmers wanted, but in
> my opinion it is also not the right choice.
the Gentoo ebuild does nothing of the sort ... this is all in the glibc build
system itself
glibc-2.4 on ppc will require gcc-4.1.x ... anything older is not supported
and i certainly wont waste any time on it
> The Problems with glibc(2.4) and gcc (4.1.1 and 4.2) are discussed in
> this bugreport http://sourceware.org/bugzilla/show_bug.cgi?id=2749.
> Some patches are also discussed and attached in this bugreport.
well, once upstream settles on something i have no problem cutting a patch
from their cvs and putting into our glibc-2.4 patchset ... but i wouldnt
really want to do anything until they've settled on a solution first
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-26 20:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-26 16:28 [gentoo-embedded] glibc and softfloat Daniel Glaser
2006-09-26 19:59 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox