<?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>LPCXpresso IDEのトピックRe: gcc linker crash</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573942#M21669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Wed Aug 18 14:09:33 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found that the problem is the linker script (it was one I hacked from an LPC1343 script)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To solve this, I created a dummy project for the LPC1765, found where the linker script was stored and modified some symbol names to suit my startup file. Now it all works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the hint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the new linker script for reference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:53:04 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:53:04Z</dc:date>
    <item>
      <title>gcc linker crash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573939#M21666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Tue Aug 17 21:25:02 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using lpcxpresso to compile a project, every module compiles without error or warnings, but when it is time to link, the linker crashes ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea what the error code means, does anyone know how to get more information out of the linker to see what it is complaining about?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;make all &lt;BR /&gt;C:/nxp/lpcxpresso_3.4/Tools/bin/arm-none-eabi-gcc -Tlpc1765.ld -mcpu=cortex-m3 -mthumb -nostdlib -Xlinker -Map=dbg/dpp-qk.map --gc-sections -LC:/QP/ports/arm-cortex/qk/gnu/dbg -o dbg/dpp-qk.elf dbg/startup_LPC17.o dbg/bsp.o dbg/main.o dbg/no_heap.o dbg/philo.o dbg/table.o dbg/core_cm3.o dbg/system_LPC17xx.o -lqk_cortex-m3 -lqf_cortex-m3 -lqep_cortex-m3&lt;BR /&gt;collect2: ld returned 5 exit status&lt;/SPAN&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338167"&gt;1100608_LPC1769makeproblem.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:53:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573939#M21666</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: gcc linker crash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573940#M21667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Aug 18 01:13:38 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It does look like the linker has exited unexpectedly. Are you providing your own linker script, or are you using the auto-generated linker script? If it is your own, please post it. If not, please contact our support group and send your project so we can reproduce.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:53:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573940#M21667</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: gcc linker crash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573941#M21668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Wed Aug 18 12:25:44 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using my own linker script, it is attached:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernie :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573941#M21668</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: gcc linker crash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573942#M21669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bmentink on Wed Aug 18 14:09:33 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found that the problem is the linker script (it was one I hacked from an LPC1343 script)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To solve this, I created a dummy project for the LPC1765, found where the linker script was stored and modified some symbol names to suit my startup file. Now it all works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the hint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the new linker script for reference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/gcc-linker-crash/m-p/573942#M21669</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:53:04Z</dc:date>
    </item>
  </channel>
</rss>

