Gentoo Archives: gentoo-mips

From: Manuel Lauss <manuel.lauss@××××××××××.com>
To: "gentoo-mips@l.g.o" <gentoo-mips@l.g.o>
Cc: "gentoo-embedded@l.g.o" <gentoo-embedded@l.g.o>
Subject: [gentoo-mips] Re: MIPS32 little-endian Gentoo rootfs
Date: Mon, 10 Oct 2011 16:24:37
Message-Id: CAOLZvyG48-qTPYuyDux5DZUPdrxs4DQ+t7BBmJAMtHmX0mS4CA@mail.gmail.com
In Reply to: Re: [gentoo-mips] MIPS32 little-endian Gentoo rootfs by Matt Turner
On Monday, October 10, 2011, Matt Turner <mattst88@g.o> wrote:
> On Mon, Oct 10, 2011 at 2:54 AM, Manuel Lauss > <manuel.lauss@××××××××××.com> wrote: >> Hello, >> >> I've uploaded an updated version of my Gentoo installation for >> little-endian softfloat MIPS32(r1) >> processors (and of course newer ones). >> >> Highlights include: >> - full native toolchain. All packages have been compiled natively on >> target hardware. >> - based on portage snapshot from 111008 >> - binutils-git from 111007 to work around udev and kernel build failures >> - firefox-7.0.1 >> - rebuilt most packages due to libpng-1.5 and other library updates >> - python built against Linux-3.x >> - latest ~arch packages >> >> http://mlau.at/files/mips32-linux/README.txt >> >> http://mlau.at/files/mips32-linux/mips32elsf-gentoo-rootfs-111008.tar.xz >>
http://mlau.at/files/mips32-linux/mips32elsf-gentoo-rootfs-111008.tar.CONTENTS
>>
http://mlau.at/files/mips32-linux/mips32elsf-gentoo-rootfs-debugsyms-111008.tar.xz
>>
http://mlau.at/files/mips32-linux/mips32elsf-gentoo-rootfs-debugsyms-111008.tar.CONTENTS http://mlau.at/files/mips32-linux/mips32elsf-gentoo-packages-111008.tar.CONTENTS
>> >> Happy hacking, >> Manuel Lauss > > Thanks a lot! This should help me build mips32 little endian stages now. > > Is floating point emulation handled by the kernel, or do glibc and gcc > have to be compiled to support it? I tried building mips32-softfloat > stages before, but ran into library incompatibilities. I can't see any > value at all in providing mips32 hardfloat stages if the userland is > different.
Yes there are ABI incompatibilities. Packaged built for hardfloat will run (with in-kernel CP1 emulation) but uf they interface with softfloat libraries there will be troubles (obviously). I have one such binary-only app (coreplayer) which just outputs static noise instead of audible sound. Both GCC and glibc have to be built with softfloat otherwise one will break the other, with sometimes random (seg)faults. Manuel