[libav-bugs] [Bug 1120] New: libavcodec/h264_cabac.o: FTBFS when targeting a pre-i686 cpu

bugzilla at libav.org bugzilla at libav.org
Sat Apr 14 22:02:17 CEST 2018


https://bugzilla.libav.org/show_bug.cgi?id=1120

            Bug ID: 1120
           Summary: libavcodec/h264_cabac.o:  FTBFS when targeting a
                    pre-i686 cpu
           Product: Libav
           Version: git HEAD
          Hardware: X86
                OS: All
            Status: NEW
          Severity: minor
          Priority: ---
         Component: libavcodec
          Assignee: bugzilla at libav.org
          Reporter: michael.kostylev at gmail.com

How to reproduce:
% ../src/configure --cpu=pentium-mmx  # also fails with pentium, k6-2 etc.
% make V=2 libavcodec/h264_cabac.o
...
gcc -I. -I/home/mik/src/fate/src -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC
-DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avcodec -march=pentium-mmx -std=c11
-fomit-frame-pointer -fPIC -pthread -g -Wdeclaration-after-statement -Wall
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings
-Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wno-parentheses
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno
-fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration
-Werror=missing-prototypes -Werror=return-type
-Werror=declaration-after-statement -Werror=vla -Werror=format-security
-fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF
libavcodec/h264_cabac.d -MT libavcodec/h264_cabac.o -c -o
libavcodec/h264_cabac.o /home/mik/src/fate/src/libavcodec/h264_cabac.c
In file included from /home/mik/src/fate/src/libavcodec/cabac_functions.h:42:0,
                 from /home/mik/src/fate/src/libavcodec/h264_cabac.c:35:
/home/mik/src/fate/src/libavcodec/h264_cabac.c: In function
‘ff_h264_decode_mb_cabac’:
/home/mik/src/fate/src/libavcodec/x86/cabac.h:173:5: error: ‘asm’ operand has
impossible constraints
     __asm__ volatile(
     ^~~~~~~
/home/mik/src/fate/src/Makefile:49: recipe for target 'libavcodec/h264_cabac.o'
failed
make: *** [libavcodec/h264_cabac.o] Error 1

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20180414/5a27a038/attachment.html>


More information about the libav-bugs mailing list