Closed Bug 1315956 Opened 9 years ago Closed 9 years ago

sincos() should be used on more platforms

Categories

(Core :: JavaScript Engine, defect)

45 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: petr.sumbera, Assigned: petr.sumbera)

Details

Attachments

(1 file)

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.
Attached patch Bug1315956.patchSplinter Review
Attachment #8808601 - Flags: review?(dtownsend)
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Attachment #8808601 - Flags: review?(dtownsend) → review?(jdemooij)
Comment on attachment 8808601 [details] [diff] [review] Bug1315956.patch Review of attachment 8808601 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8808601 - Flags: review?(jdemooij) → review+
Assignee: nobody → petr.sumbera
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: checkin-needed
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: