GCC 16: Compiling with the built-in, older-version OpenEXP component results in an "error: attribute ‘target’ argument ‘no-evex512’ is unknown"
還沒有人認領這個 Issue。
評估
- 難度
- 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 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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 天內回覆