[PATCH] D136915: Add build for Windows on Arm in packaging script
Pierrick Bouvier via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 00:24:22 PST 2023
pbo-linaro added a comment.
@omjavaid After testing with LLVM main branch, removing the flags (and especially the *LINKER_FLAGS=$builtins) results in a link failure during stage 1:
FAILED: tools/flang/unittests/Decimal/quick-sanity-test.test.exe
cmd.exe /C "cd . && C:\wenv\arm64\cmake\bin\cmake.exe -E vs_link_exe --intdir=tools\flang\unittests\Decimal\CMakeFiles\quick-sanity-test.test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\work\recipes\llvm-release\llvm_package_main\build_arm64_stage0\bin\lld-link.exe /nologo tools\flang\unittests\Decimal\CMakeFiles\quick-sanity-test.test.dir\quick-sanity-test.cpp.obj /out:tools\flang\unittests\Decimal\quick-sanity-test.test.exe /implib:lib\quick-sanity-test.test.lib /pdb:tools\flang\unittests\Decimal\quick-sanity-test.test.pdb /version:0.0 /machine:ARM64 /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMSupport.lib lib\FortranDecimal.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll lib\LLVMDemangle.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\work\recipes\llvm-release\llvm_package_main\build_arm64_stage0\bin\lld-link.exe /nologo tools\flang\unittests\Decimal\CMakeFiles\quick-sanity-test.test.dir\quick-sanity-test.cpp.obj /out:tools\flang\unittests\Decimal\quick-sanity-test.test.exe /implib:lib\quick-sanity-test.test.lib /pdb:tools\flang\unittests\Decimal\quick-sanity-test.test.pdb /version:0.0 /machine:ARM64 /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMSupport.lib lib\FortranDecimal.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll lib\LLVMDemangle.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:tools\flang\unittests\Decimal\quick-sanity-test.test.exe.manifest" failed (exit code 1) with the following output:
lld-link: error: undefined symbol: __udivti3
Leaving the builtins flag make the stage1 succeed.
Could you investigate this, and see if it compiles cleanly on your side?
Thanks
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136915/new/
https://reviews.llvm.org/D136915
More information about the llvm-commits
mailing list