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

Đang mở
#2,360 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cmake, cpp
Lĩnh vực
build-system

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
2.1k
Fork
513
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AcademySoftwareFoundation/OpenColorIO

Tất cả issue của AcademySoftwareFoundation/OpenColorIO

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.