Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2015 05:19:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202406] multimedia/libvpx wrong CFLAGS/fail to build
Message-ID:  <bug-202406-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202406

            Bug ID: 202406
           Summary: multimedia/libvpx wrong CFLAGS/fail to build
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ashish@FreeBSD.org
          Reporter: sasamotikomi@gmail.com
          Assignee: ashish@FreeBSD.org
             Flags: maintainer-feedback?(ashish@FreeBSD.org)

--build-pfx= --depfile=vp8/encoder/x86/fwalsh_sse2.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vp8/encoder/x86/fwalsh_sse2.asm > vp8/encoder/x86/fwalsh_sse2.asm.d
mkdir -p vp8/encoder/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vp8/encoder/x86/dct_sse2.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vp8/encoder/x86/dct_sse2.asm > vp8/encoder/x86/dct_sse2.asm.d
mkdir -p vp8/encoder/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vp8/encoder/x86/subtract_mmx.asm.d -f elf32
-I./ -I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vp8/encoder/x86/subtract_mmx.asm > vp8/encoder/x86/subtract_mmx.asm.d
mkdir -p vp8/encoder/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vp8/encoder/x86/dct_mmx.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vp8/encoder/x86/dct_mmx.asm > vp8/encoder/x86/dct_mmx.asm.d
mkdir -p vpx_dsp/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_dsp/x86/variance_impl_mmx.asm.d -f elf32
-I./ -I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_dsp/x86/variance_impl_mmx.asm > vpx_dsp/x86/variance_impl_mmx.asm.d
mkdir -p vpx_dsp/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_dsp/x86/sad_sse4.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_dsp/x86/sad_sse4.asm > vpx_dsp/x86/sad_sse4.asm.d
mkdir -p vpx_dsp/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_dsp/x86/sad_ssse3.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_dsp/x86/sad_ssse3.asm > vpx_dsp/x86/sad_ssse3.asm.d
mkdir -p vpx_dsp/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_dsp/x86/sad_sse3.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_dsp/x86/sad_sse3.asm > vpx_dsp/x86/sad_sse3.asm.d
mkdir -p vpx_dsp/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_dsp/x86/sad_sse2.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_dsp/x86/sad_sse2.asm > vpx_dsp/x86/sad_sse2.asm.d
mkdir -p vpx_dsp/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_dsp/x86/sad4d_sse2.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_dsp/x86/sad4d_sse2.asm > vpx_dsp/x86/sad4d_sse2.asm.d
mkdir -p vpx_dsp/x86/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_dsp/x86/sad_mmx.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_dsp/x86/sad_mmx.asm > vpx_dsp/x86/sad_mmx.asm.d
mkdir -p vpx_ports/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_ports/x86_abi_support.asm.d -f elf32
-I./ -I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_ports/x86_abi_support.asm > vpx_ports/x86_abi_support.asm.d
mkdir -p vpx_ports/
/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d/build/make/gen_asm_deps.sh
\
            --build-pfx= --depfile=vpx_ports/emms.asm.d -f elf32 -I./
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d"/
vpx_ports/emms.asm > vpx_ports/emms.asm.d
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx/src/vpx_decoder.c.o vpx/src/vpx_decoder.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx/src/vpx_encoder.c.o vpx/src/vpx_encoder.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx/src/vpx_codec.c.o vpx/src/vpx_codec.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx/src/vpx_image.c.o vpx/src/vpx_image.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx/src/vpx_psnr.c.o vpx/src/vpx_psnr.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx_mem/vpx_mem.c.o vpx_mem/vpx_mem.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx_scale/generic/vpx_scale.c.o vpx_scale/generic/vpx_scale.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx_scale/generic/yv12config.c.o vpx_scale/generic/yv12config.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx_scale/generic/yv12extend.c.o vpx_scale/generic/yv12extend.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx_scale/generic/gen_scalers.c.o vpx_scale/generic/gen_scalers.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx_scale/vpx_scale_rtcd.c.o vpx_scale/vpx_scale_rtcd.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -c -o
vpx_dsp/sad.c.o vpx_dsp/sad.c
cc  -O2 -pipe -march=athlon-xp  -fstack-protector -fno-strict-aliasing -m32
-DNDEBUG -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -Wunused-variable
-fno-strict-aliasing -Wno-unused-function -I.
-I"/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d" -mavx2  -c -o
vpx_dsp/x86/sad4d_avx2.c.o vpx_dsp/x86/sad4d_avx2.c
vpx_dsp/x86/sad4d_avx2.c:10:10: fatal error: 'immintrin.h' file not found
#include <immintrin.h>  // AVX2
         ^
1 error generated.
Makefile:145: recipe for target 'vpx_dsp/x86/sad4d_avx2.c.o' failed
gmake[3]: *** [vpx_dsp/x86/sad4d_avx2.c.o] Error 1
Makefile:17: recipe for target '.DEFAULT' failed
gmake[2]: *** [.DEFAULT] Error 2
gmake[2]: Leaving directory
'/usr/ports/multimedia/libvpx/work/libvpx-1.4.0-488-ge67d45d'
*** Error code 1

Port used wrong vendor CFLAGS SSE2/3/4/4.1 AVX/AVX2 on CPU without support of
this instructions.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202406-13>