Closed
Bug 1315956
Opened 9 years ago
Closed 9 years ago
sincos() should be used on more platforms
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla52
| Tracking | Status | |
|---|---|---|
| firefox52 | --- | fixed |
People
(Reporter: petr.sumbera, Assigned: petr.sumbera)
Details
Attachments
(1 file)
|
1.23 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20161020232743
Steps to reproduce:
sincos() is called from js/src/jsmath.cpp only on systems with __GLIBC__ defined.
However Solaris has also sincos() support:
http://docs.oracle.com/cd/E36784_01/html/E36877/sincos-3m.html
And since configure check finds __sincos() in libm on Solaris it tries to use it. But it fails because it doesn't have defined prototype.
Therefore configure check for sincos() should be added.
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8808601 -
Flags: review?(dtownsend)
Updated•9 years ago
|
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Updated•9 years ago
|
Attachment #8808601 -
Flags: review?(dtownsend) → review?(jdemooij)
Comment 2•9 years ago
|
||
Comment on attachment 8808601 [details] [diff] [review]
Bug1315956.patch
Review of attachment 8808601 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8808601 -
Flags: review?(jdemooij) → review+
Updated•9 years ago
|
Assignee: nobody → petr.sumbera
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ce4e1e1d0bff
Use sincos() on more platforms. r=jandem
Keywords: checkin-needed
Comment 4•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•