GCC 16: Compiling with the built-in, older-version OpenEXP component results in an "error: attribute ‘target’ argument ‘no-evex512’ is unknown"

オープン
#2,360 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cmake, cpp
領域
build-system

調査の方向性

The failure occurs while compiling OpenEXRCore's compression.c, in the bundled deflate x86 Adler-32 implementation; the report does not identify OpenColorIO source files to change. Start by checking the bundled OpenEXR and deflate versions and the compiler's support for the evex512 and no-evex512 target attributes. Done means the reported build completes with the affected compiler configuration.

索引モデルが issue の本文から書いたものです。

説明

In file included from /home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/compression.c:20:
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:135:12: error: attribute ‘target’ argument ‘no-evex512’ is unknown
  135 | ADD_SUFFIX(reduce_to_32bits)(vec_t v_s1, vec_t v_s2, u32 *s1_p, u32 *s2_p)
      |            ^~~~~~~~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:102:33: note: in definition of macro ‘CONCAT_IMPL’
  102 | #define CONCAT_IMPL(a, b)       a##b
      |                                 ^
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:104:33: note: in expansion of macro ‘CONCAT’
  104 | #define ADD_SUFFIX(name)        CONCAT(name, SUFFIX)
      |                                 ^~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:135:1: note: in expansion of macro ‘ADD_SUFFIX’
  135 | ADD_SUFFIX(reduce_to_32bits)(vec_t v_s1, vec_t v_s2, u32 *s1_p, u32 *s2_p)
      | ^~~~~~~~~~
In file included from /home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/adler32.c:128,
                 from /home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/compression.c:28:
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_impl.h:83:41: error: attribute ‘target’ argument ‘no-evex512’ is unknown
   83 | #  define adler32_x86_avx512_vl256_vnni adler32_x86_avx512_vl256_vnni
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:102:33: note: in expansion of macro ‘adler32_x86_avx512_vl256_vnni’
  102 | #define CONCAT_IMPL(a, b)       a##b
      |                                 ^
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:103:33: note: in expansion of macro ‘CONCAT_IMPL’
  103 | #define CONCAT(a, b)            CONCAT_IMPL(a, b)
      |                                 ^~~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:104:33: note: in expansion of macro ‘CONCAT’
  104 | #define ADD_SUFFIX(name)        CONCAT(name, SUFFIX)
      |                                 ^~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:183:1: note: in expansion of macro ‘ADD_SUFFIX’
  183 | ADD_SUFFIX(adler32_x86)(u32 adler, const u8 *p, size_t len)
      | ^~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:135:12: error: attribute ‘target’ argument ‘evex512’ is unknown
  135 | ADD_SUFFIX(reduce_to_32bits)(vec_t v_s1, vec_t v_s2, u32 *s1_p, u32 *s2_p)
      |            ^~~~~~~~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:102:33: note: in definition of macro ‘CONCAT_IMPL’
  102 | #define CONCAT_IMPL(a, b)       a##b
      |                                 ^
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:104:33: note: in expansion of macro ‘CONCAT’
  104 | #define ADD_SUFFIX(name)        CONCAT(name, SUFFIX)
      |                                 ^~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:135:1: note: in expansion of macro ‘ADD_SUFFIX’
  135 | ADD_SUFFIX(reduce_to_32bits)(vec_t v_s1, vec_t v_s2, u32 *s1_p, u32 *s2_p)
      | ^~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_impl.h:95:41: error: attribute ‘target’ argument ‘evex512’ is unknown
   95 | #  define adler32_x86_avx512_vl512_vnni adler32_x86_avx512_vl512_vnni
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:102:33: note: in expansion of macro ‘adler32_x86_avx512_vl512_vnni’
  102 | #define CONCAT_IMPL(a, b)       a##b
      |                                 ^
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:103:33: note: in expansion of macro ‘CONCAT_IMPL’
  103 | #define CONCAT(a, b)            CONCAT_IMPL(a, b)
      |                                 ^~~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:104:33: note: in expansion of macro ‘CONCAT’
  104 | #define ADD_SUFFIX(name)        CONCAT(name, SUFFIX)
      |                                 ^~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:183:1: note: in expansion of macro ‘ADD_SUFFIX’
  183 | ADD_SUFFIX(adler32_x86)(u32 adler, const u8 *p, size_t len)
      | ^~~~~~~~~~
In file included from /home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_impl.h:89:
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h: 在函数‘adler32_x86_avx512_vl256_vnni’中:
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:197:21: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  197 |         const vec_t ones = VSET1_8(1);
      |                     ^~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h: 在函数‘reduce_to_32bits_avx512_vl256_vnni’中:
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:135:12: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
  135 | ADD_SUFFIX(reduce_to_32bits)(vec_t v_s1, vec_t v_s2, u32 *s1_p, u32 *s2_p)
      |            ^~~~~~~~~~~~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:102:33: note: in definition of macro ‘CONCAT_IMPL’
  102 | #define CONCAT_IMPL(a, b)       a##b
      |                                 ^
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/lib_common.h:104:33: note: in expansion of macro ‘CONCAT’
  104 | #define ADD_SUFFIX(name)        CONCAT(name, SUFFIX)
      |                                 ^~~~~~
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:135:1: note: in expansion of macro ‘ADD_SUFFIX’
  135 | ADD_SUFFIX(reduce_to_32bits)(vec_t v_s1, vec_t v_s2, u32 *s1_p, u32 *s2_p)
      | ^~~~~~~~~~
In file included from /home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_impl.h:101:
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h: 在函数‘adler32_x86_avx512_vl512_vnni’中:
/home/jack/lfswork/OpenColorIO/build/ext/build/openexr/src/openexr_install/src/lib/OpenEXRCore/../../../external/deflate/lib/x86/adler32_template.h:197:21: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
  197 |         const vec_t ones = VSET1_8(1);
      |                     ^~~~
make[5]: *** [src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/build.make:485:src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/compression.c.o] 错误 1
make[4]: *** [CMakeFiles/Makefile2:467:src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/all] 错误 2
make[3]: *** [Makefile:136:all] 错误 2
make[2]: *** [CMakeFiles/openexr_install.dir/build.make:106:ext/build/openexr/src/openexr_install-stamp/openexr_install-install] 错误 2
make[1]: *** [CMakeFiles/Makefile2:1799:CMakeFiles/openexr_install.dir/

It seems no-evex512 is ineffective.

主要言語
C++
スター
2.1k
フォーク
513
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AcademySoftwareFoundation/OpenColorIO のほかの issue

AcademySoftwareFoundation/OpenColorIO の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。