Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MbedTLS 3.6 fails building on Linux arm32 #91352

Closed
akien-mga opened this issue Apr 30, 2024 · 0 comments · Fixed by #91356
Closed

MbedTLS 3.6 fails building on Linux arm32 #91352

akien-mga opened this issue Apr 30, 2024 · 0 comments · Fixed by #91356

Comments

@akien-mga
Copy link
Member

akien-mga commented Apr 30, 2024

Tested versions

  • Reproducible in 4.3.dev (89850d5)

System information

Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7600M XT (RADV NAVI33) () - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)

Issue description

While trying to build 4.3-dev6 binaries, I got a build error for Linux arm32:

gcc -o thirdparty/mbedtls/library/aesce.linuxbsd.editor.arm32.o -c -std=gnu11 -flto -pipe -O2 -w -isystem thirdparty/glad -DTOOLS_ENABLED -DDEBUG_ENABLED -DNDEBUG -DENGINE_UPDATE_CHECK_ENABLED -DNO_EDITOR_SPLASH -DSOWRAP_ENABLED -DTOUCH_ENABLED -DFONTCONFIG_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DPULSEAUDIO_ENABLED -D_REENTRANT -DDBUS_ENABLED -DSPEECHD_ENABLED -DXKB_ENABLED -DJOYDEV_ENABLED -DUDEV_ENABLED -DLINUXBSD_ENABLED -DUNIX_ENABLED -D_FILE_OFFSET_BITS=64 -DX11_ENABLED -DLIBDECOR_ENABLED -DWAYLAND_ENABLED -DVULKAN_ENABLED -DRD_ENABLED -DGLES3_ENABLED -DCRASH_HANDLER_ENABLED -DMINIZIP_ENABLED -DBROTLI_ENABLED -DTHREADS_ENABLED -DCLIPPER2_ENABLED -DZSTD_STATIC_LINKING_ONLY -DUSE_VOLK -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DGLAD_ENABLED -DEGL_ENABLED -DGODOT_MODULE -DMBEDTLS_CONFIG_FILE=\"thirdparty/mbedtls/include/godot_module_mbedtls_config.h\" -Ithirdparty/mbedtls/include -Ithirdparty/libpng -Ithirdparty/volk -Ithirdparty/vulkan -Ithirdparty/vulkan/include -Ithirdparty/zstd -Ithirdparty/zlib -Ithirdparty/clipper2/include -Ithirdparty/brotli/include -Iplatform/linuxbsd -Ithirdparty/linuxbsd_headers/wayland -Ithirdparty/linuxbsd_headers -Iplatform/linuxbsd -I. thirdparty/mbedtls/library/aesce.c
In file included from thirdparty/mbedtls/library/common.h:23,
                 from thirdparty/mbedtls/library/aesce.c:42:
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h: In function 'aesce_encrypt_block':
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:189:13: note: called from here
  189 |     block = vaeseq_u8(block, vld1q_u8(keys));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17028:1: error: inlining failed in call to 'always_inline' 'vaesmcq_u8': target specific option mismatch
17028 | vaesmcq_u8 (uint8x16_t __data)
      | ^~~~~~~~~~
thirdparty/mbedtls/library/aesce.c:160:13: note: called from here
  160 |     block = vaesmcq_u8(block);                \
      |             ^~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:159:13: note: called from here
  159 |     block = vaeseq_u8(block, vld1q_u8(keys)); \
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/arm-godot-linux-gnueabihf_sdk-buildroot/lib/gcc/arm-godot-linux-gnueabihf/13.2.0/include/arm_neon.h:17014:1: error: inlining failed in call to 'always_inline' 'vaeseq_u8': target specific option mismatch
17014 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)
      | ^~~~~~~~~
thirdparty/mbedtls/library/aesce.c:189:13: note: called from here
  189 |     block = vaeseq_u8(block, vld1q_u8(keys));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o thirdparty/mbedtls/library/asn1write.linuxbsd.editor.arm32.o -c -std=gnu11 -flto -pipe -O2 -w -isystem thirdparty/glad -DTOOLS_ENABLED -DDEBUG_ENABLED -DNDEBUG -DENGINE_UPDATE_CHECK_ENABLED -DNO_EDITOR_SPLASH -DSOWRAP_ENABLED -DTOUCH_ENABLED -DFONTCONFIG_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DPULSEAUDIO_ENABLED -D_REENTRANT -DDBUS_ENABLED -DSPEECHD_ENABLED -DXKB_ENABLED -DJOYDEV_ENABLED -DUDEV_ENABLED -DLINUXBSD_ENABLED -DUNIX_ENABLED -D_FILE_OFFSET_BITS=64 -DX11_ENABLED -DLIBDECOR_ENABLED -DWAYLAND_ENABLED -DVULKAN_ENABLED -DRD_ENABLED -DGLES3_ENABLED -DCRASH_HANDLER_ENABLED -DMINIZIP_ENABLED -DBROTLI_ENABLED -DTHREADS_ENABLED -DCLIPPER2_ENABLED -DZSTD_STATIC_LINKING_ONLY -DUSE_VOLK -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DGLAD_ENABLED -DEGL_ENABLED -DGODOT_MODULE -DMBEDTLS_CONFIG_FILE=\"thirdparty/mbedtls/include/godot_module_mbedtls_config.h\" -Ithirdparty/mbedtls/include -Ithirdparty/libpng -Ithirdparty/volk -Ithirdparty/vulkan -Ithirdparty/vulkan/include -Ithirdparty/zstd -Ithirdparty/zlib -Ithirdparty/clipper2/include -Ithirdparty/brotli/include -Iplatform/linuxbsd -Ithirdparty/linuxbsd_headers/wayland -Ithirdparty/linuxbsd_headers -Iplatform/linuxbsd -I. thirdparty/mbedtls/library/asn1write.c
scons: *** [thirdparty/mbedtls/library/aesce.linuxbsd.editor.arm32.o] Error 1
scons: building terminated because of errors.
[Time elapsed: 00:02:03.59]

Steps to reproduce

Minimal reproduction project (MRP)

n/a

@akien-mga akien-mga added this to the 4.3 milestone Apr 30, 2024
akien-mga added a commit to akien-mga/godot that referenced this issue Apr 30, 2024
…arch

Our current Linux SDK for ARM32 from https://github.com/godotengine/buildroot
targets a relatively conservative baseline of neon-fp-armv8, and (at least based
on build issues I got) this doesn't seem to include hardware AES support.

Fixes godotengine#91352.
huwpascoe pushed a commit to huwpascoe/godot that referenced this issue May 10, 2024
…arch

Our current Linux SDK for ARM32 from https://github.com/godotengine/buildroot
targets a relatively conservative baseline of neon-fp-armv8, and (at least based
on build issues I got) this doesn't seem to include hardware AES support.

Fixes godotengine#91352.
dimitry- pushed a commit to AndroidWasm/godot that referenced this issue May 16, 2024
…arch

Our current Linux SDK for ARM32 from https://github.com/godotengine/buildroot
targets a relatively conservative baseline of neon-fp-armv8, and (at least based
on build issues I got) this doesn't seem to include hardware AES support.

Fixes godotengine#91352.
MewPurPur pushed a commit to MewPurPur/godot that referenced this issue Jul 11, 2024
…arch

Our current Linux SDK for ARM32 from https://github.com/godotengine/buildroot
targets a relatively conservative baseline of neon-fp-armv8, and (at least based
on build issues I got) this doesn't seem to include hardware AES support.

Fixes godotengine#91352.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants