Comments (5)
OpenSSL is in optee_test/host.openssl/{include,lib/{arm,aarch64}}
. You probably need to add something to the build flags for xtest
. In the OP-TEE dev environment (https://optee.readthedocs.io/en/latest/building/devices/qemu.html?#qemu-v8) we rely on Buildroot for providing OpenSSL.
from optee_test.
Thanks!
from optee_test.
@jforissier
From the code below, xtest CMakeLists.txt is trying to find openssl package from host machine.
optee_test/host/xtest/CMakeLists.txt
Lines 13 to 17 in 232dfd2
And I think that it finally leads to link failure (see error message below). Do I need to update libssl-dev for arm64?(I'm using ubuntu20.04) or is there another way to build?
aarch64-linux-gnu/bin/ld: /usr/lib/x86_64-linux-gnu/libcrypto.so: error adding symbols: file in wrong format
from optee_test.
is there another way to build
In addition to CMakeLists.txt
there is a Makefile
in the top level of the project. It might be better suited to what you are trying to accomplish.
However I recommend you follow the instructions in the document I linked above. It will build the full stack using cross compilation and the Buildroot environment.
from optee_test.
@jforissier Thanks, I succeeded to build optee_test with Makefile. I ported optee to our own platform, so I'm not using build(of OPTEE repo)
from optee_test.
Related Issues (20)
- xtest regression 1033 failed HOT 4
- Machine readable test report HOT 2
- xtest benchmark_1000.c HOT 2
- TA remote attestation HOT 3
- openssl binary usage HOT 9
- Need to fix host/xtest/Makefile? HOT 2
- Xtest 1039 failed! HOT 2
- How to establish a bi-directional data transfer process between Normal and Secure World ? HOT 4
- xtest 1027 & 1028 failed HOT 2
- xtest 1033 failed HOT 1
- Fail to build xtest with enabing SDP test cases. HOT 5
- Queries related to PKCS11 based tests HOT 41
- Compile error when building xtest with musl HOT 10
- Add submodule in ta to get "execvp Argument list too long" HOT 1
- aes-perf: sdp test: why secure input buffer is being fed with zero/random data? HOT 5
- host/xtest/CMakeLists.txt does not support CFG_GCM_NIST_VECTORS=y HOT 1
- xtest 1009 - Explanation about cancellationrequest HOT 3
- xtest_tee_test_1014 fail (CFG_SECURE_DATA_PATH) HOT 6
- Missing return value check when use fs_unlink func. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optee_test.