Skip to content

HOSTTYPE reports incorrect value on aarch64 systems #40040

@dkalowsk

Description

@dkalowsk

Windows Version

Microsoft Windows [Version 10.0.26100.8037]

WSL Version

2.6.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.2-microsoft-standard-WSL2

Distro Version

Ubuntu 24.04

Other Software

No response

Repro Steps

Start a new bash shell
Type echo $HOSTTYPE

Expected Behavior

Expect the value of HOSTTYPE not to be explicitly set. If it is necessary to be set, expectation is that this value would be set to the correct host type. On a Qualcomm SoC based Windows WSL install this should be aarch64.

Actual Behavior

Running echo $HOSTTYPE today results in a value of x86_64 being reported when the value should be aarch64.

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions