Re: Using floating point calculations in kernel module (x86/amd64)
Paolo Mantegazza <[email protected]>
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <VI1PR06MB147190F7A2B04F3ADD626587901E0@VI1PR06MB1471.eurprd06.prod.outlook.com> |
Does your CPU support floating point? Have you configured RTAI for FP support in kernel space with NEWLIB-UCLIB-MUSL? Can you run the test in "showroom/v3.x/kernel/math"? Paolo ________________________________________ From: Rtai [[email protected]] on behalf of Wilfried Holzke [[email protected]] Sent: Wednesday, August 10, 2016 7:15 PM To: [email protected] Subject: [Rtai] Using floating point calculations in kernel module (x86/amd64) 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 _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai