rust-lang / rust-lang/rustc_codegen_gcc
Issues building m68k
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 105
- Avg merge
- 8h 20m
- Merged PRs (30d)
- 14
Description
I've been trying to build rustc_codegen_gcc for m68k-unknown-none-elf (basically, bare-metal m68k with only libcore) in a Docker container. But, I've hit a dead-end: whatever I try to do in the Dockerfile, the image compilation never progresses past trying to build the sysroot because rustc_codegen_gcc cannot load the libgccjit.so file, even though it's right there (found by the find command) and was just built before building rustc_codegen_gcc
I was wondering if you could help me fix this. It would mean a lot to me
CI logs: https://ci.codeberg.org/repos/16937/pipeline/11/3#L3118
Docker source repository: https://codeberg.org/techmetx11/rustc-gcc-m68k
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 Docker source repository and the CI logs around L3118, then trace the sysroot build where rustc_codegen_gcc fails to load libgccjit.so. The issue is done when the m68k-unknown-none-elf image build progresses past sysroot compilation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, rust
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100