<?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: Compilation error in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665909#M4308</link>
    <description>&lt;P&gt;I've just saw a bug posted, reporting the same problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/llvm/issues/16903" target="_blank"&gt;https://github.com/intel/llvm/issues/16903&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem seems to be the new version of glibc, not the compiler.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 18:28:49 GMT</pubDate>
    <dc:creator>pablo_s</dc:creator>
    <dc:date>2025-02-13T18:28:49Z</dc:date>
    <item>
      <title>Compilation error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665330#M4299</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've just downloaded and installed the Intel oneAPI DPC++ compiler on Linux (gentoo). When I try a hello world, I get the following error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In file included from hello.cpp:1:&lt;BR /&gt;In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/iostream:41:&lt;BR /&gt;In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/ostream:40:&lt;BR /&gt;In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/ios:40:&lt;BR /&gt;In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/iosfwd:42:&lt;BR /&gt;In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/postypes.h:40:&lt;BR /&gt;In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/cwchar:44:&lt;BR /&gt;In file included from /usr/include/wchar.h:30:&lt;BR /&gt;/usr/include/bits/floatn.h:79:52: error: unsupported machine mode '__TC__'&lt;BR /&gt;79 | typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__)));&lt;BR /&gt;| ^&lt;BR /&gt;1 error generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first line of code giving that error is "#include &amp;lt;iostream&amp;gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running "icpx -v" gives:&lt;/P&gt;&lt;P&gt;Intel(R) oneAPI DPC++/C++ Compiler 2025.0.4 (2025.0.4.20241205)&lt;BR /&gt;Target: x86_64-unknown-linux-gnu&lt;BR /&gt;Thread model: posix&lt;BR /&gt;InstalledDir: /home/pablo/intel/oneapi/compiler/2025.0/bin/compiler&lt;BR /&gt;Configuration file: /home/pablo/intel/oneapi/compiler/2025.0/bin/compiler/../icpx.cfg&lt;BR /&gt;Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/14&lt;BR /&gt;Candidate multilib: .;@m64&lt;BR /&gt;Candidate multilib: 32;@m32&lt;BR /&gt;Selected multilib: .;@m64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise. Thank you very much in advance!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 08:52:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665330#M4299</guid>
      <dc:creator>pablo_s</dc:creator>
      <dc:date>2025-02-12T08:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665334#M4300</link>
      <description>&lt;P&gt;Adding a MWE. The code I'm giving is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include &amp;lt;iostream&amp;gt;&lt;BR /&gt;#include &amp;lt;string&amp;gt;&lt;BR /&gt;#include &amp;lt;sycl/sycl.hpp&amp;gt;&lt;/P&gt;&lt;P&gt;const std::string secret{"Ifmmp-!xpsme\"\012J(n!tpssz-!Ebwf/!"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "J(n!bgsbje!J!dbo(u!ep!uibu/!.!IBM\01"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;BR /&gt;const auto sz = secret.size();&lt;/P&gt;&lt;P&gt;int main( void )&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; sycl::queue q;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char* result = sycl::malloc_shared&amp;lt; char &amp;gt;( sz, q );&lt;BR /&gt;&amp;nbsp; &amp;nbsp; std::memcpy( result, secret.data(), sz );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; q.parallel_for( sz, [=]( auto&amp;amp; i ) { result[i] -= 1; } ).wait();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; result &amp;lt;&amp;lt; '\n';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sycl::free( result, q );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to compile it with the command line&lt;/P&gt;&lt;P&gt;icpx -fsycl hello.cpp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 09:00:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665334#M4300</guid>
      <dc:creator>pablo_s</dc:creator>
      <dc:date>2025-02-12T09:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665442#M4301</link>
      <description>&lt;P&gt;Can you pls make sure your system meets the requirements&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-base-toolkit-system-requirements.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-base-toolkit-system-requirements.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried your test case on Ubuntu 24.04 and did not see there error.&lt;/P&gt;
&lt;P&gt;$ icpx -fsycl hello.cpp -V&lt;BR /&gt;Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2025.0.4 Build 20241205&lt;BR /&gt;Copyright (C) 1985-2024 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;$gcc -v&lt;/P&gt;
&lt;P&gt;gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 16:58:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665442#M4301</guid>
      <dc:creator>Viet_H_Intel</dc:creator>
      <dc:date>2025-02-12T16:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665708#M4306</link>
      <description>&lt;P&gt;My system does not meet the requirements. It is a bit too modern for SYCL. For example, I have gcc14.2 here. You seem to require gcc13.3.0. I was able to find a gcc13.3.1, but it did not work either.&lt;/P&gt;&lt;P&gt;What a pity.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 07:17:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665708#M4306</guid>
      <dc:creator>pablo_s</dc:creator>
      <dc:date>2025-02-13T07:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665909#M4308</link>
      <description>&lt;P&gt;I've just saw a bug posted, reporting the same problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/llvm/issues/16903" target="_blank"&gt;https://github.com/intel/llvm/issues/16903&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem seems to be the new version of glibc, not the compiler.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 18:28:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Compilation-error/m-p/1665909#M4308</guid>
      <dc:creator>pablo_s</dc:creator>
      <dc:date>2025-02-13T18:28:49Z</dc:date>
    </item>
  </channel>
</rss>

