[FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Nov 3 18:18:43 CET 2014


On 03.11.2014, at 17:36, "Ronald S. Bultje" <rsbultje at gmail.com> wrote:
> Hi,
> 
> On Mon, Nov 3, 2014 at 7:02 AM, Nicolas George <george at nsup.org> wrote:
> 
>> Le duodi 12 brumaire, an CCXXIII, Reimar Döffinger a écrit :
>>> Configures it as x86_64 with assembler disabled.
>> 
>> If x32 were to become relatively common, i.e. for example if one of the
>> major Linux distros were to make a specific x32 release where this is the
>> default compiler mode, it may become a problem to have assembler silently
>> disabled.
>> 
>> IMHO, a warning at least would be necessary; possibly even explicit user
>> consent, i.e. "enabled asm && die "x32 only works with --disable-asm"
>> instead of "disable asm".
> 
> 
> I'd like to +1 this, we should not encourage users to silently and
> ignorantly create crippled builds.

It's a new architecture.
We don't require people to use --disable-asm on Sparc, MIPS or ARM, all of which have little to no asm code. And all of those are at least as relevant as x32, ARM and MIPS are in fact vastly more significant.
Mainly I do not like it though since it means every distribution needs to add a special case in the build instructions.


More information about the ffmpeg-devel mailing list