Robert,

On Friday 20 June 2008 10:43, Robert Osfield wrote:
> I am a bit surprised that _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS  path
> wasn't selected on your machine, perhaps the checks for support need
> to be tweaked.
i386 (=32 bit) builds do not use that for now.
The problem is that gcc assumes to have the i386 (read i386 != i486 or 
anything newer) avaliable when it compiles a 32 bit binary. With that 
instruction set, it does not have atomic operations available. INstead of the 
inline stuff, gcc then emits a library call that ends in an unresolved 
symbol. If you specify any
 -march=whatevernewertargettocompilefor
to gcc the builtin is inlined with something usable. But since the default is 
different we might run into trouble more often than not.

I am thinking how to solve that without braking anything. So this will come in 
some time, but for now 32 bit gcc linux builds do not get that.

GReetings

MAthias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 


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

Reply via email to