[MPlayer-users] Erroneous flag to as during configure

Thomas Zander thomas.e.zander at googlemail.com
Sun Mar 21 17:58:58 EET 2021


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.

Best regards
RIggs


More information about the MPlayer-users mailing list