mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ram <vshrirama@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Floating point computations in kernel modules
Date: Mon, 17 Sep 2007 19:36:56 +0530	[thread overview]
Message-ID: <8bf247760709170706j6025bb14k8ab28f9467972c76@mail.gmail.com> (raw)

Hi,

   I am trying to write a driver which uses double, float. I am using
an arm11 with gcc 3.4.4

   When i try to compile my modules (with float variables) i get the error

   WARNING: "__extendsfdf2" undefined!
   WARNING: "__mulsf3"undefined!
   WARNING: "__fixsfsi"undefined!
   WARNING: "__floatsisf"undefined!

   Can we use float, double in kernel modules?.

  Obviously it is a linking error, I am using soft-float. I tried with
-msoft-float but got the same   result.

  I suspect that its a toolchain issue.  However i am able to compile
my applications
  with float, double variables.


  Please do advice.


Regards,
sriram

             reply	other threads:[~2007-09-17 14:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-17 14:06 Ram [this message]
2007-09-17 14:13 ` Trond Myklebust
2007-09-17 14:17 ` Markus Rechberger

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=8bf247760709170706j6025bb14k8ab28f9467972c76@mail.gmail.com \
    --to=vshrirama@gmail.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®