瀏覽代碼

Moved previous libsgx files to the current_libs folder and then copied service,crypto files from opt intel sgxsdk to here and the updated trts to here. Otherwise, it picks up the trts in opt intel sgxsdk. Made changes to trts. It crashes with symbol lookup error upfront

dettanym 6 年之前
父節點
當前提交
8ea5c5f5fc
共有 3 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile
  2. 二進制
      libsgx_tcrypto.a
  3. 二進制
      libsgx_tservice.a

+ 1 - 1
Makefile

@@ -46,7 +46,7 @@ crypto.o: crypto.cpp
 
 verifier:  systemMain.o systemSealerWrapper.o SgxSealer.o ProtobufLAInitiator.o SgxProtobufLAInitiator.o SgxProtobufLAInitiator_Transforms.o ProtobufLAMessages.pb.o crypto.o
 #	echo $(system_obj)
-	${CXX} -Wl,--noinhibit-exec systemMain.o crypto.o systemSealerWrapper.o SgxSealer.o  -L${Openssl_Path}/lib -lcrypto -lssl -L$(SGX_LIBRARY_PATH) -l$(Service_Library_Name) -l$(Crypto_Library_Name)  ${LD_FLAGS} -o $@ 
+	${CXX} -Wl,--noinhibit-exec systemMain.o crypto.o systemSealerWrapper.o SgxSealer.o  -L${Openssl_Path}/lib -lcrypto -lssl -L./ -l$(Service_Library_Name) -l$(Crypto_Library_Name) -L/home/m2mazmud/linux-sgx-trts-modified/build/linux  -lsgx_trts ${LD_FLAGS} -o $@ 
 
 #-Wl,-rpath,$(SGX_SDK)/lib64  systemMain.o  ${LD_FLAGS} -o $@
 #systemSealerWrapper.o SgxSealer.o 

二進制
libsgx_tcrypto.a


二進制
libsgx_tservice.a