Summary: | Rarian exports private symbols | ||
---|---|---|---|
Product: | Rarian | Reporter: | Hans Petter Jansson <hpj> |
Component: | General | Assignee: | Don Scorgie <Don> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | dmacks |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 12247 | ||
Bug Blocks: | |||
Attachments: | Remove all symbols not matching /^rrn/ from publib ABI of librarian |
Description
Hans Petter Jansson
2007-08-24 16:20:07 UTC
This is related to Bug #11969 (the whole libtinyxml is also public within librarian). Browsing librarian-0.5.8's public .h and 'nm -g librarian.dylib' on my machine, it appears that all public symbols begin with "rrn_" (Don, is that true, and if so is it reasonable to assume that it will be true into the future?). In that case, maybe we could use (warning, untested, just brainstorming here): librarian_la_LDFLAGS -export-symbols-regex "^rrn_.*" to privatize *all* other variables (including the private implementation-detail symbols, libtinyxml convenience-lib symbols, and anything else regardless of how it got there)? Created attachment 11412 [details] [review] Remove all symbols not matching /^rrn/ from publib ABI of librarian Also solves Bug #11969 Fixed in 0.6.0. Not committed to SVN due to bug #12247. Marking this as a dependance to remind me to commit when done. Committed. Closing. |
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.