Skip to content

Manually specified CROSS_COMPILE no longer works with null runtime #265

@nathanchance

Description

@nathanchance

Specifying CROSS_COMPILE used to work for setting the triple for a particular environment.

$ uvx --with tuxmake==1.36.0 tuxmake -a arm -k defconfig -t gcc CROSS_COMPILE=arm-linux-gnueabi- default
tuxmake --target-arch=arm --kconfig=defconfig --toolchain=gcc --wrapper=none --environment=KBUILD_BUILD_TIMESTAMP=@1775583229 --environment=KBUILD_BUILD_USER=tuxmake --environment=KBUILD_BUILD_HOST=tuxmake --environment=KCFLAGS=-ffile-prefix-map=/run/host/home/nathan/.cache/tuxmake/builds/2/build/= --runtime=null --image=docker.io/tuxmake/arm_gcc CROSS_COMPILE=arm-linux-gnueabi- config default
make --silent --keep-going --jobs=32 O=/run/host/home/nathan/.cache/tuxmake/builds/2/build ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig
make --silent --keep-going --jobs=32 O=/run/host/home/nathan/.cache/tuxmake/builds/2/build ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
...

But now it unconditionally errors.

$ uvx --with tuxmake==1.37.0 tuxmake -a arm -k defconfig -t gcc CROSS_COMPILE=arm-linux-gnueabi- default
E: Compiler not found: arm-linux-gnueabihf-gcc
Install the compiler or use a container-based runtime (e.g. --runtime=docker/podman)

I am not sure which PR broke this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions