<?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 Re: icpx: error: linker command failed in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1482917#M3042</link>
    <description>&lt;P&gt;I think the above warning may have the same reason with this:&lt;/P&gt;
&lt;P&gt;root@master:~# sycl-ls&lt;BR /&gt;sycl-ls: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libsycl.so.6)&lt;BR /&gt;sycl-ls: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libsycl.so.6)&lt;BR /&gt;sycl-ls: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libsycl.so.6)&lt;BR /&gt;sycl-ls: /lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libsycl.so.6)&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 01:34:46 GMT</pubDate>
    <dc:creator>runchan</dc:creator>
    <dc:date>2023-05-04T01:34:46Z</dc:date>
    <item>
      <title>icpx: error: linker command failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1482582#M3040</link>
      <description>&lt;P&gt;I am trying to compile a simple dpc++ program using command "icpx -fsycl" and met this error.&lt;/P&gt;
&lt;P&gt;The detailed error report is like this:&lt;/P&gt;
&lt;P&gt;"/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../bin/ld: /opt/intel/oneapi/compiler/2023.1.0/linux/bin-llvm/../lib/libsycl.so: undefined reference to `std::basic_ostream&amp;lt;char, std::char_traits&amp;lt;char&amp;gt; &amp;gt;&amp;amp; std::operator&amp;lt;&amp;lt; &amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;(std::basic_ostream&amp;lt;char, std::char_traits&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;)@GLIBCXX_3.4.21'&lt;BR /&gt;/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../bin/ld: /opt/intel/oneapi/compiler/2023.1.0/linux/bin-llvm/../lib/libsycl.so: undefined reference to `std::basic_fstream&amp;lt;char, std::char_traits&amp;lt;char&amp;gt; &amp;gt;::basic_fstream(std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, std::_Ios_Openmode)@GLIBCXX_3.4.21'&lt;BR /&gt;/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../bin/ld: /opt/intel/oneapi/compiler/2023.1.0/linux/bin-llvm/../lib/libsycl.so: undefined reference to `VTT for std::__cxx11::basic_istringstream&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;@GLIBCXX_3.4.21'&lt;BR /&gt;/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../bin/ld: /opt/intel/oneapi/compiler/2023.1.0/linux/bin-llvm/../lib/libsycl.so: undefined reference to `std::basic_ifstream&amp;lt;char, std::char_traits&amp;lt;char&amp;gt; &amp;gt;::basic_ifstream(std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt; const&amp;amp;, std::_Ios_Openmode)@GLIBCXX_3.4.21'&lt;BR /&gt;/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../bin/ld: /opt/intel/oneapi/compiler/2023.1.0/linux/bin-llvm/../lib/libsycl.so: undefined reference to `std::_V2::error_category::_M_message[abi:cxx11](int) const@GLIBCXX_3.4.21'&lt;BR /&gt;/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../bin/ld: /opt/intel/oneapi/compiler/2023.1.0/linux/bin-llvm/../lib/libsycl.so: undefined reference to `std::__exception_ptr::exception_ptr::exception_ptr(void*)@CXXABI_1.3.11'"&lt;/P&gt;
&lt;P&gt;(above only list part of the error warning)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How can i resolve this problem? My linux distribution is CentOS7.9. Can you give me some advice?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 07:06:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1482582#M3040</guid>
      <dc:creator>runchan</dc:creator>
      <dc:date>2023-05-03T07:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: icpx: error: linker command failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1482917#M3042</link>
      <description>&lt;P&gt;I think the above warning may have the same reason with this:&lt;/P&gt;
&lt;P&gt;root@master:~# sycl-ls&lt;BR /&gt;sycl-ls: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libsycl.so.6)&lt;BR /&gt;sycl-ls: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libsycl.so.6)&lt;BR /&gt;sycl-ls: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libsycl.so.6)&lt;BR /&gt;sycl-ls: /lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libsycl.so.6)&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 01:34:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1482917#M3042</guid>
      <dc:creator>runchan</dc:creator>
      <dc:date>2023-05-04T01:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: icpx: error: linker command failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1483003#M3043</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;As per the Intel oneAPI DPC++/C++ Compiler 2023.1 system requirements, CentOS 7.9 is not supported. For more details please refer to the following link.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-dpcpp-system-requirements.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-dpcpp-system-requirements.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try to run on the supported Operating System and let us know if you face any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 09:56:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1483003#M3043</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-05-04T09:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: icpx: error: linker command failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1483025#M3044</link>
      <description>&lt;P&gt;Hi, thanks for your reply,&lt;/P&gt;
&lt;P&gt;I wonder whether updating my libstdc++ will work, because i may have some difficulty updating my operating system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 12:00:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1483025#M3044</guid>
      <dc:creator>runchan</dc:creator>
      <dc:date>2023-05-04T12:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: icpx: error: linker command failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1484416#M3056</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure whether updating the libstdc++ will work, as CentOS is not supported. I am able to use the icpx compiler without any issues on Ubuntu 22.04(supported OS).&lt;/P&gt;
&lt;P&gt;I have run the below commands on Ubuntu machine before installing the Intel oneAPI toolkits, which will install the CMake, pkg-config, and GNU development tools on the system.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo apt update
sudo apt -y install cmake pkg-config build-essential&lt;/LI-CODE&gt;
&lt;P&gt;Try running the below command on CentOS if you face the same issues.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo yum install libstdc++&lt;/LI-CODE&gt;
&lt;P&gt;As Intel compilers utilize the GNU build toolchains to provide a complete C/C++ development environment.&lt;/P&gt;
&lt;P&gt;Please refer to the below link for more details.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/oneapi-base-toolkit/get-started-guide-linux/2023-1/before-you-begin.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/docs/oneapi-base-toolkit/get-started-guide-linux/2023-1/before-you-begin.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 06:39:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1484416#M3056</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-05-09T06:39:33Z</dc:date>
    </item>
    <item>
      <title>Re:icpx: error: linker command failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1486178#M3067</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. Could you please provide an update on your issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 May 2023 09:09:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1486178#M3067</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-05-15T09:09:50Z</dc:date>
    </item>
    <item>
      <title>Re:icpx: error: linker command failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1487791#M3093</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 May 2023 11:31:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1487791#M3093</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2023-05-19T11:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re:icpx: error: linker command failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1489875#M3102</link>
      <description>&lt;P&gt;Sorry, i forgot to turn on email notification when someone reply.&lt;/P&gt;&lt;P&gt;Thank you for your advice! We are changing our OS to Ubuntu now!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 06:49:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icpx-error-linker-command-failed/m-p/1489875#M3102</guid>
      <dc:creator>runchan</dc:creator>
      <dc:date>2023-05-25T06:49:04Z</dc:date>
    </item>
  </channel>
</rss>

