Skip to content

riscv-64 Docker build: unblock Ubuntu 26.04 by pinning host compiler and unsafe-configure override#360

Open
Copilot wants to merge 3 commits into
mainfrom
copilot/investigate-ci-failure-342
Open

riscv-64 Docker build: unblock Ubuntu 26.04 by pinning host compiler and unsafe-configure override#360
Copilot wants to merge 3 commits into
mainfrom
copilot/investigate-ci-failure-342

Conversation

Copilot AI commented Jun 12, 2026

Copy link
Copy Markdown

PR #360 moved the riscv-64 test artifact image to Ubuntu 26.04, but the Buildroot stage failed in CI: first on host-tar root checks, then on host-m4 compilation under the default Ubuntu 26.04 host toolchain. This update aligns the container environment with Buildroot’s expectations for this path.

  • Buildroot configure behavior

    • Added FORCE_UNSAFE_CONFIGURE=1 before the Buildroot make step to bypass host-tar’s root configure guard inside the Docker build context.
  • Host toolchain stabilization on Ubuntu 26.04

    • Installed gcc-13 / g++-13.
    • Exported HOSTCC and HOSTCXX to force Buildroot host packages (including host-m4) to compile with GCC 13 instead of the Ubuntu 26.04 default compiler set.
  • riscv-64 Dockerfile updates

    • Kept the Ubuntu 26.04 base-image bump and layered the CI compatibility changes in the same file:
      • /tests/rsrc/riscv-64/Dockerfile
ENV FORCE_UNSAFE_CONFIGURE=1
ENV HOSTCC=/usr/bin/gcc-13
ENV HOSTCXX=/usr/bin/g++-13
RUN make BR2_EXTERNAL=/test/test-kernel-modules/ simics_simple_riscv_defconfig && \
    make && \
    ...

Copilot AI changed the title build(deps): bump ubuntu from 22.04 to 26.04 in /tests/rsrc/riscv-64 (fix CI) fix(ci): bump ubuntu 22.04→26.04 in riscv-64 Dockerfile and set FORCE_UNSAFE_CONFIGURE Jun 12, 2026
Copilot AI requested a review from Wenzel June 12, 2026 15:17
@Wenzel Wenzel marked this pull request as ready for review June 12, 2026 15:42
Copilot AI changed the title fix(ci): bump ubuntu 22.04→26.04 in riscv-64 Dockerfile and set FORCE_UNSAFE_CONFIGURE riscv-64 Docker build: unblock Ubuntu 26.04 by pinning host compiler and unsafe-configure override Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants