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

Aberta
#2,360 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
48/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
cmake, cpp
Domínio
build-system

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C++
Estrelas
2.1k
Forks
513
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de AcademySoftwareFoundation/OpenColorIO

Todas as issues de AcademySoftwareFoundation/OpenColorIO

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.