Bug 156803 - multimedia/ffmpeg: CLANG: libavcodec/x86/dsputil_mmx.c:609:10: error: invalid operand for instruction "movzx (%3,%4), %2 \n"
Summary: multimedia/ffmpeg: CLANG: libavcodec/x86/dsputil_mmx.c:609:10: error: invalid...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 03:40 UTC by O. Hartmann
Modified: 2011-06-29 15:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2011-05-04 03:40:08 UTC
Receiving the following error during compilation of the port with CLANG. /etc/make.conf is setup as recommended by the WIKI.

1 warning generated.
CC      libavcodec/x86/lpc_mmx.o
CC      libavcodec/x86/mlpdsp.o
CC      libavcodec/x86/motion_est_mmx.o
CC      libavcodec/x86/mpegvideo_mmx.o
CC      libavcodec/x86/simple_idct_mmx.o
CC      libavcodec/x86/snowdsp_mmx.o
CC      libavcodec/x86/vc1dsp_mmx.o
libavcodec/x86/snowdsp_mmx.c:848:10: error: ambiguous instructions require an explicit suffix (could be 'addb', 'addw', 'addl', or 'addq')
snow_inner_add_yblock_mmx_end("32")
^
libavcodec/x86/snowdsp_mmx.c:813:48: note: instantiated from:
             "add %%"REG_c", (%%"REG_a")     \n\t"\
                                               ^
<inline asm>:139:2: note: instantiated into assembly here
        add $8*1, 56(%rsp)          
        ^
libavcodec/x86/snowdsp_mmx.c:831:10: error: ambiguous instructions require an explicit suffix (could be 'addb', 'addw', 'addl', or 'addq')
snow_inner_add_yblock_mmx_end("16")
^
libavcodec/x86/snowdsp_mmx.c:813:48: note: instantiated from:
             "add %%"REG_c", (%%"REG_a")     \n\t"\
                                               ^
<inline asm>:78:2: note: instantiated into assembly here
        add $8*1, 96(%rsp)          
        ^
2 errors generated.
gmake: *** [libavcodec/x86/snowdsp_mmx.o] Error 1
gmake: *** Waiting for unfinished jobs....
libavcodec/x86/dsputil_mmx.c:609:10: error: invalid operand for instruction
        "movzx (%3,%4), %2 \n"
         ^
<inline asm>:3:20: note: instantiated into assembly here
movzx (%rcx,%r11), %r10d 
                   ^
3 warnings and 1 error generated.
gmake: *** [libavcodec/x86/dsputil_mmx.o] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.

===>>> make failed for multimedia/ffmpeg
===>>> Aborting update

===>>> Update for multimedia/ffmpeg failed
===>>> Aborting update
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-04 03:40:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-06-29 15:16:34 UTC
mm          2011-06-29 14:16:13 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/ffmpeg    Makefile 
    multimedia/ffmpeg-devel Makefile 
  Log:
  Reintroduce OPENCV and FREI0R options and enable by default
  Remove SSSE3 and CPUDETECT options (now always on)
  
  PR:     ports/149889, ports/156803, ports/158289, ports/158331
  
  Revision  Changes    Path
  1.146     +12 -18    ports/multimedia/ffmpeg-devel/Makefile
  1.132     +20 -30    ports/multimedia/ffmpeg/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Matuska freebsd_committer freebsd_triage 2011-06-29 15:25:32 UTC
State Changed
From-To: open->closed

Resolved. Thanks!