All of lore.kernel.org
 help / color / mirror / Atom feed
From: rct@gherkin.frus.com (Bob Tracy)
To: linux-kernel@vger.kernel.org
Subject: kbuild and -msoft-float
Date: Tue, 29 Jun 2004 14:21:56 -0500 (CDT)	[thread overview]
Message-ID: <20040629192156.EA875DBE8@gherkin.frus.com> (raw)

Probably off-topic for this list, but of presumed general interest for
developers working on modules maintained/built outside the kernel source
tree...

The Atmelwlandriver project on Sourceforge has recently modified the
package build process for 2.6 kernels to be compatible with kbuild.
Unfortunately, when the smoke of the build process clears, the pcmcia
driver modules all contain several undefined symbols traceable to the
use of "-msoft-float" during compilation.  The undefined symbols are
	__subdf3
	__divdf3
	__fixunsdfsi
	__floatsidf
	__gtdf2

I don't know if this is specific to 2.6.7, but the behavior is not
dependent on the version of gcc for versions capable of building 2.6
kernels on i386 hardware.  If the "-msoft-float" flag is omitted,
everything builds and works as expected.  The question is "why are
floating point instructions being emitted in the first place?"  The
driver code contains nothing obvious that might cause this behavior,
although I'm sure I'm missing *something*.

Explanations, workarounds, etc. gratefully accepted.  Thanks in advance.

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

                 reply	other threads:[~2004-06-29 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20040629192156.EA875DBE8@gherkin.frus.com \
    --to=rct@gherkin.frus.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 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.