<?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>i.MX RT Crossover MCUsのトピックRe: Managed Linker Scripts not generating under Linux (but work fine under Windows)...?</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316681#M15611</link>
    <description>&lt;P&gt;I think I have found the root cause of the problem. In &amp;lt;workspacename&amp;gt;/.metadata/.log, there is a message complaining about MCU Settings:&lt;/P&gt;&lt;P&gt;!ENTRY com.crt.log 4 -1 2021-08-02 11:26:50.633&lt;BR /&gt;!MESSAGE Exception&lt;BR /&gt;!STACK 0&lt;BR /&gt;java.lang.Exception: java.lang.InterruptedException&lt;BR /&gt;[stack trace]&lt;/P&gt;&lt;P&gt;!ENTRY com.crt.advproject 4 -1 2021-08-02 11:26:50.633&lt;BR /&gt;!MESSAGE Missing MCU setting for Plugin_IO&lt;BR /&gt;Use Project-&amp;gt;Properties-&amp;gt;MCU Settings to correct&lt;BR /&gt;No linker script created&lt;/P&gt;&lt;P&gt;So it seems that the real problem here is something to do with the SDK configuration under Linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Aug 2021 11:51:25 GMT</pubDate>
    <dc:creator>np</dc:creator>
    <dc:date>2021-08-02T11:51:25Z</dc:date>
    <item>
      <title>Managed Linker Scripts not generating under Linux (but work fine under Windows)...?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316600#M15605</link>
      <description>&lt;P&gt;Our (multi-project) MCUXpresso build builds OK locally under Windows, so I'm now trying to get a remote Linux machine to build exactly the same code (so we can integrate it with Jenkins etc).&lt;/P&gt;&lt;P&gt;However, the problem is that even though the Linux machine imports all the projects OK and compiles all the C files OK, it is not generating the managed linker scripts, and so the final link stage is failing:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file Plugin_IO_Debug.ld: No such file or directory&lt;/LI&gt;&lt;LI&gt;collect2: error: ld returned 1 exit status&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If I look at the Linux Debug directory, I can see the autogenerated *.mk files, but no *.ld files:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;makefile&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-board.su&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-hardware.d&lt;/LI&gt;&lt;LI&gt;subdir.mk&lt;/LI&gt;&lt;LI&gt;objects.mk&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-config.d&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-hardware.o&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-board.d&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-config.o&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-hardware.su&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-board.o&lt;/LI&gt;&lt;LI&gt;plugin-digital-io-config.su&lt;/LI&gt;&lt;LI&gt;sources.mk&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;By way of comparison, the same directory in the Windows build has three extra linker (*.ld) files:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;02/08/2021 10:02 5,771 Plugin_IO_Debug.ld&lt;/LI&gt;&lt;LI&gt;02/08/2021 10:02 405 Plugin_IO_Debug_library.ld&lt;/LI&gt;&lt;LI&gt;02/08/2021 10:02 1,425 Plugin_IO_Debug_memory.ld&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So it appears that the Linux mcuxpressoide is failing to generate these additional linker files. &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Is this a known problem with specific Linux versions of the MCXpresso IDE? We're currently using mcuxpressoide 11.1.0 (we're slow to upgrade because everyone on the team would need to advance to a new version at the same time).&lt;/P&gt;&lt;P&gt;PS: here is the mcuxpressoide command line we're using to launch a remote Linux build:&lt;/P&gt;&lt;P&gt;SWT_GTK3=0 UBUNTU_MENUPROXY=0 /usr/local/mcuxpressoide/ide/mcuxpressoide --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data ~/workspace -import Callisto4Lib -import PlatformAPI -import PluginLib -import Plugin_IO -build Plugin_IO/Debug&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 09:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316600#M15605</guid>
      <dc:creator>np</dc:creator>
      <dc:date>2021-08-02T09:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Managed Linker Scripts not generating under Linux (but work fine under Windows)...?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316614#M15607</link>
      <description>&lt;P&gt;As an aside, the thing that MCUXpresso uses to generate .ld files is Apache Freemarker. I searched for "freemarker.jar", and found:&lt;/P&gt;&lt;P&gt;./mcuxpressoide-11.1.0_3209/ide/configuration/org.eclipse.osgi/4/0/.cp/freemarker.jar&lt;BR /&gt;./mcuxpressoide-11.1.0_3209/ide/configuration/org.eclipse.osgi/42/0/.cp/libs/fmpp/freemarker.jar&lt;/P&gt;&lt;P&gt;So it seems as though Freemarker is correctly installed here.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 09:48:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316614#M15607</guid>
      <dc:creator>np</dc:creator>
      <dc:date>2021-08-02T09:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Managed Linker Scripts not generating under Linux (but work fine under Windows)...?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316634#M15608</link>
      <description>&lt;P&gt;I have found some additional debug. The workspace error log file (in &amp;lt;myworkspacedirectory&amp;gt;/.metadata/.log) says:&lt;/P&gt;&lt;P&gt;!ENTRY com.crt.log 4 -1 2021-08-02 11:26:50.633&lt;BR /&gt;!MESSAGE Exception&lt;BR /&gt;!STACK 0&lt;BR /&gt;java.lang.Exception: java.lang.InterruptedException&lt;BR /&gt;[stack trace]&lt;/P&gt;&lt;P&gt;!ENTRY com.crt.advproject 4 -1 2021-08-02 11:26:50.633&lt;BR /&gt;!MESSAGE Missing MCU setting for Plugin_IO&lt;BR /&gt;Use Project-&amp;gt;Properties-&amp;gt;MCU Settings to correct&lt;BR /&gt;No linker script created&lt;/P&gt;&lt;P&gt;There's nothing clever whatsoever in the MCU settings for this project. So my actual problem here seems to be to do with installing / configuring the SDK under Linux.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 10:48:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316634#M15608</guid>
      <dc:creator>np</dc:creator>
      <dc:date>2021-08-02T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Managed Linker Scripts not generating under Linux (but work fine under Windows)...?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316681#M15611</link>
      <description>&lt;P&gt;I think I have found the root cause of the problem. In &amp;lt;workspacename&amp;gt;/.metadata/.log, there is a message complaining about MCU Settings:&lt;/P&gt;&lt;P&gt;!ENTRY com.crt.log 4 -1 2021-08-02 11:26:50.633&lt;BR /&gt;!MESSAGE Exception&lt;BR /&gt;!STACK 0&lt;BR /&gt;java.lang.Exception: java.lang.InterruptedException&lt;BR /&gt;[stack trace]&lt;/P&gt;&lt;P&gt;!ENTRY com.crt.advproject 4 -1 2021-08-02 11:26:50.633&lt;BR /&gt;!MESSAGE Missing MCU setting for Plugin_IO&lt;BR /&gt;Use Project-&amp;gt;Properties-&amp;gt;MCU Settings to correct&lt;BR /&gt;No linker script created&lt;/P&gt;&lt;P&gt;So it seems that the real problem here is something to do with the SDK configuration under Linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 11:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316681#M15611</guid>
      <dc:creator>np</dc:creator>
      <dc:date>2021-08-02T11:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Managed Linker Scripts not generating under Linux (but work fine under Windows)...?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316700#M15612</link>
      <description>&lt;P&gt;Finally, I think I found a support ticket where &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/23694"&gt;@mukelarvin&lt;/a&gt;&amp;nbsp; had run into this exact problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/Trouble-with-headless-build-on-Jenkins-SDK-location-and-Linker/m-p/1021712" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/Trouble-with-headless-build-on-Jenkins-SDK-location-and-Linker/m-p/1021712&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 12:09:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Managed-Linker-Scripts-not-generating-under-Linux-but-work-fine/m-p/1316700#M15612</guid>
      <dc:creator>np</dc:creator>
      <dc:date>2021-08-02T12:09:04Z</dc:date>
    </item>
  </channel>
</rss>

