<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/100202>100202</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Flang build fails on GitHub Action Windows runners
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          tstellar
      </td>
    </tr>
</table>

<pre>
    I'm trying to do a release build with flang on the GitHub Actin Window runners and it is failing with this error:

```
FAILED: bin/bbc.exe 
C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tools\flang\tools\bbc\CMakeFiles\bbc.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:\PROGRA~1\LLVM\bin\lld-link.exe /nologo @CMakeFiles\bbc.rsp /out:bin\bbc.exe /implib:lib\bbc.lib /pdb:bin\bbc.pdb /version:0.0 /machine:x64 /STACK:10000000 /INCREMENTAL:NO /subsystem:console && cd ."
LINK: command "C:\PROGRA~1\LLVM\bin\lld-link.exe /nologo @CMakeFiles\bbc.rsp /out:bin\bbc.exe /implib:lib\bbc.lib /pdb:bin\bbc.pdb /version:0.0 /machine:x64 /STACK:10000000 /INCREMENTAL:NO /subsystem:console /MANIFEST:EMBED,ID=1" failed (exit code 1) with the following output:

lld-link: error: undefined symbol: __udivti3
>>> referenced by FortranDecimal.lib(binary-to-decimal.cpp.obj):(public: __cdecl Fortran::decimal::BigRadixFloatingPointNumber<64, 16>::BigRadixFloatingPointNumber<64, 16>(class Fortran::decimal::BinaryFloatingPointNumber<64>, enum Fortran::decimal::FortranRounding))
>>> referenced by FortranDecimal.lib(binary-to-decimal.cpp.obj):(public: __cdecl Fortran::decimal::BigRadixFloatingPointNumber<113, 16>::BigRadixFloatingPointNumber<113, 16>(class Fortran::decimal::BinaryFloatingPointNumber<113>, enum Fortran::decimal::FortranRounding))
```

### How To Reproduce

```
cmake -G Ninja -S llvm -B /d/a/llvm-project/llvm-project/build \
 -DLLVM_RELEASE_ENABLE_PGO=OFF -DLLVM_RELEASE_ENABLE_LTO=OFF \
         -C clang/cmake/caches/Release.cmake \
 -DBOOTSTRAP_LLVM_PARALLEL_LINK_JOBS=1
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzkVs1u2zgQfhr6MpAhkZaSHHSQZSn1rmMHjrE9GhRJ22wp0iCpJL702ReUrDZB0QJFLgusIcjgDOfj8NP8UefkUQuRo3SO0sWEdv5kbO6dF0pRO2kMv-RLhG9a8PYi9RG8AW6AghVKUCeg6aTi8CL9CQ6K6iMYDf4k4F76T10DBfNSw2epuXkB22ktrAOqOUgP0sGBShVQe3t_kg6EtcYiUqB4geLxncXXp1_WxXJVLRApoJEa4bpp2FS8Chi0ZTBOy-FIh9LSXZwXLcEoLVnLh524LgFhzDhMAeEM4Swsr6aP1hwtbaGWSgSA8oF-FSgtw2kBg34VAQVhDFEFz26vpP66D7hRJLXn0iKy8MaoYNyTgtJyXDcNGyFH_OA_lxaiyDJEFqMX2839tvgW3P68JGWNvyUoLZP4uyNJHGOcfUumQfSazVBa2oGIKGr9x4BaPwJRLQ_CeQcQRfAeMcCsVv88fAdSikeBi5FjbZQ5GkCz-Kf7WncOO0znESkG6--fEdeyPSvZIFKE96BRsgmaM2_eGZx5L34W1kmjESniaRwELWUnqQUixWs2C4KnXVH-jUiRxMMvyJbrcls9VOtdsUKkWG-CzHXNEDCIFMxoZ5QYIyREC8J4CLPVch3ggJm2DfH8Jnz-d-zUD8V6WVdPO0SK6mFeLRAulwtEFknIkZDjIhB0K16lB2a4gAThuzHpBRyMUuYl1AHT-XN_6bfpPxIX6B7LA3Sai4PUgoO7tI1RQbbfd1w-e0mu1qQaHrDiIKzQTHBoLlAb6y3VC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