Summary: | solaris build broken with missing ffsll | ||
---|---|---|---|
Product: | Mesa | Reporter: | Pierre Ossman <pierre-bugzilla> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | 9.1 | ||
Hardware: | Other | ||
OS: | Solaris | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | MesaLib-9.1.1-ffs.patch |
For what it's worth Solaris 11 and later have ffsll(), but not older releases. The patch to use the gcc builtins when possible makes sense to me. Should be fixed with commit 95df2b28831147b3e7ce2a3b6257bf60c46b4ab4 |
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.
Created attachment 77157 [details] MesaLib-9.1.1-ffs.patch Mesa uses ffsll, which isn't present on Solaris. It is however present as a builtin in gcc, which is sufficient. But for unclear reasons the Mesa headers will only properly use that on a specific list of platforms, instead of all gcc compliations. Attached patch removes this restrictive list and uses the builtins whenever gcc is used and the native versions are missing.