<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic when you use sgx_tsgxssl, you in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126141#M1752</link>
    <description>&lt;P&gt;when you use&amp;nbsp;sgx_tsgxssl, you need add "sgx_tsgxssl.edl" to your edl file.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 08:39:48 GMT</pubDate>
    <dc:creator>Junli_S_Intel</dc:creator>
    <dc:date>2019-04-11T08:39:48Z</dc:date>
    <item>
      <title>what is the role of  the lib which named sgx_tsgxssl?</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126139#M1750</link>
      <description>&lt;P&gt;When i make my project after i add "&lt;STRONG&gt;-Wl,--whole-archive -lsgx_tsgxssl&lt;/STRONG&gt; " ,as flows:&lt;/P&gt;&lt;P&gt;Wolfssl_Enclave_Link_Flags := $(SGX_COMMON_CFLAGS) -L$(SGXSSL_TRUSTED_LIB_PATH)\&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L$(SGX_LIBRARY_PATH) \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-L$(SGX_RA_TLS_LIB) -lsgx_ra_tls_wolfssl \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-L$(SGX_WOLFSSL_LIB) -lwolfssl.sgx.static.lib \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--whole-archive -l$(Trts_Library_Name) -Wl,--no-whole-archive \&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--whole-archive -lsgx_tsgxssl \&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--no-whole-archive -lsgx_tsgxssl_crypto \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--start-group -lsgx_tstdc -lsgx_tcxx -l$(Crypto_Library_Name) -l$(Service_Library_Name) -Wl,--end-group \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,-Bstatic -Wl,-Bsymbolic -Wl,--no-undefined \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,-pie,-eenclave_entry -Wl,--export-dynamic &amp;nbsp;\&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--defsym,__ImageBase=0 -Wl,--gc-sections\&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;-Wl,--version-script=$(Enclave_Version_Script)&lt;/P&gt;&lt;P&gt;and the part of report as flows:&lt;/P&gt;&lt;P&gt;-m64 -maes -O0 -g -L/opt/intel/sgxssl/lib64 -Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L/opt/intel/sgxsdk/lib64 -L/opt/sgx_main/ai_security_lkl/sgx-ra-scale -lsgx_ra_tls_wolfssl -L/opt/sgx_main/ai_security_lkl/sgx-ra-scale/deps/wolfssl/IDE/LINUX-SGX -lwolfssl.sgx.static.lib -Wl,--whole-archive -lsgx_trts -Wl,--no-whole-archive -Wl,--whole-archive -lsgx_tsgxssl -Wl,--no-whole-archive -lsgx_tsgxssl_crypto -Wl,--start-group -lsgx_tstdc -lsgx_tcxx -lsgx_tcrypto -lsgx_tservice -Wl,--end-group -Wl,-Bstatic -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--defsym,__ImageBase=0 -Wl,--gc-sections -Wl,--version-script=trusted/Wolfssl_Enclave_debug.lds@&lt;BR /&gt;/opt/intel/sgxsdk/lib64/libsgx_tstdc.a(se_cpuid.o): In function `sgx_cpuid':&lt;BR /&gt;se_cpuid.c:(.text.sgx_cpuid+0x8):&lt;STRONG&gt; undefined reference to `sgx_oc_cpuidex'&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and after i removed the line "&lt;STRONG&gt;-Wl,--whole-archive -lsgx_tsgxssl \&lt;/STRONG&gt;", make success. Why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 10:57:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126139#M1750</guid>
      <dc:creator>Zhang__Huiqiang</dc:creator>
      <dc:date>2019-04-10T10:57:01Z</dc:date>
    </item>
    <item>
      <title>I have resloved this problem</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126140#M1751</link>
      <description>&lt;P&gt;I have resloved this problem after i add "from "sgx_tsgxssl.edl" import *;" in my edl file.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 03:52:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126140#M1751</guid>
      <dc:creator>Zhang__Huiqiang</dc:creator>
      <dc:date>2019-04-11T03:52:29Z</dc:date>
    </item>
    <item>
      <title>when you use sgx_tsgxssl, you</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126141#M1752</link>
      <description>&lt;P&gt;when you use&amp;nbsp;sgx_tsgxssl, you need add "sgx_tsgxssl.edl" to your edl file.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 08:39:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126141#M1752</guid>
      <dc:creator>Junli_S_Intel</dc:creator>
      <dc:date>2019-04-11T08:39:48Z</dc:date>
    </item>
    <item>
      <title>hi,@JUNLI S , I have resloved</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126142#M1753</link>
      <description>&lt;P&gt;hi,@JUNLI S , I have resloved this problem, thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 08:42:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/what-is-the-role-of-the-lib-which-named-sgx-tsgxssl/m-p/1126142#M1753</guid>
      <dc:creator>Zhang__Huiqiang</dc:creator>
      <dc:date>2019-04-11T08:42:11Z</dc:date>
    </item>
  </channel>
</rss>

