Opened 17 years ago

Closed 17 years ago

Last modified 6 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
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 sev-, 17 years ago

Owner: set to fingolfin
Priority: normalblocker

comment:2 by sev-, 17 years ago

Raising priority. This is a release-critical bug.

comment:3 by vinterstum, 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 fingolfin, 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 fingolfin, 17 years ago

Resolution: fixed
Status: newclosed

comment:6 by fingolfin, 17 years ago

Fixed in SVN.

comment:7 by digitall, 6 years ago

Component: Port: Mac OS X
Note: See TracTickets for help on using tickets.