GCC 16: Compiling with the built-in, older-version OpenEXP component results in an "error: attribute ‘target’ argument ‘no-evex512’ is unknown"
まだ誰も着手していません。
評価
- 難易度
- 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 はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AcademySoftwareFoundation/OpenColorIO のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
AcademySoftwareFoundation/OpenColorIO#2364 · コメント 1 件 ·
-
Inconsistent run-time library usage for locale handling breaks GPU code generation on some systems.オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
AcademySoftwareFoundation/OpenColorIO#2351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
Build failure on GCC/MinGW (MXE): std::ifstream constructor mismatch with Platform::filenameToUTF()オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AcademySoftwareFoundation/OpenColorIO の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
godotengine/godot#125913 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
期待增加虚线线条样式オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
vllm-project/vllm#70568 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
mw00/project-maya#1368 ·
メンテナーはふだん 2 日以内に返信