<?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 Compile error related to IPO or LTO in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1598442#M3760</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to apply IPO or LTO option to optimize our Software.&lt;/P&gt;&lt;P&gt;But When we added compile option -flto or -ipo, segmentation fault occurred in linking time.&lt;/P&gt;&lt;P&gt;Our toolchain(&lt;SPAN&gt;Intel oneAPI DPC++ toolchain)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;version is 2021.1.0. Even I updated the compiler to 2024.1.0, the error was not solved.&lt;/P&gt;&lt;P&gt;But&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;changed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;compiler&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ICX/ICPX&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;clang/clang++&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;plug-in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://icx-lto.so/" target="_blank" rel="noopener"&gt;icx-lto.so&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://llvmgold.so/" target="_blank" rel="noopener"&gt;LLVMgold.so&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;error&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;was&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;resolved.&lt;/P&gt;&lt;P&gt;Clang version is &lt;SPAN&gt;16.0.6 (Red Hat 16.0.6-2.module+el8.9.0+19521+190d7aba)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And I added -v option to get detail log but I couldn't get any clue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know if there is other way to find out where the segmentation fault occurred.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I would like to ask an additional question following the main problem.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it possible for icpx users to control the parameters that are internally passed from icpx to the default linker? such as, using icpx command options, changing environment files, and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, this is the part of the parametesr passed from icpx to the ld linker internally.&lt;/P&gt;&lt;P&gt;"-plugin /opt/intel/oneapi/compiler/2021.2.0/linux/bin/../lib/icx-lto.so -plugin-opt=mcpu=cascadelake -plugin-opt=O2 -plugin-opt=-vector-library=SVML -plugin-opt=-disable-hir-generate-mkl-call -plugin-opt=-intel-libirc-allowed -plugin-opt=-loopopt=0 -plugin-opt=-enable-lv".&lt;/P&gt;&lt;P&gt;I'd like to control and change something like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need additional information to solve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 02:29:19 GMT</pubDate>
    <dc:creator>NormalEngineer</dc:creator>
    <dc:date>2024-05-17T02:29:19Z</dc:date>
    <item>
      <title>Compile error related to IPO or LTO</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1598442#M3760</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to apply IPO or LTO option to optimize our Software.&lt;/P&gt;&lt;P&gt;But When we added compile option -flto or -ipo, segmentation fault occurred in linking time.&lt;/P&gt;&lt;P&gt;Our toolchain(&lt;SPAN&gt;Intel oneAPI DPC++ toolchain)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;version is 2021.1.0. Even I updated the compiler to 2024.1.0, the error was not solved.&lt;/P&gt;&lt;P&gt;But&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;changed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;compiler&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ICX/ICPX&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;clang/clang++&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;plug-in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://icx-lto.so/" target="_blank" rel="noopener"&gt;icx-lto.so&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://llvmgold.so/" target="_blank" rel="noopener"&gt;LLVMgold.so&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;error&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;was&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;resolved.&lt;/P&gt;&lt;P&gt;Clang version is &lt;SPAN&gt;16.0.6 (Red Hat 16.0.6-2.module+el8.9.0+19521+190d7aba)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And I added -v option to get detail log but I couldn't get any clue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know if there is other way to find out where the segmentation fault occurred.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I would like to ask an additional question following the main problem.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it possible for icpx users to control the parameters that are internally passed from icpx to the default linker? such as, using icpx command options, changing environment files, and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, this is the part of the parametesr passed from icpx to the ld linker internally.&lt;/P&gt;&lt;P&gt;"-plugin /opt/intel/oneapi/compiler/2021.2.0/linux/bin/../lib/icx-lto.so -plugin-opt=mcpu=cascadelake -plugin-opt=O2 -plugin-opt=-vector-library=SVML -plugin-opt=-disable-hir-generate-mkl-call -plugin-opt=-intel-libirc-allowed -plugin-opt=-loopopt=0 -plugin-opt=-enable-lv".&lt;/P&gt;&lt;P&gt;I'd like to control and change something like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need additional information to solve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 02:29:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1598442#M3760</guid>
      <dc:creator>NormalEngineer</dc:creator>
      <dc:date>2024-05-17T02:29:19Z</dc:date>
    </item>
    <item>
      <title>Re:Compile error related to IPO or LTO</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1598642#M3761</link>
      <description>&lt;P&gt;Hi Gunwook, we would like to inform you that we are routing your query to the dedicated team for further assistance.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 May 2024 16:42:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1598642#M3761</guid>
      <dc:creator>Vipin_S_Intel</dc:creator>
      <dc:date>2024-05-17T16:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Compile error related to IPO or LTO</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1599098#M3769</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/322125"&gt;@NormalEngineer&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the link time segmentation fault, is it possible for you to share the log with "-v" option ? This can help identify where the segmentation fault happens.&amp;nbsp; If you want to freely modify the linker options, can you separate compilation and linking steps, so you have full control of the options ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 16:21:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1599098#M3769</guid>
      <dc:creator>yzh_intel</dc:creator>
      <dc:date>2024-05-20T16:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compile error related to IPO or LTO</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1601724#M3804</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sorry for the late reply. We decided to contact Intel Korea and discuss this issue through another channel. If I need any help, I will contact you again through this discussion. Thank you for support.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 00:24:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compile-error-related-to-IPO-or-LTO/m-p/1601724#M3804</guid>
      <dc:creator>NormalEngineer</dc:creator>
      <dc:date>2024-05-29T00:24:47Z</dc:date>
    </item>
  </channel>
</rss>

