Summary: | _cairo_clip_* symbols unreferenced during build of cairo-test-suite | ||
---|---|---|---|
Product: | cairo | Reporter: | mark |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED FIXED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | major | ||
Priority: | medium | ||
Version: | 1.12.0 | ||
Hardware: | Other | ||
OS: | Solaris | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
mark
2012-04-11 17:58:14 UTC
For reference: This is the same underlying problem as bug 48489. The compiler sees a static inline function that is unused but still emits it which sounds pretty useless. The include chain that leads to cairo-clip-private.h is: cairo-boilerplate-ps.c => cairo-ps-surface-private.h => cairo-surface-private.h => cairo-clip-private.h Good luck working around this compiler. :-( I have to ask now: Mark, which compiler is this? The boilerplate shouldn't be poking around inside privates. That prevents us from making it a standalone conformance suite. Instead we need to provide cairo_ps_debug_functions to setup whatever is required for test purposes. It's the Sun Studio 12.1 compiler, see the top of the Description for specifics. I performed some surgery on the header files to try and avoid pulling in inlines when we only want to poke around in the structures. Can you please retest with current git? I'm presuming that I've rearranged the code to bypass this particular error and await the next. I've downloaded 1.12.2 and re-compiled, this error is not seen (but possibly didn't get that far into the compile due to the other bug ;) ) (Regarding using a git download, I've compiled git today and will config it, it times out during connecting at the moment) |
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.