You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am compiling according to the tutorial on rpi3 platform. When executing the make command, I encountered the following error:
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /optee/out-br/per-package/optee_test_ext/host/bin/aarch64-linux-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenSSL: /optee/out-br/per-package/optee_test_ext/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so (found version "3.1.4")
-- Found Python: /optee/out-br/per-package/optee_test_ext/host/bin/python3.11 (found version "3.11.6") found components: Interpreter
-- Configuring done (0.6s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
-- Build files have been written to: /optee/out-br/build/optee_test_ext-1.0
optee_test_ext 1.0 Building
GIT_DIR=. PATH="/optee/out-br/per-package/optee_test_ext/host/bin:/optee/out-br/per-package/optee_test_ext/host/sbin:/optee/toolchains/aarch64/bin:/root/.vscode-server/cli/servers/Stable-e249dada235c2083c83813bd65b7f4707fb97b76/server/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /optee/toolchains/aarch64/bin/cmake --build /optee/out-br/build/optee_test_ext-1.0/ -j3 --
[ 94%] Built target xtest
[100%] Built target f07bfc66-958c-4a15-99c0-260e4e7375dd.plugin
Building /optee/out-br/build/optee_test_ext-1.0/ta/os_test_lib/Makefile
make[3]: Nothing to be done for 'all'.
Building /optee/out-br/build/optee_test_ext-1.0/ta/os_test_lib_dl/Makefile
make[3]: Nothing to be done for 'all'.
Building /optee/out-br/build/optee_test_ext-1.0/ta/os_test/Makefile
GEN out/dyn_list
LD out/5b9e0e40-2636-11e1-ad9e-0002a5d5c51b.elf
/optee/build/../toolchains/aarch64/bin/aarch64-linux-ld.bfd: /optee/toolchains/aarch64/bin/../lib/gcc/aarch64-buildroot-linux-gnu/12.3.0/libgcc_eh.a(unwind-dw2-fde-dip.o): in function _Unwind_Find_FDE': /optee/out-aarch64-sdk/build/host-gcc-final-12.3.0/build/aarch64-buildroot-linux-gnu/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:512: undefined reference to _dl_find_object'
make[3]: *** [/optee/optee_os/out/arm/export-ta_arm64/mk/link.mk:123: out/5b9e0e40-2636-11e1-ad9e-0002a5d5c51b.elf] Error 1
make[2]: *** [package/pkg-generic.mk:284: /optee/out-br/build/optee_test_ext-1.0/.stamp_built] Error 2
make[1]: *** [Makefile:23: _all] Error 2
make[1]: Leaving directory '/optee/out-br'
make: *** [common.mk:341: buildroot] Error 2
I am running code on a Mac using a virtual machine. Can someone help solve this bug? Thank you.
If more output information is needed, I am more than happy to provide it.
The text was updated successfully, but these errors were encountered:
Please try building with make -j$(nproc) WITH_CXX_TESTS=n.
Which version of OP-TEE are you using? The latest should build and run on an Arm64 host without adding WITH_CXX_TESTS=n (we do have a CI job doing just that).
Please try building with make -j$(nproc) WITH_CXX_TESTS=n.
Which version of OP-TEE are you using? The latest should build and run on an Arm64 host without adding WITH_CXX_TESTS=n (we do have a CI job doing just that).
Thank you very much. The Raspberry Pi image has been successfully generated using the command you provided. The OP-TEE version I am using is 4.2.0.
I am compiling according to the tutorial on rpi3 platform. When executing the make command, I encountered the following error:
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /optee/out-br/per-package/optee_test_ext/host/bin/aarch64-linux-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenSSL: /optee/out-br/per-package/optee_test_ext/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so (found version "3.1.4")
-- Found Python: /optee/out-br/per-package/optee_test_ext/host/bin/python3.11 (found version "3.11.6") found components: Interpreter
-- Configuring done (0.6s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
-- Build files have been written to: /optee/out-br/build/optee_test_ext-1.0
I am running code on a Mac using a virtual machine. Can someone help solve this bug? Thank you.
If more output information is needed, I am more than happy to provide it.
The text was updated successfully, but these errors were encountered: