Package Details: vapoursynth-plugin-delogohd-git 12.0.g7e39809-1

Git Clone URL: https://aur.archlinux.org/foosynth-plugin-delogohd-git.git (read-only, click to copy)
Package Base: foosynth-plugin-delogohd-git
Description: Plugin for Vapoursynth: delogohd (GIT version)
Upstream URL: https://forum.doom9.org/showthread.php?t=176658
Keywords: avisynth vapoursynth
Licenses: GPL2
Conflicts: vapoursynth-plugin-delogohd
Provides: vapoursynth-plugin-delogohd
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 1
Popularity: 0.000000
First Submitted: 2020-03-09 06:46 (UTC)
Last Updated: 2023-02-14 22:58 (UTC)

Required by (0)

Sources (1)

Latest Comments

sl1pkn07 commented on 2023-02-14 22:59 (UTC)

try now. without touch nothing in cflags/makepkg.conf

dreieck commented on 2023-02-14 20:56 (UTC) (edited on 2023-02-14 21:02 (UTC) by dreieck)

CFLAGS=" -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"

CPU: Intel N4100.

With

  export CFLAGS='-march=native'
  export CXXFLAGS='-march=native'
  export DEBUG_CFLAGS='-march=native'
  export DEBUG_CXXFLAGS='-march=native'

it builds.

So maybe the PKGBUILD needs some code to get rid off gcc-options that are problematic?

Thanks for the hint.

sl1pkn07 commented on 2023-02-14 17:30 (UTC)

build ok for me. what is your CPU?

works for me with -march=native

dreieck commented on 2023-02-14 16:18 (UTC) (edited on 2023-02-14 16:19 (UTC) by dreieck)

Fails to build() for me with
delogo_engine.add_sse4.cpp:36:27: error: request for member ‘m128i_i32’ in ‘data_p’, which is of non-class type ‘const __m128i’:

==> Starting build()...
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.39.1") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/[...]/.cache/yay/foosynth-plugin-delogohd-git/src/delogohd/build
[ 12%] Building CXX object CMakeFiles/DelogoHD.dir/avs_interface.cpp.o
[ 37%] Building CXX object CMakeFiles/DelogoHD.dir/vs_interface.cpp.o
[ 37%] Building CXX object CMakeFiles/DelogoHD.dir/delogo_engine.add.cpp.o
[ 50%] Building CXX object CMakeFiles/DelogoHD.dir/delogo_engine.add_sse4.cpp.o
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
/home/[...]/.cache/yay/foosynth-plugin-delogohd-git/src/delogohd/delogo_engine.add_sse4.cpp: In function ‘__m128i _simd_compute_add(const __m128i&, int, const __m128i&, const __m128i&, const __m128i&, const __m128i&, const __m128i&)’:
/home/[...]/.cache/yay/foosynth-plugin-delogohd-git/src/delogohd/delogo_engine.add_sse4.cpp:36:27: error: request for member ‘m128i_i32’ in ‘data_p’, which is of non-class type ‘const __m128i’
   36 |     int64_t data = data_p.m128i_i32[0];
      |                           ^~~~~~~~~
/home/[...]/.cache/yay/foosynth-plugin-delogohd-git/src/delogohd/delogo_engine.add_sse4.cpp:38:24: error: request for member ‘m128i_i32’ in ‘data_c’, which is of non-class type ‘const __m128i’
   38 |     int64_t c = data_c.m128i_i32[0];
      |                        ^~~~~~~~~
/home/[...]/.cache/yay/foosynth-plugin-delogohd-git/src/delogohd/delogo_engine.add_sse4.cpp:39:24: error: request for member ‘m128i_i32’ in ‘data_d’, which is of non-class type ‘const __m128i’
   39 |     int64_t d = data_d.m128i_i32[0];
      |                        ^~~~~~~~~
/home/[...]/.cache/yay/foosynth-plugin-delogohd-git/src/delogohd/delogo_engine.add_sse4.cpp:44:32: error: request for member ‘m128i_i32’ in ‘result_epu’, which is of non-class type ‘const __m128i’
   44 |     if (fabs(data - result_epu.m128i_i32[0]) > 1)
      |                                ^~~~~~~~~
make[2]: *** [CMakeFiles/DelogoHD.dir/build.make:118: CMakeFiles/DelogoHD.dir/delogo_engine.add_sse4.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/DelogoHD.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

vapoursynth-plugin-delogo-git builds.

Regards!