<?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>MPC5xxxのトピックRe: MPC5748G position independent code</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657346#M7108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately, there is a compiler bug in S32 Design Studio version 1.1 which does not allow to use -fPIC switch. But do not worry, this bug is fixed in S32 Design Studio v1.2 which will be released at the end of May.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry for any inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 May 2017 11:36:32 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2017-05-03T11:36:32Z</dc:date>
    <item>
      <title>MPC5748G position independent code</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657345#M7107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to compile the hello sample project for &lt;STRONG&gt;MPC5748G with -fPIC&lt;/STRONG&gt; flag in the compiler.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting compiler error that refer to missing assembly commands:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;COLLECT_GCC_OPTIONS='-std=c99' '-D' 'register_architecture=e200' '-D' 'register_vendor=Freescale' '-D' 'register_chip=MPC5748G' '-D' 'MPC574xG' '-D' 'START_FROM_FLASH' '-D' 'TURN_ON_CPU0' '-D' 'TURN_ON_CPU1' '-D' 'TURN_ON_CPU2' '-D' 'DEBUG_SECONDARY_CORES' '-I' '../include' '-I' 'C:/Freescale/S32_Power_v1.1/S32DS/e200_ewl2/EWL_C/include' '-I' 'C:/Freescale/S32_Power_v1.1/S32DS/e200_ewl2/EWL_C/include/pa' '-O0' '-g3' '-Wall' '-c' '-fmessage-length=0' '-v' '-fPIC' '-fsigned-char' '-mcpu=e200z4' '-specs=ewl_c.specs' '-mbig' '-mvle' '-mregnames' '-mhard-float' '-MMD' '-MP' '-MF' 'src/hello+pll_Z4_1.d' '-MT' 'src/hello+pll_Z4_1.o' '-c' '-o' 'src/hello+pll_Z4_1.o' c:/freescale/s32_power_v1.1/cross_tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.2/../../../../powerpc-eabivle/bin/as.exe -v -I ../include -I C:/Freescale/S32_Power_v1.1/S32DS/e200_ewl2/EWL_C/include -I C:/Freescale/S32_Power_v1.1/S32DS/e200_ewl2/EWL_C/include/pa -mvle -mvle -many -K PIC -mbig -o src/hello+pll_Z4_1.o C:\Users\kfir\AppData\Local\Temp\ccxZIwdF.s COLLECT_GCC_OPTIONS='-std=c99' '-D' 'register_architecture=e200' '-D' 'register_vendor=Freescale' '-D' 'register_chip=MPC5748G' '-D' 'MPC574xG' '-D' 'START_FROM_FLASH' '-D' 'TURN_ON_CPU0' '-D' 'TURN_ON_CPU1' '-D' 'TURN_ON_CPU2' '-D' 'DEBUG_SECONDARY_CORES' '-I' '../include' '-I' 'C:/Freescale/S32_Power_v1.1/S32DS/e200_ewl2/EWL_C/include' '-I' 'C:/Freescale/S32_Power_v1.1/S32DS/e200_ewl2/EWL_C/include/pa' '-O0' '-g3' '-Wall' '-c' '-fmessage-length=0' '-v' '-fPIC' '-fsigned-char' '-mcpu=e200z4' '-specs=ewl_c.specs' '-mbig' '-mvle' '-mregnames' '-mhard-float' '-MMD' '-MP' '-MF' 'src/mode.d' '-MT' 'src/mode.o' '-c' '-o' 'src/mode.o' c:/freescale/s32_power_v1.1/cross_tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.2/../../../../powerpc-eabivle/bin/as.exe -v -I ../include -I C:/Freescale/S32_Power_v1.1/S32DS/e200_ewl2/EWL_C/include -I C:/Freescale/S32_Power_v1.1/S32DS/e200_ewl2/EWL_C/include/pa -mvle -mvle -many -K PIC -mbig -o src/mode.o C:\Users\kfir\AppData\Local\Temp\cc5gKwdF.s GNU assembler version 2.24.51 (powerpc-eabivle) using BFD version (GNU Binutils) 2.24.90.20141014 C:\Users\kfir\AppData\Local\Temp\ccBr2DlB.s: Assembler messages: C:\Users\kfir\AppData\Local\Temp\ccBr2DlB.s:61: Error: Illegal instruction for VLE mode: `bcl' C:\Users\kfir\AppData\Local\Temp\ccBr2DlB.s:64: Error: Illegal instruction for VLE mode: `lwz' C:\Users\kfir\AppData\Local\Temp\ccBr2DlB.s:188: Error: Illegal instruction for VLE mode: `bcl' C:\Users\kfir\AppData\Local\Temp\ccBr2DlB.s:191: Error: Illegal instruction for VLE mode: `lwz' make: *** [src/MPC57xx__Interrupt_Init.o] Error 1 make: *** Waiting for unfinished jobs....&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me sort out the problem?&lt;/P&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-338292"&gt;compile_console.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 18:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657345#M7107</guid>
      <dc:creator>kfirbs</dc:creator>
      <dc:date>2017-05-02T18:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G position independent code</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657346#M7108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately, there is a compiler bug in S32 Design Studio version 1.1 which does not allow to use -fPIC switch. But do not worry, this bug is fixed in S32 Design Studio v1.2 which will be released at the end of May.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry for any inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 11:36:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657346#M7108</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-05-03T11:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G position independent code</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657347#M7109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to compile it without S32? is it a bug in the IDE or the compiler itself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does other compilers support it such as Diab compiler for example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 18:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657347#M7109</guid>
      <dc:creator>kfirbs</dc:creator>
      <dc:date>2017-05-03T18:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G position independent code</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657348#M7110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not compiler expert and I do not know all dependencies, but it seems it is compiler bug not IDE bug. But it is fixed in next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know Diab compiler but I assume that it supports this feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 08:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-position-independent-code/m-p/657348#M7110</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-05-04T08:18:06Z</dc:date>
    </item>
  </channel>
</rss>

