Commit 790d1f5
committed
[flang-x86_64-windows] Add compiler-rt
On Windows, compiler-rt is required to provide LLVM-emitted functions
that Microsoft's crt does not provide.
Otherwise, this is the error:
flang_rt.runtime.dynamic.lib(binary-to-decimal.cpp.obj) : error LNK2019: unresolved external symbol __udivti3 referenced in function "public: __cdecl Fortran::decimal::BigRadixFloatingPointNumber<64,16>::BigRadixFloatingPointNumber<64,16>(class Fortran::decimal::BinaryFloatingPointNumber<64>,enum Fortran::decimal::FortranRounding)" (??0?$BigRadixFloatingPointNumber@$0EA@$0BA@@decimal@Fortran@@qeaa@V?$BinaryFloatingPointNumber@$0EA@@12@W4FortranRounding@12@@z)
flang-rt\unittests\Evaluate\reshape.test.exe : fatal error LNK1120: 1 unresolved externals1 parent 4b1d15c commit 790d1f5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2527 | 2527 | | |
2528 | 2528 | | |
2529 | 2529 | | |
2530 | | - | |
| 2530 | + | |
2531 | 2531 | | |
2532 | 2532 | | |
2533 | 2533 | | |
| |||
0 commit comments