Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94043 - ODE's lack of "double-precision" use-flag may cause serious malfunctions in depending libraries.
Summary: ODE's lack of "double-precision" use-flag may cause serious malfunctions in d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-26 00:38 UTC by Maarten Billemont
Modified: 2005-07-18 21:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten Billemont 2005-05-26 00:38:01 UTC
Libraries depending on dev-games/ode can either be compiled using SINGLE or DOUBLE precision (float/double). The default is most often SINGLE, since this gives a performance boost, especially on slower, more ancient machines (and games need to be universal). Sadly, ODE is set to compile with DOUBLE precision by default, which causes incompatibilities of the kind that all depending libraries 'freak out' and fail to perform anything expected. A "double-precision" use flag should be added (just like on the dev-games/ogre ebuild). Or, setting the default back to SINGLE (preferably, the first, of course).
Comment 1 SpanKY gentoo-dev 2005-07-18 17:13:45 UTC
and how exactly does one configure it to use double versus single ?
Comment 2 Maarten Billemont 2005-07-18 17:48:11 UTC
Lyndir ode-0.5 # less INSTALL 
      1 
      2 here are the steps to buid ODE:
      3 
[...]
     12 (2) edit the settings in the file config/user-settings. the list of 
supported
     13     platforms is given in that file.

Lyndir ode-0.5 # cat config/user-settings
# ODE user settings: the following variables must be set by the user
[...]
# (2) the floating point precision to use (either "SINGLE" or "DOUBLE")

PRECISION=SINGLE
#PRECISION=DOUBLE

Wasn't too hard :P
Comment 3 SpanKY gentoo-dev 2005-07-18 21:47:55 UTC
in cvs