File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ export CROSS_COMPILE64="aarch64-linux-gnu-"
4141
4242# build optee_os and optee_client for qemu_v8
4343git clone https://github.com/OP-TEE/optee_os.git -b $OPTEE_VERSION $OPTEE_DIR /optee_os
44+ # set CFG_TA_FLOAT_SUPPORT=n as workaround to fix the building error of 32bit tls TAs:
45+ # multiple definition of `__aeabi_fcmple' (`__aeabi_fcmpeq' and others)
46+ # This means the __aeabi functions are defined both in Rustc compiler_builtins and optee libutils.
4447(cd $OPTEE_DIR /optee_os && make PLATFORM=vexpress-qemu_armv8a CFG_TA_FLOAT_SUPPORT=n)
4548
4649git clone https://github.com/OP-TEE/optee_client.git -b $OPTEE_VERSION $OPTEE_DIR /optee_client
Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ export CROSS_COMPILE64="${CROSS_COMPILE64:-aarch64-linux-gnu-}"
3232
3333# build optee_os and optee_client for qemu_v8
3434git clone https://github.com/OP-TEE/optee_os.git -b $OPTEE_VERSION $OPTEE_DIR /optee_os
35- (cd $OPTEE_DIR /optee_os && make PLATFORM=vexpress-qemu_armv8a -j$( nproc) )
35+ # set CFG_TA_FLOAT_SUPPORT=n as workaround to fix the building error of 32bit tls TAs:
36+ # multiple definition of `__aeabi_fcmple' (`__aeabi_fcmpeq' and others)
37+ # This means the __aeabi functions are defined both in Rustc compiler_builtins and optee libutils.
38+ (cd $OPTEE_DIR /optee_os && make PLATFORM=vexpress-qemu_armv8a CFG_TA_FLOAT_SUPPORT=n -j$( nproc) )
3639
3740git clone https://github.com/OP-TEE/optee_client.git -b $OPTEE_VERSION $OPTEE_DIR /optee_client
3841(cd $OPTEE_DIR /optee_client && make -j$( nproc) WITH_TEEACL=0 DESTDIR=$PWD /export_arm32 CROSS_COMPILE=$CROSS_COMPILE32 )
You can’t perform that action at this time.
0 commit comments