All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kyle Harris <kharris@nexus-tech.net>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Software Emulation error
Date: Thu, 21 Dec 2000 11:05:01 -0500	[thread overview]
Message-ID: <3A422A2D.C5B4A8F1@nexus-tech.net> (raw)
In-Reply-To: 200012211548.eBLFmJ727210@denx.local.net


Wolfgang Denk wrote:
>
> Dear Kyle,
>
> in message <3A42057C.6449819F@nexus-tech.net> you wrote:
> >
> > Sorry, I guess more detailed info would be helpful. I'm running a 2.2.13
> > kernel on a TQM823 board. I have seen this error when using dd to write
> > to flash. But it's not consistent (sometimes dd works, sometimes it
> > doesn't). Then I wrote a program using the times() function and it
> > always fails. I went back and tried this with the original kernel and it
> > works! I recompiled with and without MATH_EMULATION, but essentially get
>
> Be careful what your running where - if you use  the  old  glibc-1.99
> based  tools  which  assume to have a FPU, you MUST run a kernel with
> MATH_EMULATION. If you use the CDK to  compile  you  own  stuff  with
> glibc-2.x  you  MUST  use  -msoft-float  (in  fact  that's enabled by
> default in the CDK).
>

This is a little too wierd. I recompiled with -msoft-float and sure
enough the application runs. I then recompiled w/o -msoft-float and
guess what? It still runs. I had also discovered earlier that it would
run under gdb, but not from the shell. I wonder if I might be having a
hardware problem.

Thanks for you help. Kyle.

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

      reply	other threads:[~2000-12-21 16:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-21  2:20 Software Emulation error Kyle Harris
2000-12-21 12:48 ` Jerry Van Baren
2000-12-21 13:28   ` Kyle Harris
2000-12-21 15:48     ` Wolfgang Denk
2000-12-21 16:05       ` Kyle Harris [this message]

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=3A422A2D.C5B4A8F1@nexus-tech.net \
    --to=kharris@nexus-tech.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.