#3482 closed defect (fixed)
MACOSX 10.2.8: sqrtf undefined
Reported by: | SF/mthreepwood | Owned by: | fingolfin |
---|---|---|---|
Priority: | blocker | Component: | Port: Mac OS X |
Version: | Keywords: | ||
Cc: | Game: |
Description
Mac OS X 10.2.8
Crashes on startup when running the latest daily build (from Oystein). I get:
undefined reference to _sqrtf expected to be defined in /usr/lib/libSystem.B.dylib Trace/BPT trap
As far as I can tell, this is caused by the sqrtf function in primitives.cpp, line 85.
Ticket imported from: #1845876. Ticket imported from: bugs/3482.
Change History (7)
comment:1 by , 17 years ago
Owner: | set to |
---|---|
Priority: | normal → blocker |
comment:2 by , 17 years ago
comment:3 by , 17 years ago
Could you give the build I just uploaded a spin, please? Tried linking the PPC half of the binary with the mx lib, which apparently is what contains the sqrtf function on 10.2.
comment:4 by , 17 years ago
We should simply not use sqrtf! See sound/softsynth/mt32/tables.cpp for a workaround for similar problems with powf.
In this case, BTW, one could also use the hypot function ;).
comment:5 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 by , 6 years ago
Component: | → Port: Mac OS X |
---|
Raising priority. This is a release-critical bug.