This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 65ae944d34 configure: set -mpreferred-stack-boundary=4 for Windows
32-bit targets
65ae944d34 is described below
commit 65ae944d34b47c81cb3d3103028bae8c5c1e7bb2
Author: Kacper Michajłow <[email protected]>
AuthorDate: Thu Jun 4 16:21:50 2026 +0200
Commit: Kacper Michajłow <[email protected]>
CommitDate: Fri Jun 5 03:17:43 2026 +0200
configure: set -mpreferred-stack-boundary=4 for Windows 32-bit targets
Win32 ABI only mandates 4 bytes stack alignment. GCC 16 changed default
align and no longer works with ffmpeg expectations.
Fixes crashes on aligned memory access in mingw32 gcc 16 build.
Signed-off-by: Kacper Michajłow <[email protected]>
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 2abf11614a..f136365d8c 100755
--- a/configure
+++ b/configure
@@ -8173,8 +8173,8 @@ elif enabled gcc; then
enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
if enabled x86_32; then
case $target_os in
- *bsd*)
- # BSDs don't guarantee a 16 byte aligned stack, but we can
+ *bsd*|mingw*|win*|cygwin*)
+ # These targets don't guarantee a 16 byte aligned stack, but we can
# request GCC to try to maintain 16 byte alignment throughout
# function calls. Library entry points that might call assembly
# functions align the stack. (The parameter means 2^4 bytes.)
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]