Hello! Using RTAI 3.x with LinuxCNC returns the following error when trying to 
compile 5axiskins.c

error: SSE register return with SSE disabled

The line of source that it fails to compile on is this:

c.x = r * sin(p) * cos(t);

LinuxCNC is supposed to use libm (at least for RTAI) which contains the 
required code to compile and run code that uses sincos functions. According to 
the ./configure script, it says that libm is "ok." libm is included with GLIBC 
(which I use) and since this is an SSE and SSE2 enabled processor, this 
shouldn't be an issue.

modernist talks about the same issue here:

http://psha.org.ru/irc/%23emc/2011-04-19.html

Am I having this issue because I applied this fix to LinuxCNC so it would get 
past the undefined references of rt_shm_free and rt_shm_alloc?

http://mail.rtai.org/pipermail/rtai/2013-June/025602.html

mhaberler talked about to me about how that fix wasn't very good, and I'm sure 
it isn't, but I'm not an expert with LinuxCNC so I can't really do much better.

If anyone has any patches that they would like to contribute to the LinuxCNC 
tree in regards to these issues to prevent me from writing even worse code into 
it, feel free. I don't want to get yelled at anymore for not living up to 
certain people's expectations of my skills with LinuxCNC; I'm new here, ok guys?

Thanks!

Alec

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to