Erroneous flag to as during configure

Thomas Zander <[email protected]> Sun, 21 Mar 2021 16:58:58 +0100
Newsgroups gmane.comp.video.mplayer.user
Message-ID <CAFU734yVksC9bJOogCdGjs-nL5XgvnX2MeXO22LKJwqG-P1MtQ@mail.gmail.com>
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
_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users