[MPlayer-users] Erroneous flag to as during configure

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 22 07:14:06 EET 2021


On 21 March 2021 16:58:58 CET, Thomas Zander <thomas.e.zander at googlemail.com> wrote:
>Hi,
>
>Some time in the recent past, the assembler test for vector extensions
>gained a "-c" flag (currently in line 3093):
>  if test "$_ssse3" = yes ; then
>    _pref_as_version='2.16.92'
>    echo 'pabsd %xmm0, %xmm1' >> $TMPS
>  fi
>  $_as -c $TMPS -o $TMPEXE > /dev/null 2>&1 || as_verc_fail=yes
>
>The flag "-c" does not exist in some binutils releases that are
>actually *newer* than 2.16.92, leading to funny error messages on e.g.
>FreeBSD 11.4:
>
>Checking for assembler (as 2.17.50) ... failed (Upgrade binutils to
>2.16.92 or use --disable-ssse3 etc.)
>
>Reverting to the previous behaviour (i.e. dropping the "-c" flag)
>fixes the issue.

What command are you running? 
Adding the -c is a bugfix for the fact that the plain "as" command never worked for compiling the assembler code that exists.
So this $_as generally must be set to gcc or similar.
This means a behaviour change for x86 (which except for this test never uses the assembler, thus the problem was not noticed), but is necessary to get properly performing Arm builds.


More information about the MPlayer-users mailing list