Mailing List Archive

MIPS32 little-endian Gentoo rootfs
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
[still uploading]
http://mlau.at/files/mips32-linux/mips32elsf-gentoo-packages-111008.tar.CONTENTS

Happy hacking,
Manuel Lauss
Re: MIPS32 little-endian Gentoo rootfs [ In reply to ]
On Mon, Oct 10, 2011 at 2:54 AM, Manuel Lauss
<manuel.lauss@googlemail.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
> [still uploading]
> 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.

Thanks,
Matt
Re: MIPS32 little-endian Gentoo rootfs [ In reply to ]
On Monday, October 10, 2011, Matt Turner <mattst88@gentoo.org> wrote:
> On Mon, Oct 10, 2011 at 2:54 AM, Manuel Lauss
> <manuel.lauss@googlemail.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
>> [still uploading]
>>
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