#1039004 binutils: Binutils regression causes FTBFS in FFMPEG

Package:
binutils
Source:
binutils
Description:
GNU assembler, linker and binary utilities
Submitter:
Matti Hämäläinen
Date:
2023-07-21 15:27:05 UTC
Severity:
normal
Tags:
#1039004#5
Date:
2023-06-24 12:05:35 UTC
From:
To:
Dear Maintainer,

Upgrading binutils from 2.40-2 to 2.40.50.20230611-2 in Testing (or to later
2.40.50.20230622-1 from Unstable) causes a regression when compiling FFmpeg.

CC      libavformat/adtsenc.o
./libavcodec/x86/mathops.h: Assembler messages:
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'

Downgrading binutils packages back to 2.40-2 fixes the issue.

It seems that the problem has already been reported to upstream
https://sourceware.org/bugzilla/show_bug.cgi?id=30578

#1039004#12
Date:
2023-07-21 15:15:25 UTC
From:
To:
More discussion about this issue in GCC bugtracker:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108941


As a sidenote: this issue has been circumvented in FFmpeg GIT commmit
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/effadce6c756247ea8bae32dc13bb3e6f464f0eb