Bug 2666 - RFE: Solaris should include "sunmath" additionally to -lm for MathLibrary
Summary: RFE: Solaris should include "sunmath" additionally to -lm for MathLibrary
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Monolithic (show other bugs)
Version: git
Hardware: SPARC Solaris
: high enhancement
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-07 13:02 UTC by Roland Mainz
Modified: 2011-10-15 15:47 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Prototype patch (1.42 KB, patch)
2005-03-07 13:09 UTC, Roland Mainz
no flags Details | Splinter Review

Description Roland Mainz 2005-03-07 13:02:24 UTC
RFE: Solaris should include "sunmath" additionally to -lm for MathLibrary. This
would give access to additional gcc'nisms such as |sincos()| (needed for bug
2442 & co.) and other shortcuts...
Comment 1 Roland Mainz 2005-03-07 13:09:07 UTC
Created attachment 2036 [details] [review]
Prototype patch

The prototype patch rasies some questions:
- Is "sunmath" available on Solaris i386 + PPC, too ?
- How should the availability of |sincos()|&co. be propagated in the Imakefile
system ?
Comment 2 Alan Coopersmith 2005-03-07 14:08:21 UTC
1) libsunmath is only available with the Sun compilers, so you would need
   to wrap in '#if HasSunC'

2) sincos() is in libm on Solaris 10, both SPARC & x86, no additional 
   libraries required.

3) There is no Solaris on PPC to worry about today.   No one left has copies of
   the long dead Solaris 2.5.1 on PPC, nor is it likely anyone cares about it.
   If/when OpenSolaris is ported to PPC, then questions about what it has/supports
   can be answered.   Until then, we can only guess at what may come.
Comment 3 Daniel Stone 2006-04-04 23:45:49 UTC
imake is dead, and this seems to be an extreme corner case


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.