Closed Bug 1912467 Opened 1 year ago Closed 1 year ago

The bundled MSVC does not include Hostarm64

Categories

(Firefox Build System :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1913701

People

(Reporter: saschanaz, Unassigned)

References

Details

This causes MSVC detection failure.

> ./mach build
 0:01.38 W Clobber not needed.
 Config object not found by mach.
 0:01.94 Using Python 3.12.5 from C:\Users\sasch\.mozbuild\srcdirs\gecko-23ebcb979905\_virtualenvs\build\Scripts\python.exe
 0:01.94 Adding configure options from D:\gecko\mozconfig
 0:01.94   --host=aarch64-pc-windows-msvc
 0:01.94   --disable-optimize
 0:01.95 checking for vcs source checkout... git
 0:01.99 checking for a shell... C:/mozilla-build/msys2/usr/bin/sh.exe
 0:02.12 checking for host system type... aarch64-pc-windows-msvc
 0:02.12 checking for target system type... aarch64-pc-windows-msvc
 0:02.38 checking whether cross compiling... no
 0:02.47 checking for Python 3... C:/Users/sasch/.mozbuild/srcdirs/gecko-23ebcb979905/_virtualenvs/build/Scripts/python.exe (3.12.5)
 0:02.47 checking for git... C:/PROGRA~1/Git/cmd/git.exe
 0:02.52 checking for Git version... 2.46.0.windows.1
 0:02.55 checking for sparse checkout... no
 0:02.56 checking for MozillaBuild directory... C:\mozilla-build
 0:02.56 checking for MozillaBuild version... 4.1
 0:06.33 checking for wget... C:/mozilla-build/msys2/usr/bin/wget.exe
 0:06.34 checking for ccache... not found
 0:06.34 checking for the target C compiler... C:/Users/sasch/.mozbuild/clang/bin/clang-cl.exe
 0:06.48 checking whether the target C compiler can be used... yes
 0:06.49 checking the target C compiler version... 18.1.7
 0:06.54 checking the target C compiler works... yes
 0:06.54 checking for the target C++ compiler... C:/Users/sasch/.mozbuild/clang/bin/clang-cl.exe
 0:06.64 checking whether the target C++ compiler can be used... yes
 0:06.64 checking the target C++ compiler version... 18.1.7
 0:06.69 checking the target C++ compiler works... yes
 0:06.70 checking for the host C compiler... C:/Users/sasch/.mozbuild/clang/bin/clang-cl.exe
 0:06.70 checking whether the host C compiler can be used... yes
 0:06.70 checking the host C compiler version... 18.1.7
 0:06.70 checking the host C compiler works... yes
 0:06.70 checking for the host C++ compiler... C:/Users/sasch/.mozbuild/clang/bin/clang-cl.exe
 0:06.70 checking whether the host C++ compiler can be used... yes
 0:06.70 checking the host C++ compiler version... 18.1.7
 0:06.70 checking the host C++ compiler works... yes
 0:06.76 checking for 64-bit OS... yes
 0:06.79 checking for Windows SDK... 0x0a00 in 'C:/Users/sasch/.mozbuild/vs/Windows Kits/10'
 0:06.79 checking for Universal CRT SDK... 10.0.22621.0 in 'C:/Users/sasch/.mozbuild/vs/Windows Kits/10'
 0:06.80 ERROR: Cannot find a Visual C++ install for e.g. ATL headers.
*** Fix above errors and then restart with "./mach build"

No Hostarm64 support: https://searchfox.org/mozilla-central/rev/0c55d51c0d2a9b672e42ad40ea54f90267f92a8e/build/moz.configure/toolchain.configure#826-829

This makes host_dir None and thus vc_compiler_path becomes None.

The configure part is bug 1913154.

Summary: The bundled MSVC does not include Hostarm64 (and toolchain.configure does not support it either) → The bundled MSVC does not include Hostarm64
Severity: -- → S3
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1913701
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.