Skip to content

GCC cannot be cross-compiled to armv5tel #58294

@planetbrian

Description

@planetbrian

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

  1. clone this repo
  2. run ./xbps-src binary-bootstrap
  3. run ./xbps-src -a armv5tel pkg gcc
  4. fails during configure stage

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions