<?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: Re:icx LINK1248 error in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1598409#M3759</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi Joel_L_Intel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks a lot for reviewing the v option log and the very suggestion for clearing the current link1248 error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;/Gw option did work!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Now I can switch icx from icl.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Yuji&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 01:03:58 GMT</pubDate>
    <dc:creator>ysuda</dc:creator>
    <dc:date>2024-05-17T01:03:58Z</dc:date>
    <item>
      <title>icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1586519#M3606</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I noticed that icx v2024.1.0 for Windows can compile my source to create .obj file but it can not be linked due to LINK1248 error&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;LINK : fatal error LNK1248: Image size (D761D000) exceeds maximum allowed size (80000000)&lt;/P&gt;&lt;P&gt;Then the same source was tried to be compiled in icx v2024.1.0for Linux,&amp;nbsp; this time error message was as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;/opt/intel/oneapi/compiler/2024.1/bin/compiler/../../lib/libirc.a(fast_mem_ops.c.o): in function `__cacheSize':&lt;BR /&gt;fast_mem_ops.c:(.text.__cacheSize+0x13): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text.__cacheSize+0x25): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;/opt/intel/oneapi/compiler/2024.1/bin/compiler/../../lib/libirc.a(fast_mem_ops.c.o): in function `__libirc_init_cache_tbl()':&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0xbd): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0xc5): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0x14a): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0x1d2): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0x29c): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0x612): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0x619): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0x620): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZL18__libirc_cache_tbl'&lt;BR /&gt;fast_mem_ops.c:(.text._ZL23__libirc_init_cache_tblv+0x626): additional relocation overflows omitted from the output&lt;BR /&gt;/opt/intel/oneapi/compiler/2024.1/bin/compiler/../../lib/libirc.a(fastmemset.c.o): in function `__intel_get_fast_memset_impl':&lt;BR /&gt;fastmemset.c:(.text.__intel_get_fast_memset_impl[__intel_get_fast_memset_impl]+0x4):&lt;BR /&gt;failed to convert GOTPCREL relocation against '__intel_cpu_feature_indicator_x'; relink with --no-relax&lt;BR /&gt;icx: error: linker command failed with exit code 1 (use -v to see invocation)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are problems when I use icx to build my application.&amp;nbsp; The very thing is Windows VIsual Studio 2019 CL.exe,&amp;nbsp; LInux Gcc and Apple clang did all good job without such a error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And moreover, Intel's ICC for mac ver 2021.3.0.20210609, which was installed in my Mac in 2021, did also good job without any error.&lt;/P&gt;&lt;P&gt;Unforntunately I could not check if it is OK in Windows ICL.exe which was installed in 2021 as a part of oneAPI tool kit v2022 since I deleted after the installation of oneAPI tool base kit v2024 and v2024.1.0 to my windows computer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I hope future version of oneAPI tool base kit icx compiler can produce linkable obj file clearing LINK1248 error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With best regards,&lt;/P&gt;&lt;P&gt;Yuji Suda&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 01:22:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1586519#M3606</guid>
      <dc:creator>ysuda</dc:creator>
      <dc:date>2024-04-05T01:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1587415#M3628</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/350155"&gt;@ysuda&lt;/a&gt;&lt;BR /&gt;In order to investigate your problem further, we need a reproducer and exact commands to reproduce the issue.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 16:46:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1587415#M3628</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-04-08T16:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1587517#M3630</link>
      <description>&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Can I attach my c and h source files zipped to one file to this forum?&lt;/P&gt;&lt;P&gt;Yuji&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 22:24:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1587517#M3630</guid>
      <dc:creator>ysuda</dc:creator>
      <dc:date>2024-04-08T22:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1587518#M3631</link>
      <description>&lt;P&gt;Yes, and please let us know the exact commands used to reproduce the issue. Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 22:27:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1587518#M3631</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-04-08T22:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1588910#M3644</link>
      <description>&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;Sorry being late to post a reproducer of icx link 1248 error.&lt;/P&gt;&lt;P&gt;It took a while to prepare a simplified reproducer. (attached zip file: for_intel_forum_icx_link_error.zip)&lt;/P&gt;&lt;P&gt;icx link error occurred during the development of my original console based server client system.&lt;/P&gt;&lt;P&gt;In the first stage to write basic communication loop of echo back server, there was NO PROBLEM.&lt;/P&gt;&lt;P&gt;This can be confirmed in the following build commands&lt;/P&gt;&lt;P&gt;Linux: /opt/intel/oneapi/compiler/2024.1/bin/icx -o srvVer_1_LinuxIcx server_ver_1_linux_icx.c&lt;BR /&gt;Windows: icx /Fe"servVer_1_WinIcx.exe" server_ver_1_win_icx.c ws2_32.lib&lt;/P&gt;&lt;P&gt;The server functionality can be tested with accompanying simple client c sources&lt;BR /&gt;in the another console.&lt;/P&gt;&lt;P&gt;Linux: icx -o clientLinuxGcc client_linux_gcc.c&lt;BR /&gt;Windows: icx /Fe"clinetWinCl.exe" client_win_cl.c&lt;/P&gt;&lt;P&gt;Then I advanced to implement a number of functionality to the server where I faced&lt;BR /&gt;icx link error.&lt;/P&gt;&lt;P&gt;The simplified reprocuders are&lt;/P&gt;&lt;P&gt;Linux: /opt/intel/oneapi/compiler/2024.1/bin/icx -o srvVer_2_LinuxIcx server_ver_2_linux_icx.c&lt;BR /&gt;Windows: icx /Fe"servVer_2_WinIcx.exe" server_ver_2_win_icx.c ws2_32.lib&lt;/P&gt;&lt;P&gt;The server_ver_2 can be normally built with Linux gcc and Windows cl.exe.&lt;BR /&gt;&lt;BR /&gt;Linux: gcc -o srvVer_2_LinuxGcc server_ver_2_linux_gcc.c&lt;BR /&gt;Windows: cl /Fe"servVer_2_WinCl.exe" server_ver_2_win_cl.c ws2_32.lib&lt;/P&gt;&lt;P&gt;The very difference between ver_1 and ver_2 is the size of global variables only,&lt;BR /&gt;otherwise they are identical.&lt;/P&gt;&lt;P&gt;I hope you and intel staff can cope with this link error in icx.&lt;/P&gt;&lt;P&gt;With best regards&lt;/P&gt;&lt;P&gt;Yuji Suda&lt;/P&gt;&lt;P&gt;ps. for_intel_forum_icx_link_error.zip contains the following sources&lt;/P&gt;&lt;P&gt;client_linux_gcc.c&lt;BR /&gt;client_linux_icx.c&lt;BR /&gt;client_win_cl.c&lt;BR /&gt;client_win_icx.c&lt;/P&gt;&lt;P&gt;server_ver_1_linux_gcc.c&lt;BR /&gt;server_ver_1_linux_icx.c&lt;BR /&gt;server_ver_1_win_cl.c&lt;BR /&gt;server_ver_1_win_icx.c&lt;/P&gt;&lt;P&gt;server_ver_2_linux_gcc.c&lt;BR /&gt;server_ver_2_linux_icx.c&lt;BR /&gt;server_ver_2_win_cl.c&lt;BR /&gt;server_ver_2_win_icx.c&lt;/P&gt;&lt;P&gt;OS_compiler_versionName.h&lt;BR /&gt;includeAndDefineWithoutSIMDandOmp.h&lt;BR /&gt;myTypeStructAndEnumeration.h&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;lt;----- this is for server_ver_1&lt;BR /&gt;myTypeStructAndEnumerationAndGlobals.h&amp;nbsp; &amp;lt;----- this is for server_ver_2&lt;BR /&gt;originalFunctionPrototype.h&lt;/P&gt;&lt;P&gt;tcpClient.h&lt;BR /&gt;tcpClientIncludeAndDefine.h&lt;/P&gt;&lt;P&gt;readme.txt&lt;BR /&gt;----------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 12:31:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1588910#M3644</guid>
      <dc:creator>ysuda</dc:creator>
      <dc:date>2024-04-14T12:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1589326#M3648</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/350155"&gt;@ysuda&lt;/a&gt;&amp;nbsp;Thanks, I can reproduce your problem. I've escalated this issue to our engineering team, and we'll work on it internally and update you when we reach a conclusion.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 19:56:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1589326#M3648</guid>
      <dc:creator>Alex_Y_Intel</dc:creator>
      <dc:date>2024-04-15T19:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1589380#M3650</link>
      <description>&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;Thank you for reconfirmation of icx link error issue and transfering the source to the technical department.&lt;/P&gt;&lt;P&gt;Here is a suggestion for finding a resolution.&amp;nbsp; The server_ver_2_linux_ixc .c and ver_2_win_icx.c can be built with legacy icc and icl.exe, which were deprecated in the current oneAPI toolkit.&lt;/P&gt;&lt;P&gt;In Linux:&lt;/P&gt;&lt;P&gt;&amp;nbsp;icc -o serv2IccGcc server_ver_2_linux_gcc.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;icc -o serv2IccIcx server_ver_2_linux_icx.c&lt;/P&gt;&lt;P&gt;They are all good in operation.&lt;/P&gt;&lt;P&gt;And&lt;/P&gt;&lt;P&gt;In Windows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;icl /Fe"serv2Icl.exe" server_ver_2_win_icx.c ws2_32.lib&lt;/P&gt;&lt;P&gt;This will be good in operation, although I can not see by myself, because I deleted oneAPI toolkit 2022 in which icl.exe is included when I updated to one API toolkit 2024.1.&amp;nbsp; This latest version does not include icl.exe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yuji&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 01:20:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1589380#M3650</guid>
      <dc:creator>ysuda</dc:creator>
      <dc:date>2024-04-16T01:20:54Z</dc:date>
    </item>
    <item>
      <title>Re:icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1596204#M3717</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;would you help try the following compiler command for this build error issue? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;icx -o srvVer_2_LinuxIcx server_ver_2_linux_icx.c -mcmodel=medium&lt;/P&gt;&lt;P&gt;#or&lt;/P&gt;&lt;P&gt;icx -o srvVer_2_LinuxIcx server_ver_2_linux_icx.c -mcmodel=large&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here is the reference documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2024-1/mcmodel.html" rel="noopener noreferrer" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2024-1/mcmodel.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 May 2024 06:02:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1596204#M3717</guid>
      <dc:creator>Joel_L_Intel</dc:creator>
      <dc:date>2024-05-09T06:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re:icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1596260#M3720</link>
      <description>&lt;P&gt;Hi Joel_L_Intel&lt;/P&gt;&lt;P&gt;I tired both of them in linux icx 2024.1&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;icx -o srvVer_2_LinuxIcx server_ver_2_linux_icx.c -mcmodel=medium&lt;/P&gt;&lt;P class=""&gt;#or&lt;/P&gt;&lt;P class=""&gt;icx -o srvVer_2_LinuxIcx server_ver_2_linux_icx.c -mcmodel=large&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;They completed compilation and link.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;But when I executed srvVer_2_LinuxIcx, it showed error message as in the following.&lt;/P&gt;&lt;P class=""&gt;error while loading shared libraries: libsvml.so: cannot open shared object file: No such file or directory&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Yours,&lt;/P&gt;&lt;P class=""&gt;Yuji&lt;/P&gt;&lt;P class=""&gt;p.s. This&amp;nbsp; -mcmodel option is not available in windows icx, too.&amp;nbsp; Is there any way to solve link1248&amp;nbsp; error in windows icx?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 09:20:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1596260#M3720</guid>
      <dc:creator>ysuda</dc:creator>
      <dc:date>2024-05-09T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1596361#M3721</link>
      <description>&lt;P&gt;&lt;SPAN&gt;libsvml.so: cannot open shared object file , please refer to&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;Get Started with the Intel® oneAPI DPC++/C++ Compiler&lt;/H2&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/get-started-guide/2024-1/get-started-on-linux.html#SECTION_891B644B73EB440EA04A06FC2EEBAFA5" target="_blank" rel="noopener"&gt;Get Started on Linux* (intel.com)&lt;/A&gt;&amp;nbsp;--&amp;gt;&amp;nbsp;Before You Begin --&amp;gt;&amp;nbsp;Set Environment Variables for CLI Development. You need to setup the correct runtime library path for libsvml.so.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regarding link1248 error, it should be "Linker tools error LNK1248" from Microsoft linker. You are recommended to visit Microsoft website to check the suggestion -&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk1248?view=msvc-170" target="_blank" rel="noopener"&gt;Linker Tools Error LNK1248 | Microsoft Learn&lt;/A&gt;. You are also recommended to move to 64-bit development environment.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 14:58:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1596361#M3721</guid>
      <dc:creator>Joel_L_Intel</dc:creator>
      <dc:date>2024-05-09T14:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1596584#M3726</link>
      <description>&lt;P&gt;Hi Joel_L_Intel&lt;/P&gt;&lt;P&gt;Thank you for the note on setting the path to icx compiler.&amp;nbsp; It did work.&amp;nbsp; Now icx for Linux is working good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And as for link 1248 error issue in windows icx,&amp;nbsp; I can not understand the reason why cl (visual studio 2019) does not produce link1248 error whereas icx( intel oneapi 2024.1) does produce link1248 error.&lt;/P&gt;&lt;P&gt;That is:&lt;/P&gt;&lt;P&gt;cl.exe /Fe"srvVer2_win_cl.exe" server_ver_2_win_cl.c ws2_32.lib&amp;nbsp;&amp;nbsp; ---&amp;gt; no problem&lt;/P&gt;&lt;P&gt;icx.exe /Fe"srvVer2_win_icx.exe" server_ver_2_win_icx.c ws2_32.lib ---&amp;gt; link1248 error&lt;/P&gt;&lt;P&gt;It seems to me that linker tools error LNK1248 in icx windows OS originates from icx itself. If icx for windows has a similar memory model option (small, medium and large), it should clear the problem.&amp;nbsp; Are there any fundamental issue for unavailability of such compiler option in icx for windows?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yuji&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 05:51:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1596584#M3726</guid>
      <dc:creator>ysuda</dc:creator>
      <dc:date>2024-05-10T05:51:39Z</dc:date>
    </item>
    <item>
      <title>Re:icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1597867#M3740</link>
      <description>&lt;P&gt;can you add -v in the icx.exe compiling command? This should give more information about why you will see this LNK1248 error. It should point out the error was from MSFT's link.exe. Please also try /Gw, this will help reallocate the data.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 May 2024 08:55:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1597867#M3740</guid>
      <dc:creator>Joel_L_Intel</dc:creator>
      <dc:date>2024-05-15T08:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re:icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1598125#M3753</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Joel_L_Intel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your suggestion.&amp;nbsp; I did compile with v option and the output file with link1248 error was attached in this reply.&amp;nbsp; To my regret, I can hardly to analyse this output to find what is wrong in the compilation and linkage, except the executable image size is above the allowable maximum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One more comment on this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I could reinstall oneapi 2022 icx build 20211123 and legacy icl&amp;nbsp; Version 2021.5.0 Build 20211109_000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for windows OS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this version of oneapi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;icl /Fe"srvV_2_icl.exe" server_ver_2_win_icx.c ws2_32.lib -----&amp;gt;no problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and executable binary size is 233472 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;icx /Fe"srvV_2_icl.exe" server_ver_2_win_icx.c ws2_32.lib ------&amp;gt;link 1248 error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Again, it seems to me that link1248 error orinates from icx itselft, because legacy icl could compile an executable image size within the allowalbe maximum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please reconsider this issue seen in icx for Windows OS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yuji&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 05:26:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1598125#M3753</guid>
      <dc:creator>ysuda</dc:creator>
      <dc:date>2024-05-16T05:26:46Z</dc:date>
    </item>
    <item>
      <title>Re:icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1598282#M3756</link>
      <description>&lt;P&gt;hi Ysuda,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;verbose log(-v) shows the progress of baking the codes into the final binary. if you review the tail of verbose log, you will find the last command triggers this LNK1248 error. however, the last error does not mean the root cause. In your case, you declare several large sized global data in a header file but did not actually use all of them.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;can you try "icx /Gw /Fe"srvVer2_winIcx.exe" ws2_32.lib server_ver_2_win_icx.c"? This shall trigger linking optimization to exclude unused global data.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;icl has been deprecated and discontinued.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 May 2024 15:26:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1598282#M3756</guid>
      <dc:creator>Joel_L_Intel</dc:creator>
      <dc:date>2024-05-16T15:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re:icx LINK1248 error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1598409#M3759</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi Joel_L_Intel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks a lot for reviewing the v option log and the very suggestion for clearing the current link1248 error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;/Gw option did work!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Now I can switch icx from icl.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Yuji&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 01:03:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/icx-LINK1248-error/m-p/1598409#M3759</guid>
      <dc:creator>ysuda</dc:creator>
      <dc:date>2024-05-17T01:03:58Z</dc:date>
    </item>
  </channel>
</rss>

