Several static libraries are leaking symbols
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 258
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Several of our static libraries are leaking symbols because we don't set the default visibility to hidden when building them. This is a problem because it can clash with system symbols when building Mapbox GL Native as a shared library. To some that I identified:
- OpenSSL
- libpng
- sqlite
- libuv
- boost
- geojson
Alternatively we could maintain an export symbol list on Mapbox GL Native.
/cc @kkaefer @springmeyer
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how Mason builds the listed static libraries—OpenSSL, libpng, sqlite, libuv, boost, and geojson—and where default symbol visibility is configured. Confirm which symbols leak when Mapbox GL Native is built as a shared library, then verify that the libraries no longer clash with system symbols or that an export symbol list is consistently maintained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sqlite
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100