tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ffmpeg2 fails to build on netbsd-7



On Tue, 2 Dec 2014Manuel Bouyer wrote:

Hello,
trying to build ffmpeg2 on netbsd-7/i386 I get:
libavcodec/x86/ac3dsp_init.c: In function 'ac3_downmix_sse':
libavcodec/x86/ac3dsp_init.c:78:5: error: 'asm' operand has impossible constraints
    __asm__ volatile (                                          \
    ^
libavcodec/x86/ac3dsp_init.c:162:9: note: in expansion of macro 'MIX5'
         MIX5(IF0, IF1);
         ^
libavcodec/x86/ac3dsp_init.c:78:5: error: 'asm' operand has impossible constraints
    __asm__ volatile (                                          \
    ^
libavcodec/x86/ac3dsp_init.c:166:9: note: in expansion of macro 'MIX5'
        MIX5(IF1, IF0);
        ^
common.mak:49: recipe for target 'libavcodec/x86/ac3dsp_init.o' failed

Any idea ?

Its reported in pkg/48680 from John D. Baker.

The patches seem to fix the compile on i386/amd64 (may need updating), but I haven't tested the resultant binary yet.

Dave



--
============================================
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
============================================



Home | Main Index | Thread Index | Old Index