Package Details: vapoursynth-plugin-smoothuv-git 3.0.g30a2851-1

Git Clone URL: https://aur.archlinux.org/vapoursynth-plugin-smoothuv-git.git (read-only, click to copy)
Package Base: vapoursynth-plugin-smoothuv-git
Description: Plugin for Vapoursynth: smoothuv (GIT version)
Upstream URL: https://forum.doom9.org/showthread.php?t=175520
Keywords: vapoursynth
Licenses: GPL
Conflicts: vapoursynth-plugin-smoothuv
Provides: vapoursynth-plugin-smoothuv
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 1
Popularity: 0.000000
First Submitted: 2018-06-16 13:33 (UTC)
Last Updated: 2023-02-14 23:53 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2023-02-14 21:06 (UTC)

Fails to build() for me with
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/emmintrin.h:1390:55: error: selector must be an integer constant in the range [0, 7]:

[1/2] Compiling C++ object libsmoothuv.so.p/src_SmoothUV.cpp.o
FAILED: libsmoothuv.so.p/src_SmoothUV.cpp.o 
ccache c++ -Ilibsmoothuv.so.p -I. -I../smoothuv -I/usr/include/vapoursynth -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -Og -fno-lto -gdwarf-5 -ggdb -gno-strict-dwarf -g3 -gpubnames -grecord-gcc-switches -fno-eliminate-unused-debug-symbols -fvar-tracking -fvar-tracking-assignments -fdebug-types-section -fno-stack-protector -fno-omit-frame-pointer -D_FORTIFY_SOURCE=0 -DDEBUG -ffile-prefix-map=/home/[...]/.cache/yay/vapoursynth-plugin-smoothuv-git/src=/usr/src/debug/vapoursynth-plugin-smoothuv-git -fpeel-loops -fPIC -Wall -Wextra -Wshadow -mfpmath=sse -msse2 -MD -MQ libsmoothuv.so.p/src_SmoothUV.cpp.o -MF libsmoothuv.so.p/src_SmoothUV.cpp.o.d -o libsmoothuv.so.p/src_SmoothUV.cpp.o -c ../smoothuv/src/SmoothUV.cpp
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
In file included from ../smoothuv/src/SmoothUV.cpp:7:
In function ‘int _mm_extract_epi16(__m128i, int)’,
    inlined from ‘void sum_pixels_SSE2(const uint8_t*, uint8_t*, int, int, int, int, const __m128i&, const uint16_t*)’ at ../smoothuv/src/SmoothUV.cpp:69:34:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/emmintrin.h:1390:55: error: selector must be an integer constant in the range [0, 7]
 1390 |   return (unsigned short) __builtin_ia32_vec_ext_v8hi ((__v8hi)__A, __N);
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In function ‘__m128i _mm_insert_epi16(__m128i, int, int)’,
    inlined from ‘void sum_pixels_SSE2(const uint8_t*, uint8_t*, int, int, int, int, const __m128i&, const uint16_t*)’ at ../smoothuv/src/SmoothUV.cpp:70:34:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include/emmintrin.h:1396:48: error: selector must be an integer constant in the range [0, 7]
 1396 |   return (__m128i) __builtin_ia32_vec_set_v8hi ((__v8hi)__A, __D, __N);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

Same with

  export CFLAGS='-march=native'
  export CXXCFLAGS='-march=native'
  export DEBUG_CFLAGS='-march=native'
  export DEBUG_CXXCFLAGS='-march=native'

My CPU: Intel N4100, grep flags /proc/cpuinfo | head -n1:

flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts umip rdpid arch_capabilities

Thanks for maintaining,
Regards!