I have dug down on this problem during the day.
The problem is that the code that checks if ATOMIC should use GCC BUILTIN fails.

I have traced this failure to the combination of the XEON processor and GCC 
version.

But if I forces it to use GCC_BUILTINS and compiles OSG and my code with the 
"-march=pentium4" option it works.

Would it be possible to add a field to the list of compile options in CMAKE so 
that you could explicitly add compiler flags?

/Björn
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to