DEBUG: Executing shell function do_compile
NOTE: cmake --build TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/build --target all --
[1/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/bignum_helpers.c.o
[2/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/hash.c.o
[3/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_aead.c.o
[4/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_asymmetric_encryption.c.o
[5/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_cipher.c.o
[6/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_key_agreement.c.o
[7/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_key_management.c.o
[8/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_signature.c.o
[9/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/fake_external_rng_for_test.c.o
[10/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/asn1_helpers.c.o
[11/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/platform_builtin_keys.c.o
[12/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_mac.c.o
[13/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/drivers/test_driver_pake.c.o
[14/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/threading_helpers.c.o
[15/761] Building C object 3rdparty/everest/CMakeFiles/everest.dir/library/x25519.c.o
[16/761] Building C object 3rdparty/everest/CMakeFiles/everest.dir/library/Hacl_Curve25519_joined.c.o
[17/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/certs.c.o
[18/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/random.c.o
[19/761] Building C object 3rdparty/everest/CMakeFiles/everest.dir/library/everest.c.o
[20/761] Building C object 3rdparty/p256-m/CMakeFiles/p256m.dir/p256-m_driver_entrypoints.c.o
[21/761] Building C object 3rdparty/p256-m/CMakeFiles/p256m.dir/p256-m/p256-m.c.o
[22/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/aesni.c.o
FAILED: library/CMakeFiles/mbedcrypto_static.dir/aesni.c.o 
TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot  -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/include -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/library -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/build/library -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/3rdparty/everest/include -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/3rdparty/p256-m -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/3rdparty/p256-m/p256-m -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64  --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types   -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git=/usr/src/debug/mbedtls/3.5.0-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git=/usr/src/debug/mbedtls/3.5.0-r0  -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/build=/usr/src/debug/mbedtls/3.5.0-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/build=/usr/src/debug/mbedtls/3.5.0-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot-native=  -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -std=c99 -MD -MT library/CMakeFiles/mbedcrypto_static.dir/aesni.c.o -MF library/CMakeFiles/mbedcrypto_static.dir/aesni.c.o.d -o library/CMakeFiles/mbedcrypto_static.dir/aesni.c.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/library/aesni.c
In file included from TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/library/aesni.c:29:
TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/library/aesni.h:69:5: error: "Must use `-mpclmul -msse2 -maes` for MBEDTLS_AESNI_C"
   69 | #   error "Must use `-mpclmul -msse2 -maes` for MBEDTLS_AESNI_C"
      |     ^
1 error generated.
[23/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/aesce.c.o
[24/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/bignum_mod.c.o
[25/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/helpers.c.o
[26/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/bignum_mod_raw.c.o
[27/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/aes.c.o
FAILED: library/CMakeFiles/mbedcrypto_static.dir/aes.c.o 
TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot  -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/include -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/library -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/build/library -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/3rdparty/everest/include -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/3rdparty/p256-m -ITOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/3rdparty/p256-m/p256-m -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64  --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types   -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git=/usr/src/debug/mbedtls/3.5.0-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git=/usr/src/debug/mbedtls/3.5.0-r0  -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/build=/usr/src/debug/mbedtls/3.5.0-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/build=/usr/src/debug/mbedtls/3.5.0-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/recipe-sysroot-native=  -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -std=c99 -MD -MT library/CMakeFiles/mbedcrypto_static.dir/aes.c.o -MF library/CMakeFiles/mbedcrypto_static.dir/aes.c.o.d -o library/CMakeFiles/mbedcrypto_static.dir/aes.c.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/library/aes.c
In file included from TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/library/aes.c:69:
TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/git/library/aesni.h:69:5: error: "Must use `-mpclmul -msse2 -maes` for MBEDTLS_AESNI_C"
   69 | #   error "Must use `-mpclmul -msse2 -maes` for MBEDTLS_AESNI_C"
      |     ^
1 error generated.
[28/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/psa_crypto_helpers.c.o
[29/761] Linking C static library 3rdparty/everest/libeverest.a
[30/761] Linking C static library 3rdparty/p256-m/libp256m.a
[31/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/chachapoly.c.o
[32/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/constant_time.c.o
[33/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/ecdh.c.o
[34/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/asn1write.c.o
[35/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/cipher_wrap.c.o
[36/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/dhm.c.o
[37/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/asn1parse.c.o
[38/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/base64.c.o
[39/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/ecdsa.c.o
[40/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/chacha20.c.o
[41/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/ecjpake.c.o
[42/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/cmac.c.o
[43/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/ctr_drbg.c.o
[44/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/ccm.c.o
[45/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/cipher.c.o
[46/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/aria.c.o
[47/761] Building C object CMakeFiles/mbedtls_test.dir/tests/src/psa_exercise_key.c.o
[48/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/bignum_core.c.o
[49/761] Building C object CMakeFiles/mbedtls_test_helpers.dir/tests/src/test_helpers/ssl_helpers.c.o
[50/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/des.c.o
[51/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/camellia.c.o
[52/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/ecp.c.o
[53/761] Building C object library/CMakeFiles/mbedcrypto_static.dir/bignum.c.o
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/temp/run.do_compile.635837:155 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/temp/run.do_compile.635837, line 155
	#2: cmake_do_compile, TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/temp/run.do_compile.635837, line 149
	#3: do_compile, TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/temp/run.do_compile.635837, line 142
	#4: main, TOPDIR/build/tmp/work/core2-32-yoe-linux/mbedtls/3.5.0/temp/run.do_compile.635837, line 168

Error details

Submitted on:
13/10/23 11:49
Error type:
Recipe
Task:
do_compile
Recipe:
mbedtls
Recipe version:
3.5.0-r0
Machine:
qemux86
Distro:
yoe
Build system:
x86_64-linux
Target system:
i686-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
ec7800d90c85a975d8e60221e996a12c63610cc0
Build:
#172754
Submitter:
ab@rdk
Similar errors:
0
Open a bug