Build error when using -no-crt
and -o:speed
flags with core:fmt
package
#2107
Labels
-no-crt
and -o:speed
flags with core:fmt
package
#2107
Context
Odin: dev-2022-10-nightly:775c9648
OS: Windows 11 Professional (version: 21H2), build 22000.978
CPU: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
RAM: 32702 MiB
Expected Behavior
Build succeeds.
Current Behavior
Build fails.
Failure Information (for bugs)
When using the
core:fmt
package, and building with both the-no-crt
and-o:speed
flags, the build fails due to an unresolved external symbol. When building with either the-no-crt
or-o:speed
flags (but not both), the build succeeds. When building with both flags and, additionally, the-use-separate-modules
flag, the build will succeed.Steps to Reproduce
odin build -no-crt -o:speed
Failure Logs
... : error LNK2019: unresolved external symbol __gnu_h2f_ieee referenced in function fmt.fmt_quaternion
... : fatal error LNK1120: 1 unresolved externals
The text was updated successfully, but these errors were encountered: