mingw-w64/mingw-w64-crt
Martin Storsjö b2bac2bb07 crt: Avoid using powf in UCRT on i386, temporarily
This reverts parts of 52c98b1273.

While powf indeed is available in UCRT on i386 too, it's missing
in Wine's i386 ucrtbase.dll (as of Wine 9.15). This probably stems
from the same mistake originally. (Most of the float math functions,
suffixed with -f, are unavailable in the i386 UCRT, but powf is
available.)

This was fixed in upstream Wine in commit
5393ba55464f3346bad7b98e11733348f2b64c6f, which will be part of
the upcoming Wine 9.16.

Thus, to allow built executables to run on current Wine versions,
avoid linking against this function, as a temporary workaround.

After a grace period, to let fixed versions of Wine become more
widely available, we can revert this, to link against powf
on i386 too.

At that point, we can stop including math/powf.c in src_ucrtbase32
in Makefile.am too.

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-08-23 10:42:40 +03:00
..
build-aux Regenerate configure with autoconf 2.72 2024-01-09 22:26:23 +08:00
cfguard crt: Mark __guard_dispatch_icall_dummy as global 2023-10-31 22:48:43 +02:00
complex catanh: Use approximations for small real part 2022-08-28 23:16:29 +03:00
crt crt: Move non-startup files out of the mingw-w64-crt/crt/ directory 2024-08-12 11:11:10 +03:00
def-include crt: Update comment about UCRT _HUGE in crt-aliases.def.in 2024-08-19 23:14:53 +03:00
gdtoa gdtoa: Sync to match the latest version at netlib.org 2023-06-12 23:51:11 +03:00
include crt: Access __initenv and __winitenv global variables via __p___initenv() and __p___winitenv() functions 2024-07-24 12:28:04 +03:00
intrincs crt: Undefine __rdtsc for GCC 11 2021-05-06 21:37:52 +08:00
lib32 crt: Add bcryptprimitives.def for x86 2024-07-28 20:12:06 +08:00
lib64 crt: Add bcryptprimitives.def for x86 2024-07-28 20:12:06 +08:00
lib-common crt: Avoid using powf in UCRT on i386, temporarily 2024-08-23 10:42:40 +03:00
libarm32 crt: Unify bcryptprimitives.def for ARM and ARM64 2024-07-28 20:16:32 +08:00
libarm64 crt: Unify bcryptprimitives.def for ARM and ARM64 2024-07-28 20:16:32 +08:00
libce crt: Do not export DllMain from def files 2024-03-02 22:57:10 +02:00
libsrc crt/libsrc: Include mfmediaengine.h in mfuuid library 2024-05-08 09:27:18 +08:00
math headers: Unify _HUGE definition between UCRT and non-UCRT builds 2024-07-24 13:30:17 +03:00
mingw define WIN32_LEAN_AND_MEAN if not defined already. 2009-08-22 18:11:19 +00:00
misc crt: Split UCRT at_quick_exit() into separate file 2024-08-12 23:15:33 +03:00
profile crt: Fix profil.c compile warning: cast between incompatible function types 2024-08-13 22:26:03 +08:00
secapi crt: Fix misleading indentation warning with gcc 2023-02-05 17:03:52 +08:00
ssp crt: Implement __gets_chk 2023-02-14 00:34:11 +02:00
stdio crt: Access errno directly instead of _get_errno/_set_errno functions 2024-08-09 14:20:46 +03:00
string crt/string: add parentheses to HASZERO macro to suppress gcc warning 2020-06-12 13:39:55 +03:00
testcases crt: Implement tdestroy 2022-10-23 21:58:24 +08:00
.gitignore crt: Add generated DEFs in .gitignore 2022-12-19 22:24:53 +08:00
aclocal.m4 Regenerate configure with autoconf 2.72 2024-01-09 22:26:23 +08:00
ChangeLog 2014-05-19 Corinna Vinschen <vinschen@redhat.com> 2014-05-19 18:56:41 +02:00
ChangeLog.2009 Use consistent ChangeLog naming 2012-11-16 21:11:30 +00:00
ChangeLog.2010 Changelog move on new year. 2011-01-02 11:04:05 +00:00
ChangeLog.2011 Rotate ChangeLog 2012-01-06 14:52:24 +00:00
ChangeLog.2012 Bump 2012 2013-01-11 16:06:50 +00:00
ChangeLog.2013 Rotate 2013 log 2014-01-25 02:21:20 +00:00
config.h.in Regenerate configure with autoconf 2.72 2024-01-09 22:26:23 +08:00
configure Regenerate configure with autoconf 2.72 2024-01-09 22:26:23 +08:00
configure.ac crt: Remove support for building with genlib 2023-09-08 10:40:27 +03:00
Makefile.am crt: Add import library for ucrtbased.dll 2024-08-19 23:14:53 +03:00
Makefile.in crt: Regenerate Makefile.in 2024-08-19 23:19:20 +03:00
revstamp.h 2009-02-07 Kai Tietz <kai.tietz@onevision.com> 2009-02-07 21:55:52 +00:00