void-linux / void-linux/void-packages
GCC cannot be cross-compiled to armv5tel
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Is this a new report?
Yes
System Info
Void 6.12.63_1 x86_64 GenuineIntel uptodate r
Package(s) Affected
gcc-14.2.1+20250405_4
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
Proper build without issues. GCC cross-compiles to armv5tel-musl without issue, but musl1.1 not optimal for me.
Actual behaviour
After completing the pre-build hooks, the gcc build fails during the do_build stage, noting
configure: error: in '/builddir/gcc-14.2.1+20250405/build/fixincludes':
configure: error: C preprocessor "arm-linux-gnueabi-cpp" fails sanity check
Steps to reproduce
- clone this repo
- run
./xbps-src binary-bootstrap - run
./xbps-src -a armv5tel pkg gcc - fails during configure stage
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
Reproduce the failure with ./xbps-src binary-bootstrap followed by ./xbps-src -a armv5tel pkg gcc, and inspect the gcc build's do_build/configure output around the fixincludes directory. Done means the gcc package builds successfully for armv5tel without the arm-linux-gnueabi-cpp sanity-check failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, shell
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100