AdaCore / AdaCore/gnatcoll-bindings
Compiling Issue
Nobody has claimed this yet.
- Dominant language
- Ada
- Stars
- 15
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting this error
hon_support.o: relocation R_X86_64_PC32 against symbol init_user_module can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
gprlib: /usr/bin/gcc execution error
gprbuild: could not build library for project gnatcoll_python
process failed with status: 4
==> ERROR: A failure occurred in build().
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 with the gnatcoll_python build output and the gprbuild configuration that produces hon_support.o, then determine where the shared-object link is configured. Reproduce the build and trace compilation of hon_support.o; done means the gnatcoll_python library builds without the R_X86_64_PC32 relocation or final-link errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100