From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RDIeb-0003pZ-0J for garchives@archives.gentoo.org; Mon, 10 Oct 2011 16:24:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74CB221C1E2; Mon, 10 Oct 2011 16:24:25 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 0266521C1E2; Mon, 10 Oct 2011 16:24:24 +0000 (UTC) Received: by gyd10 with SMTP id 10so7962349gyd.40 for ; Mon, 10 Oct 2011 09:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2TYJzIwaCB0KAcAwaCjaNDI3zoq+DpLmSycOwLDiI0Y=; b=gkXJS2VO2zCkiu90uVtndh/D+vbbwGnKqrh3XsiwSys0+hsOaRvUuMrSvvWOflzLvn 5yltqDMjJNbVTG+yful9U1MNsMBdusPnkpifS3/VVEunFvh6tVx1bM29tqtb8weq+HM+ ndQ68KA0hwJYfIiTKNZfrfJf32axCI/14wUqc= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-mips@lists.gentoo.org Reply-to: gentoo-mips@lists.gentoo.org MIME-Version: 1.0 Received: by 10.236.190.130 with SMTP id e2mr24761025yhn.107.1318263864421; Mon, 10 Oct 2011 09:24:24 -0700 (PDT) Received: by 10.236.105.169 with HTTP; Mon, 10 Oct 2011 09:24:24 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Oct 2011 18:24:24 +0200 Message-ID: Subject: [gentoo-mips] Re: MIPS32 little-endian Gentoo rootfs From: Manuel Lauss To: "gentoo-mips@lists.gentoo.org" Cc: "gentoo-embedded@lists.gentoo.org" Content-Type: multipart/alternative; boundary=20cf303f6d7e5bec0204aef4394d X-Archives-Salt: X-Archives-Hash: 50706e6a39bd16cbe552bc32e9f4cb82 --20cf303f6d7e5bec0204aef4394d Content-Type: text/plain; charset=ISO-8859-1 On Monday, October 10, 2011, Matt Turner wrote: > On Mon, Oct 10, 2011 at 2:54 AM, Manuel Lauss > 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 --20cf303f6d7e5bec0204aef4394d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

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 versio= n of my Gentoo installation for
>> little-endian softfloat MIPS32(= r1)
>> processors (and of course newer ones).
>>
>&= gt; Highlights include:
>> - full native toolchain. =A0All packages have been compiled native= ly 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<= br>>> - 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-g= entoo-rootfs-debugsyms-111008.tar.xz
>> http://mlau.at/files/mips32-linux/mips32elsf-gentoo-rootfs-debugsyms-11= 1008.tar.CONTENTS
>> http://mlau.at/files/mips32-linux/mips32elsf-gentoo-packa= ges-111008.tar
>> [still uploading]
>> http://mlau.at/files/mips32-linux/mips32elsf-gentoo-packages-111008.tar= .CONTENTS
>>
>> Happy hacking,
>> =A0 =A0 =A0 Manuel Lauss>
> Thanks a lot! This should help me build mips32 little endian = stages now.
>
> Is floating point emulation handled by the kern= el, 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 s= ee any
> value at all in providing mips32 hardfloat stages if the use= rland is
> different.

Yes there are ABI incompatibilities. =A0Packaged bui= lt for hardfloat will run (with in-kernel CP1 emulation) but uf they interf= ace with softfloat libraries there will be troubles (obviously).
I have = one such binary-only app (coreplayer) which just outputs static noise inste= ad 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
--20cf303f6d7e5bec0204aef4394d--