Bug 190614 - multimedia/vlc deinterlace/yadif_template.h:262:9: error: inline assembly requires more registers than available
Summary: multimedia/vlc deinterlace/yadif_template.h:262:9: error: inline assembly req...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-04 14:57 UTC by mikhail.rokhin
Modified: 2014-06-10 12:39 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikhail.rokhin 2014-06-04 14:57:42 UTC
../../doltlibtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../..  -DMODULE_NAME=$(p="libdynamicoverlay_plugin_la-dynamicoverlay_buffer.lo"; p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}") -DMODULE_NAME_IS_$(p="libdynamicoverlay_plugin_la-dynamicoverlay_buffer.lo"; p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}") -DMODULE_STRING=\"$(p="libdynamicoverlay_plugin_la-dynamicoverlay_buffer.lo"; p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}")\" -D__PLUGIN__ -I../../include -I../../include -I/usr/local/include/gnutls3 -I/usr/local/include -DLIBICONV_PLUG  -O2 -pipe -march=corei7  -DLIBICONV_PLUG -fno-strict-aliasing -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -MT libdynamicoverlay_plugin_la-dynamicoverlay_buffer.lo -MD -MP -MF .deps/libdynamicoverlay_plugin_la-dynamicoverlay_buffer.Tpo -c -o libdynamicoverlay_plugin_la-dynamicoverlay_buffer.lo `test -f 'dynamicoverlay/dynamicoverlay_buffer.c' || echo './'`dynamicoverlay/dynamicoverlay_buffer.c
In file included from deinterlace/algo_yadif.c:48:
In file included from deinterlace/yadif.h:49:
deinterlace/yadif_template.h:262:9: error: inline assembly requires more registers than
      available
        FILTER
        ^
deinterlace/yadif_template.h:135:13: note: expanded from macro 'FILTER'
            "pxor      "MM"7, "MM"7 \n\t"\
            ^
deinterlace/yadif_template.h:256:9: error: inline assembly requires more registers than
      available
        FILTER
        ^
deinterlace/yadif_template.h:135:13: note: expanded from macro 'FILTER'
            "pxor      "MM"7, "MM"7 \n\t"\
            ^
3 warnings and 2 errors generated.
deinterlace/algo_ivtc.c:gmake[6]: 179:30: warning: *** [libdeinterlace_plugin_la-algo_yadif.lo] Error 1
unused gmake[6]: variable 'pi_worst_field_pairs'
      [-Wunused-const-variable]
*** Waiting for unfinished jobs....
static const ivtc_field_pair pi_worst_field_pairs[NUM_CADENCE_POS][4] = {
                             ^
mv -f .deps/libdynamicoverlay_plugin_la-dynamicoverlay_buffer.Tpo .deps/libdynamicoverlay_plugin_la-dynamicoverlay_buffer.Plo
1 warning generated.
mv -f .deps/libdeinterlace_plugin_la-algo_ivtc.Tpo .deps/libdeinterlace_plugin_la-algo_ivtc.Plo
gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.1.4/modules/video_filter'

clang well-known registers trouble

VDPAU option should be enabled. It applies also to some VDPAU-ports (ffmpeg, mplayer, etc)
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2014-06-04 15:05:55 UTC
Does it work if you enable the OPTIMIZED_CFLAGS option?
Comment 2 mikhail.rokhin 2014-06-04 16:24:23 UTC
(In reply to Tijl Coosemans from comment #1)
> Does it work if you enable the OPTIMIZED_CFLAGS option?

Thank you it helped. But without?)
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2014-06-10 07:06:33 UTC
Over to maintainers.
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-06-10 12:38:17 UTC
A commit references this bug:

Author: tijl
Date: Tue Jun 10 12:38:10 UTC 2014
New revision: 357305
URL: http://svnweb.freebsd.org/changeset/ports/357305

Log:
  Fix compilation on i386 when OPTIMIZED_CFLAGS option is off.

  PR:		190614

Changes:
  head/multimedia/vlc/Makefile
Comment 5 Tijl Coosemans freebsd_committer freebsd_triage 2014-06-10 12:39:08 UTC
Fixed in r357305.