Using floating point calculations in kernel module (x86/amd64)

Wilfried Holzke <[email protected]>
Newsgroups gmane.linux.real-time.rtai
Message-ID <[email protected]>
Hi,

I am trying to build a module with floating point support, but I get the 
following missing symbols:

__adddf3
__floatunsidf
__muldf3

In RTAI I found support for FP, but this is only for saving the state 
bevor calling a procedure which uses FP(?). The procedure, in the module 
I try to build, should be called from a RTAI Task or interrupt procedure.

Searching with google I found only old hints and examples for ARM CPUs.
Is there an example how to compile a module for x86/amd64 (flags for 
gcc) or the kbuild makefiles 
(https://www.kernel.org/doc/Documentation/kbuild/makefiles.txt)?

Thanks for any hints and help.

regards

   W. Holzke
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.