<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">In an attempt to make some progress, I’ve gone back to trying to install RTEMS6 built for STM32F4. Should be straight forward.<div class=""><br class=""></div><div class="">To make things clean, I don’t do any modifications to any of the code being pulled out of git.<br class=""><div class=""><br class=""></div><div class="">I followed the Quick Start section of the RTEMS User Manual, Release 6 efb8e7c</div><div class=""><br class=""></div><div class="">1) </div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">mkdir -p $HOME/quick-start/src</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">cd $HOME/quick-start/src</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">git clone <a href="git://git.rtems.org/rtems-source-builder.git" class="">git://git.rtems.org/rtems-source-builder.git</a> rsb</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">git clone <a href="git://git.rtems.org/rtems.git" class="">git://git.rtems.org/rtems.git</a></span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">It looks good here.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2)</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">cd $HOME/quick-start/src/rsb/rtems</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 6/rtems-arm</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class="">It looks good here too.</div><div class=""><br class=""></div></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">3)</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$HOME/quick-start/rtems/6/bin/arm-rtems6-gcc --version</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class="">This gives me:</div><div class=""><br class=""></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">arm-rtems6-gcc (GCC) 10.3.1 20210409 (RTEMS 6, RSB ec495e091743061d4e140e2d0bd8aab1a8d69ae7, Newlib 0c0f3df)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Copyright (C) 2020 Free Software Foundation, Inc.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">This is free software; see the source for copying conditions. There is NO</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></span></div></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">4)</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">cd $HOME/quick-start/src/rsb/rtems</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 --target=arm-rtems6 --with-rtems-bsp=stm32f4 --with-rtems-tests=yes 6/rtems-kernel</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Gives me:</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">RTEMS Source Builder - Set Builder, 6 (ec495e091743)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Build Set: 6/rtems-kernel</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">config: tools/rtems-kernel-6.cfg</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">package: arm-rtems6-kernel-stm32f4-1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">download: <a href="https://git.rtems.org/rtems/snapshot/rtems-3ec5f20484cc4201e1d7b87844505644533b6148.tar.bz2" class="">https://git.rtems.org/rtems/snapshot/rtems-3ec5f20484cc4201e1d7b87844505644533b6148.tar.bz2</a> -> sources/rtems-kernel-3ec5f20484cc4201e1d7b87844505644533b6148.tar.bz2</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">downloading: sources/rtems-kernel-3ec5f20484cc4201e1d7b87844505644533b6148.tar.bz2 - 8.1MB </span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">building: arm-rtems6-kernel-stm32f4-1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">error: building arm-rtems6-kernel-stm32f4-1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Build FAILED</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> See error report: rsb-report-arm-rtems6-kernel-stm32f4-1.txt</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">error: building arm-rtems6-kernel-stm32f4-1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Build Set: Time 0:03:03.592335</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Build FAILED</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Inside of </span><span style="font-family: Monaco; font-size: 10px;" class="">rsb-report-arm-rtems6-kernel-stm32f4-1.txt</span> the compiles are bombing with :</div><div class=""><br class=""></div></span></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/andreichichak/quick-start/rtems/6/lib/gcc/arm-rtems6/10.3.1/../../../../arm-rtems6/bin/ld: ./../../cpukit/librtemscpu.a(armv7m-context-initialize.o): in function `_CPU_Context_Initialize':</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-kernel-stm32f4-1/arm-rtems6-kernel-stm32f4-1-3ec5f20484cc4201e1d7b87844505644533b6148/build/arm-rtems6/c/stm32f4/cpukit/../../../../../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/c/src/../../cpukit/score/cpu/arm/armv7m-context-initialize.c:53: undefined reference to `_TLS_Alignment'</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/andreichichak/quick-start/rtems/6/lib/gcc/arm-rtems6/10.3.1/../../../../arm-rtems6/bin/ld: /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-kernel-stm32f4-1/arm-rtems6-kernel-stm32f4-1-3ec5f20484cc4201e1d7b87844505644533b6148/build/arm-rtems6/c/stm32f4/cpukit/../../../../../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/c/src/../../cpukit/score/cpu/arm/armv7m-context-initialize.c:53: undefined reference to `_TLS_Size'</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/andreichichak/quick-start/rtems/6/lib/gcc/arm-rtems6/10.3.1/../../../../arm-rtems6/bin/ld: /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-kernel-stm32f4-1/arm-rtems6-kernel-stm32f4-1-3ec5f20484cc4201e1d7b87844505644533b6148/build/arm-rtems6/c/stm32f4/cpukit/../../../../../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/c/src/../../cpukit/score/cpu/arm/armv7m-context-initialize.c:53: undefined reference to `_TLS_Data_begin'</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/andreichichak/quick-start/rtems/6/lib/gcc/arm-rtems6/10.3.1/../../../../arm-rtems6/bin/ld: /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-kernel-stm32f4-1/arm-rtems6-kernel-stm32f4-1-3ec5f20484cc4201e1d7b87844505644533b6148/build/arm-rtems6/c/stm32f4/cpukit/../../../../../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/c/src/../../cpukit/score/cpu/arm/armv7m-context-initialize.c:53: undefined reference to `_TLS_Data_size'</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/andreichichak/quick-start/rtems/6/lib/gcc/arm-rtems6/10.3.1/../../../../arm-rtems6/bin/ld: /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-kernel-stm32f4-1/arm-rtems6-kernel-stm32f4-1-3ec5f20484cc4201e1d7b87844505644533b6148/build/arm-rtems6/c/stm32f4/cpukit/../../../../../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/c/src/../../cpukit/score/cpu/arm/armv7m-context-initialize.c:53: undefined reference to `_TLS_BSS_begin'</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/andreichichak/quick-start/rtems/6/lib/gcc/arm-rtems6/10.3.1/../../../../arm-rtems6/bin/ld: /Users/andreichichak/quick-start/src/rsb/rtems/build/arm-rtems6-kernel-stm32f4-1/arm-rtems6-kernel-stm32f4-1-3ec5f20484cc4201e1d7b87844505644533b6148/build/arm-rtems6/c/stm32f4/cpukit/../../../../../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/c/src/../../cpukit/score/cpu/arm/armv7m-context-initialize.c:53: undefined reference to `_TLS_BSS_size'</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/andreichichak/quick-start/rtems/6/lib/gcc/arm-rtems6/10.3.1/../../../../arm-rtems6/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008018</span></div></div><div class=""><br class=""></div></span></div><div class="">
If I compile with tests turned off, the set builder succeeds and I get a BSP that I can compile against, but a hello program compile bombs with the same missing symbols.</div><div class=""><br class=""></div><div class="">Am I missing some unobvious git command? Is the stm32f4 BSP not converted for 6? </div><div class=""><br class=""></div><div class="">Thank you in advance, I can send the complete log files if it would help.</div><div class=""><br class=""></div><div class="">Andrei (from The Great White North)</div><div class=""><br class=""></div></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">---------------------</div><div class="">Andrei Chichak</div><div class=""><br class=""></div><div class="">Systems Developer</div><div class="">CBF Systems Inc.</div><div class="">225 College Plaza</div><div class="">8215 112 Street.</div><div class="">EDMONTON, ALBERTA</div><div class="">T6G 2C8</div><div class=""><span style="-webkit-text-decorations-in-effect: none;" class="">CANADA</span></div><div class=""><br class=""></div><div class="">Phone: 780-628-2072</div><div class="">Skype: andrei.chichak</div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>