linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Alan Mimms <alan@packetengines.com>
To: ben bodley <benb@m2tech.co.nz>
Cc: embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: compiling glibc for 4xx core powerpc
Date: Wed, 15 Mar 2000 02:15:27 GMT	[thread overview]
Message-ID: <20000315.2152700@alan.> (raw)
In-Reply-To: <38CEEF3B.2665CD22@m2tech.co.nz>


Hi Ben.

Take a look at
http://members.xoom.com/greyhams/linux/PowerPC-Embedded-HOWTO.html
which is a compilation of lots of useful FAQ info, including the
answer(s) to the problems you're having.

a

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 3/14/00, 6:02:35 PM, ben bodley <benb@m2tech.co.nz> wrote regarding
compiling glibc for 4xx core powerpc:


> hello all..

> i am attempting to compile glibc for my platform (4xx core powerpc)
and
> as this core doesnt have an fpu, am compiling with -msoft-float.. but
it
> dont work.. during compile i receive this error:

> ../sysdeps/powerpc/s_isnan.c:27: Invalid `asm' statement:
> ../sysdeps/powerpc/s_isnan.c:27: fixed or forbidden register 32 (0)
was
> spilled for class FLOAT_REGS.

> (this occurs on an attempted assemble of a fpu instruction)

> my system specs are:
>  - compiling with gcc 2.95.2 native on powermac g4
>  - glibc 2.1.3
>  - kernel(powermac)=2.2.15pre14
>  - kernel(4xx)=2.3.42 + patches
>  - glibc configure options: configure --target=powerpc-linux
> --host=powerpc-linux
>      --enable-add-ons=crypt, linuxthreads --prefix=/usr/local/ppc403
> --without-fp
>  - CFLAGS extras: -msoft-float -DNDEBUG=1 -O2

> does anyone have a clue as to what is going on?? will i have to add
some
> sort of software emulated floating point support in the kernel (use
8xx
> emu)?? or am i just missing a compiler option??

> is it worth using this late revision of glibc, or am i better off to
use
> an earlier/simpler revision??

> cheers for any insights!

> ben


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-03-15  2:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-15  2:02 compiling glibc for 4xx core powerpc ben bodley
2000-03-15  2:15 ` Alan Mimms [this message]
2000-03-15 13:48 ` Mike Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000315.2152700@alan. \
    --to=alan@packetengines.com \
    --cc=benb@m2tech.co.nz \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).