gnome.generate_gir uses improper shared-library with executable and ASAN
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 1.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 33
Description
If you pass an executable() to gnome.generate_gir() and -Db_sanitize=address is enabled, you can end up with a .gir file that has shared-library="libasan.so.5" or similar.
This causes a problem at runtime as GObject Introspection will fail to locate the proper symbols.
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 the implementation of gnome.generate_gir and how it determines the shared-library value when an executable is used with -Db_sanitize=address. Reproduce the issue and inspect the generated .gir file. Done means the GIR file names the proper library rather than libasan.so.5, and GObject Introspection can locate the expected symbols.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100