<?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 How do I stop MKL from searching for libimalloc.dll? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834977#M6006</link>
    <description>Cool, thanks for answering.&lt;BR /&gt;I'll give that I try as soon as I get time and let you know how it goes.</description>
    <pubDate>Wed, 05 Oct 2011 21:55:44 GMT</pubDate>
    <dc:creator>tennican</dc:creator>
    <dc:date>2011-10-05T21:55:44Z</dc:date>
    <item>
      <title>How do I stop MKL from searching for libimalloc.dll?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834975#M6004</link>
      <description>My fairly small custom MKL library searches for this dll.&lt;BR /&gt;However, I do not want to use custom memory allocation and do not include libimalloc.dll with my application.&lt;BR /&gt;So, since the search causes a security vulnerability, I'd like to stop this behavior.&lt;BR /&gt;Can anyone tell me how I can compile a custom MKL library that will NOT do this search?&lt;BR /&gt;&lt;BR /&gt;thanks, Scott&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Sep 2011 17:03:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834975#M6004</guid>
      <dc:creator>tennican</dc:creator>
      <dc:date>2011-09-06T17:03:18Z</dc:date>
    </item>
    <item>
      <title>How do I stop MKL from searching for libimalloc.dll?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834976#M6005</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please try to delete the whole line in the makefile which extracts i_malloc_dll.obj&lt;BR /&gt; lib .... /EXTRACT:i_malloc_dll.obj ...&lt;BR /&gt;&lt;BR /&gt;And compile/use instead the following source file:&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;#include &lt;I_MALLOC.H&gt;&lt;BR /&gt;&lt;BR /&gt;i_malloc_t i_malloc = malloc;&lt;BR /&gt;i_calloc_t i_calloc = calloc;&lt;BR /&gt;i_realloc_t i_realloc = realloc;&lt;BR /&gt;i_free_t i_free = free;&lt;BR /&gt;&lt;BR /&gt;void i_malloc_init(void) {}&lt;/I_MALLOC.H&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2011 04:47:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834976#M6005</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2011-09-13T04:47:17Z</dc:date>
    </item>
    <item>
      <title>How do I stop MKL from searching for libimalloc.dll?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834977#M6006</link>
      <description>Cool, thanks for answering.&lt;BR /&gt;I'll give that I try as soon as I get time and let you know how it goes.</description>
      <pubDate>Wed, 05 Oct 2011 21:55:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834977#M6006</guid>
      <dc:creator>tennican</dc:creator>
      <dc:date>2011-10-05T21:55:44Z</dc:date>
    </item>
    <item>
      <title>How do I stop MKL from searching for libimalloc.dll?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834978#M6007</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt;So, I think you intend that I create a &lt;NAME&gt;.c file containing the source above, compile it to an &lt;NAME&gt;.obj file and reference it from a link line in the makefile.&lt;BR /&gt;Is that right?&lt;BR /&gt;&lt;BR /&gt;So, I made a file called removeimalloc.c.&lt;BR /&gt;Created removeimalloc.obj using: cl /c removeimalloc.c&lt;BR /&gt;Added "removeimalloc.obj" right before the reference to $(CB_XERBLA) in the ia32 section since that's what I'm building.&lt;BR /&gt;Rebuilt mkl_custom.dll/lib.&lt;BR /&gt;Rebuilt my application using the new mkl_custom.dll/lib&lt;BR /&gt;Ran the application and watched it with Process Monitor.&lt;BR /&gt;&lt;BR /&gt;Sadly, it appears the application is still using libimalloc.dll&lt;BR /&gt;&lt;BR /&gt;Did I do everything the way you think I should?&lt;BR /&gt;Why do you think the problem persists?&lt;BR /&gt;&lt;BR /&gt;thanks, Scott&lt;BR /&gt;&lt;/NAME&gt;&lt;/NAME&gt;</description>
      <pubDate>Thu, 06 Oct 2011 00:12:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834978#M6007</guid>
      <dc:creator>tennican</dc:creator>
      <dc:date>2011-10-06T00:12:09Z</dc:date>
    </item>
    <item>
      <title>How do I stop MKL from searching for libimalloc.dll?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834979#M6008</link>
      <description>Scott,&lt;BR /&gt;&lt;BR /&gt;Did youdelete the following lines in the makefile:&lt;BR /&gt; lib .... /EXTRACT:i_malloc_dll.obj ...&lt;BR /&gt;Also, it would be correct to delete all obj-file in that directory to not add unneeded stuff to your custom library</description>
      <pubDate>Thu, 06 Oct 2011 05:32:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834979#M6008</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2011-10-06T05:32:27Z</dc:date>
    </item>
    <item>
      <title>How do I stop MKL from searching for libimalloc.dll?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834980#M6009</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt;Yup, I deleted:&lt;BR /&gt;@lib .\lib\mkl_cdll_ia32.lib /EXTRACT:i_malloc_dll.obj /OUT:.\temp_cdll\i_malloc_dll.obj&lt;BR /&gt;&lt;BR /&gt;And changed:&lt;BR /&gt;.\temp_cdll\*.obj $(CB_XERBLA) \&lt;BR /&gt;To:&lt;BR /&gt;.\temp_cdll\*.obj .\removeimalloc.obj $(CB_XERBLA) \&lt;BR /&gt;&lt;BR /&gt;Also, there are no other obj files the build directory.&lt;BR /&gt;&lt;BR /&gt;thanks, Scott</description>
      <pubDate>Thu, 06 Oct 2011 22:57:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834980#M6009</guid>
      <dc:creator>tennican</dc:creator>
      <dc:date>2011-10-06T22:57:48Z</dc:date>
    </item>
    <item>
      <title>How do I stop MKL from searching for libimalloc.dll?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834981#M6010</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;Could you please check your changes once more?&lt;BR /&gt;&lt;BR /&gt;Here's output from Dependency Walker when MKL function i_malloc was used:&lt;BR /&gt;&lt;BR /&gt;GetProcAddress(0x0000000077150000 [NTDLL.DLL], "NtQuerySystemInformation") called from "LIBIOMP5MD.DLL" at address 0x000000001006E1E7 and returned 0x00000000771A1670.&lt;BR /&gt;DllMain(0x0000000077255468, DLL_PROCESS_DETACH, 0x00000000736F26F4) in "LIBIOMP5MD.DLL" returned 1 (0x1).&lt;BR /&gt;DllMain(0x0000000077255468, DLL_PROCESS_DETACH, 0x0000000010071A40) in "MKL_CUSTOM.DLL" called.&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;LoadLibraryA("libimalloc.dll") called from "MKL_CUSTOM.DLL" at address 0x0000000180001015.&lt;BR /&gt;LoadLibraryA("libimalloc.dll") returned NULL. Error: The specified module could not be found (126).&lt;/SPAN&gt;&lt;BR /&gt;DllMain(0x0000000077255468, DLL_PROCESS_DETACH, 0x0000000010071A40) in "MKL_CUSTOM.DLL" returned 1 (0x1).&lt;BR /&gt;&lt;BR /&gt;And here's output when the library was built withchanges suggested by Victor, there's no libimalloc: &lt;BR /&gt;&lt;BR /&gt;GetProcAddress(0x0000000077150000 [NTDLL.DLL], "NtQuerySystemInformation") called from "LIBIOMP5MD.DLL" at address 0x000000001006E1E7 and returned 0x00000000771A1670.&lt;BR /&gt;DllMain(0x0000000077255468, DLL_PROCESS_DETACH, 0x00000000736F26F4) in "LIBIOMP5MD.DLL" returned 1 (0x1).&lt;BR /&gt;DllMain(0x0000000077255468, DLL_PROCESS_DETACH, 0x0000000010071A40) in "MKL_CUSTOM.DLL" called.&lt;BR /&gt;DllMain(0x0000000077255468, DLL_PROCESS_DETACH, 0x0000000010071A40) in "MKL_CUSTOM.DLL" returned 1 (0x1).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Oct 2011 07:20:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-stop-MKL-from-searching-for-libimalloc-dll/m-p/834981#M6010</guid>
      <dc:creator>Julia_S_Intel1</dc:creator>
      <dc:date>2011-10-10T07:20:08Z</dc:date>
    </item>
  </channel>
</rss>

