Opened 15 years ago
Closed 15 years ago
Last modified 4 years ago
#3482 closed defect (fixed)
MACOSX 10.2.8: sqrtf undefined
|Reported by:||SF/mthreepwood||Owned by:||fingolfin|
|Priority:||blocker||Component:||Port: Mac OS X|
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 , 15 years ago
|Priority:||normal → blocker|
comment:2 by , 15 years ago
comment:3 by , 15 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 , 15 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 , 15 years ago
|Status:||new → closed|
comment:6 by , 15 years ago
Fixed in SVN.
comment:7 by , 4 years ago
|Component:||→ Port: Mac OS X|
Raising priority. This is a release-critical bug.