<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 8, 2016 at 9:08 AM, Isaac Gutekunst <span dir="ltr"><<a href="mailto:isaac.gutekunst@vecna.com" target="_blank">isaac.gutekunst@vecna.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
On 03/07/2016 05:38 PM, Joel Sherrill wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
<br>
<br>
On Mon, Mar 7, 2016 at 3:10 PM, Isaac Gutekunst <<a href="mailto:isaac.gutekunst@vecna.com" target="_blank">isaac.gutekunst@vecna.com</a> <mailto:<a href="mailto:isaac.gutekunst@vecna.com" target="_blank">isaac.gutekunst@vecna.com</a>>> wrote:<br>
<br>
<br>
<br>
    On 03/07/2016 03:54 PM, Joel Sherrill wrote:<br>
<br>
<br>
<br></span><span class="">
        On Mon, Mar 7, 2016 at 2:32 PM, Isaac Gutekunst <<a href="mailto:isaac.gutekunst@vecna.com" target="_blank">isaac.gutekunst@vecna.com</a> <mailto:<a href="mailto:isaac.gutekunst@vecna.com" target="_blank">isaac.gutekunst@vecna.com</a>> <mailto:<a href="mailto:isaac.gutekunst@vecna.com" target="_blank">isaac.gutekunst@vecna.com</a> <mailto:<a href="mailto:isaac.gutekunst@vecna.com" target="_blank">isaac.gutekunst@vecna.com</a>>>> wrote:<br>
<br>
             Hi All,<br>
<br>
             I've updated our BSP and added it to a local branch of master. It now<br>
             compiles fine, but linking fails with a variety of libstdc++ errors, as<br>
             well as a taking up more space than we have available in internal ROM,<br>
             at least according to the error.<br>
<br>
<br>
             Is there anything we should know about working off master at the moment<br>
             to make things work?<br>
<br>
<br>
        It looks like it is missing the C library and RTEMS on the link. Weird.<br>
</span></blockquote>
<br>
I can't seem to find the undefined symbols anywhere. Where are they supposed to live?<span class=""><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
    I don't think so, as I don't know what those are :)<br>
<br>
    I'm using a Makefile that worked with 4.11.  Is there stuff that may no longer work?<br>
<br>
No. It is just that we are encouraging the use of per-section arguments. They can make<br>
a difference in the size of linked executables -- especially C++ programs. When I first<br>
experimented with these arguments we would sometimes see 40-50% even on the<br>
RTEMS tests. As we started to sweep these in recently, 10-20% seemed to be the<br>
win for C programs. Probably a reflection of other link-time dependencies being<br>
broken along the way.<br>
<br>
Add these to your .cfg file.<br>
<br>
CFLAGS_OPTIMIZE_V = -O2 -g<br>
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections<br>
<br>
LDFLAGS = -Wl,--gc-sections<br>
</blockquote>
<br></span>
I've added these statements to our BSP and re-compiled. There image now fits. However, the<br>
linker errors are still present, although appear less numerous.<br>
<br>
Are the missing symbols, e.g.<br>
_Mutex_Acquire<br>
_Mutex_Release<br>
_Mutex_recursive_Acquire<br>
_Mutex_recursive_Release<br>
<br>
supposed to be implemented by RTEMS i.e. the 'backend' supporting the C++ features?<br>
<br></blockquote><div><br></div><div>These are in cpukit/score/src/mutex.c on the master but not 4.11 as I recall.</div><div><br></div><div>Are you sure you are building against a compiled master? Maybe there is a remnant </div><div>of another build left laying around.</div><div><br></div><div><div>By any chance, did you forget to install or install to a different prefix?</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I can't find them in any of the generated object files produced by the the RTEMS build. Is there something besides<br>
--enable-cxx I need to give configure to make RTEMS have these symbols?<br>
<br></blockquote><div><br></div><div>I don't see any wrapper around the file at all in the Makefile.am. It should be compiled</div><div>all the time.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I searched in the build directory using this<br>
        find . -name "*.a" | xargs arm-rtems4.12-objdump -d -C  | grep _Mutex_Release<br>
<br></blockquote><div><br></div><div>It turned up something for me.</div><div><br></div><div><div>joel@rtbf64c b-sis]$ find . -name librtemscpu.a</div><div>./sparc-rtems4.12/sis/lib/librtemscpu.a</div><div>./sparc-rtems4.12/c/sis/cpukit/wrapup/librtemscpu.a</div><div>[joel@rtbf64c b-sis]$ sparc-rtems4.12-objdump -d -C ./sparc-rtems4.12/sis/lib/librtemscpu.a | grep _Mutex_Release</div><div>Disassembly of section .text._Mutex_Release_critical:</div><div>00000000 <_Mutex_Release_critical>:</div><div>  1c:<span class="" style="white-space:pre">     </span>12 80 00 06 <span class="" style="white-space:pre">      </span>bne  34 <_Mutex_Release_critical+0x34></div><div>  ...................................</div><div> 130:<span class="" style="white-space:pre">   </span>10 bf ff f9 <span class="" style="white-space:pre">      </span>b  114 <_Mutex_Release_critical+0x114></div><div>Disassembly of section .text._Mutex_Release:</div><div>00000000 <_Mutex_Release>:</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I also searched in the RTEMS tree for the symbols and couldn't find them there either.<span class=""><br>
<br></span></blockquote><div>Weird. They are there. </div><div><br></div><div><a href="https://git.rtems.org/rtems/tree/cpukit/score/src/mutex.c">https://git.rtems.org/rtems/tree/cpukit/score/src/mutex.c</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
There is some guidance here:<br>
<br>
<a href="https://devel.rtems.org/wiki/GCI/Coding/AddPerSectionSupportToBSPs" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/GCI/Coding/AddPerSectionSupportToBSPs</a><br>
<br>
I think<br>
<br>
<br>
    We also have a bunch of CPU specific flags that may not be getting to the right place.<br>
<br>
    We have this in the makefile:<br>
    CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 -march=armv7-m -mthumb<br>
<br>
    I know that ideally these should be in a bsp specific make/bspname.conf file.<br>
<br>
<br>
RTEMS itself and your application need to use the per function section arguments.<br>
<br>
But nothing is wrong with what you have done unless you end up linking<br>
incompatible object files.<br>
</blockquote>
<br></span>
This is possible. We are using a custom build system to make some static libraries. We haven't had a problem before, since it recompiles everything using the RTEMS CFLAGS. Maybe there are some sweet linker flags we should be passing to it.<br>
Here is an example of how our build system creates object files:<br>
<br></blockquote><div>I don't think the CPU_CFL:AGS are causing this. It would likely be a link error for </div><div>incompatible objects. </div><div><br></div><div>I was concerned that you were missing the -B option. But I see you have it. </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
arm-rtems4.12-g++ -c -o /home/igutek/rtems/applications/nextgen/clyde-rtems-demo/build/ipc_node.o /home/igutek/rtems/applications/nextgen/clyde-rtems-demo/src/ipc_node.cpp --pipe -B/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/ -specs bsp_specs -qrtems -Wall -O2 -g -ffunction-sections -fdata-sections -I. -I/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/include/bsp -DPLATFORM_RTEMS -DSTM32F7_DISCOVERY -mfloat-abi=hard -mfpu=fpv4-sp-d16 -march=armv7-m -mthumb -I./clyde-rtems-demo/include -I./clyde-rtems-demo/dependencies/include --std=c++14 -DSTM32F7_DISCOVERY -I/home/igutek/rtems/applications/nextgen/clyde-rtems-demo/include -I/home/igutek/rtems/applications/nextgen/clyde-rtems-demo/private_include -I/home/igutek/rtems/applications/nextgen/clyde-rtems-demo/dependencies/include<br>
<br>
<br>
arm-rtems4.12-ld -r -o /home/igutek/rtems/applications/nextgen/clyde-rtems-demo/output/lib/clyde-rtems-demo/libclyde-rtems-demo-0.0.0.a /home/igutek/rtems/applications/nextgen/clyde-rtems-demo/build/motor_simulator.o /home/igutek/rtems/applications/nextgen/clyde-rtems-demo/build/ipc_node.o /home/igutek/rtems/applications/nextgen/clyde-rtems-demo/dependencies/lib/message-passing/libmessage-passing-0.0.1.a<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
    Otherwise, these seem like C++ errors.<br>
<br>
I am suspicious the linking gcc command has an issue for the link errors plus you<br>
obviously ran out of memory.<br>
<br>
Please post the actual GCC command invoked to link and we can see if something<br>
looks wrong with it.<br>
</blockquote>
<br></span>
arm-rtems4.12-g++ -B/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/ -specs bsp_specs -qrtems   -Wall   -O0 -g   -march=armv7-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16      -Wl,--gc-sections   -march=armv7-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16   -o o-debug/nextgen.exe  o-debug/init.o o-debug/heartbeat_led.o o-debug/rtems_shell.o o-debug/web_server.o o-debug/FilesystemImage.o    -lm     -L /home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lwip/lib -L /home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/stm32f_lwip/lib  -v -Wl,-Map=o-debug/next_gen.map -L./clyde-rtems-demo/output/lib/clyde-rtems-demo/ -lclyde-rtems-demo-0.0.0 -lstdc++<br>
<br>
I'm not sure where the -O0 is coming from, since the BSP itself is definitely getting the -O2 flags from the cfg file.<br></blockquote><div><br></div><div>When you have working code to check, -Os can be beneficial. Depending on the application,</div><div>it may not result in much difference in speed anyway. Fewer instructions is often just as</div><div>beneficial as other optimizations. This could get you another 10% in size. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
<br>
This is the last message in a per function section discussion.<br>
<br>
<a href="https://lists.rtems.org/pipermail/devel/2015-June/011756.html" rel="noreferrer" target="_blank">https://lists.rtems.org/pipermail/devel/2015-June/011756.html</a><br>
<br>
Peter Dufault got a 44% reduction on his real world application. The thread has a<br>
lot of good information in it.<br>
<br>
    Here are some of the parts of our Makefile I think are important. In reality, we also link<br>
    some additional static libraries, but I don't *think* those are the problem. We have<br>
    recompiled the static libraries with the new CFLAGS.<br>
<br>
<br>
    PGM=${ARCH}/nextgen.exe<br>
<br>
    # optional managers required<br>
    MANAGERS=all<br>
<br>
    # C source names<br>
    CSRCS = init.c          \<br>
             heartbeat_led.c \<br>
             rtems_shell.c   \<br>
             web_server.c    \<br>
             FilesystemImage.c<br>
<br>
<br>
<br>
    COBJS = $(CSRCS:%.c=${ARCH}/%.o)<br>
<br>
    PROJECT_ROOT=$(RTEMS_MAKEFILE_PATH)<br>
<br>
    CLEAN_ADDITIONS += stamp-fs-image<br>
    CLEAN_ADDITIONS += FilesystemImage FilesystemImage.c FilesystemImage.h<br>
<br>
<br>
    include $(RTEMS_MAKEFILE_PATH)/Makefile.inc<br>
    include $(RTEMS_CUSTOM)<br>
    include $(PROJECT_ROOT)/make/leaf.cfg<br>
<br>
    BSP_PATH=$(RTEMS_MAKEFILE_PATH)/lib/include/bsp<br>
<br>
<br>
<br>
    OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)<br>
<br>
    all:    ${ARCH} $(PGM)<br>
<br>
    $(PGM): $(OBJS)<br>
         $(make-cxx-exe)<br>
<br>
<br>
<br>
<br>
        Do you have per-section compile and link options turned on?<br>
<br>
        --joel<br>
<br>
             Thanks,<br>
<br>
             Isaac<br>
<br>
<br>
             Link Error for reference:<br>
<br>
<br>
             COLLECT_GCC=arm-rtems4.12-g++<br>
             COLLECT_LTO_WRAPPER=/home/igutek/rtems/compiler/4.12/libexec/gcc/arm-rtems4.12/6.0.0/lto-wrapper<br>
             Target: arm-rtems4.12<br>
             Configured with: ../gcc-6-20160228/configure --prefix=/home/igutek/rtems/compiler/4.12 --bindir=/home/igutek/rtems/compiler/4.12/bin --exec_prefix=/home/igutek/rtems/compiler/4.12 --includedir=/home/igutek/rtems/compiler/4.12/include --libdir=/home/igutek/rtems/compiler/4.12/lib --libexecdir=/home/igutek/rtems/compiler/4.12/libexec --mandir=/home/igutek/rtems/compiler/4.12/share/man --infodir=/home/igutek/rtems/compiler/4.12/share/info --datadir=/home/igutek/rtems/compiler/4.12/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-rtems4.12 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --with-system-zlib --disable-nls --without-included-gettext --disable-win32-registry --enable-version-specific-runtime-libs --disable-lto --enable-newlib-io-c99-formats --enable-newlib-iconv<br>
             --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,<br>
             i<br>
             so_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 --enable-threads --disable-plugin --enable-libgomp --enable-languages=c,c++<br>
             Thread model: rtems<br>
             gcc version 6.0.0 20160228 (RTEMS 4.12, RSB b537e5536459e207fc8e56a1df3774c1700606d5, Newlib 2.3.0.20160226) (GCC)<br>
             COMPILER_PATH=/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/:/home/igutek/rtems/compiler/4.12/libexec/gcc/arm-rtems4.12/6.0.0/:/home/igutek/rtems/compiler/4.12/libexec/gcc/arm-rtems4.12/6.0.0/:/home/igutek/rtems/compiler/4.12/libexec/gcc/arm-rtems4.12/:/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/:/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/:/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/bin/<br>
             LIBRARY_PATH=/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/:/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/:/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/:/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/:/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/<br>
             COLLECT_GCC_OPTIONS='-B' '/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/' '-specs=bsp_specs' '-qrtems' '-Wall' '-O0' '-g' '-march=armv7-m' '-mthumb' '-mfloat-abi=hard' '-mfpu=fpv4-sp-d16' '-march=armv7-m' '-mthumb' '-mfloat-abi=hard' '-mfpu=fpv4-sp-d16' '-o' 'o-debug/nextgen.exe' '-L/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lwip/lib' '-L/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/stm32f_lwip/lib' '-v' '-L./clyde-rtems-demo/output/lib/clyde-rtems-demo/'<br>
               /home/igutek/rtems/compiler/4.12/libexec/gcc/arm-rtems4.12/6.0.0/collect2 -dc -dp -N -o o-debug/nextgen.exe /home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/start.o /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/crti.o /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/crtbegin.o -e _start -L/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lwip/lib -L/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/stm32f_lwip/lib -L./clyde-rtems-demo/output/lib/clyde-rtems-demo/ -L/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard -L/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard -L/home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib -L/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0<br>
             -L/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/l<br>
             i<br>
             b o-debug/init.o o-debug/heartbeat_led.o o-debug/rtems_shell.o o-debug/web_server.o o-debug/FilesystemImage.o -Map=o-debug/next_gen.map -lclyde-rtems-demo-0.0.0 -lstdc++ -lm --start-group -lgcc --start-group -lrtemsbsp -lrtemscpu -lz -lm -lc -lgcc --end-group -T /home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/linkcmds --end-group /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/crtend.o /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/crtn.o<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/bin/ld: o-debug/nextgen.exe section `.ARM.extab' will not fit in region `ROM_INT'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/bin/ld: region `ROM_INT' overflowed by 48838 bytes<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(locale_init.o): In function `__gthread_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:135: undefined reference to `_Mutex_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(locale_init.o): In function `__gthread_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(locale_init.o): In function `__gthread_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:135: undefined reference to `_Mutex_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(locale_init.o): In function `__gthread_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(atomicity.o): In function `__gthread_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:135: undefined reference to `_Mutex_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(atomicity.o): In function `__gthread_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(future.o): In function `__gthread_mutex_lock':<br>
             Makefile:83: recipe for target 'o-debug/nextgen.exe' failed<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:135: undefined reference to `_Mutex_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(future.o): In function `__gthread_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(condition_variable.o): In function `__gthread_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(condition_variable.o): In function `__gthread_cond_broadcast':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:203: undefined reference to `_Condition_Broadcast'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(condition_variable.o): In function `std::condition_variable::wait(std::unique_lock<std::mutex>&)':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:217: undefined reference to `_Condition_Wait'<br>
             make[1]: Leaving directory '/home/igutek/rtems/applications/nextgen'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(condition_variable.o): In function `std::condition_variable::notify_one()':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:210: undefined reference to `_Condition_Signal'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(condition_variable.o): In function `std::condition_variable::notify_all()':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:203: undefined reference to `_Condition_Broadcast'<br>
             /home/igutek/rtems/lib-rtems/make/leaf.cfg:31: recipe for target 'debug' failed<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_recursive_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:169: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_cond_wait_recursive':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:232: undefined reference to `_Condition_Wait_recursive'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_recursive_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:189: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:189: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_recursive_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:169: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_cond_broadcast':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:203: undefined reference to `_Condition_Broadcast'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_recursive_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:189: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:189: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_recursive_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:169: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_cond_broadcast':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:203: undefined reference to `_Condition_Broadcast'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(guard.o): In function `__gthread_recursive_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:189: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:189: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(eh_alloc.o): In function `__gthread_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:135: undefined reference to `_Mutex_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(eh_alloc.o): In function `__gthread_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(eh_alloc.o): In function `__gthread_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:135: undefined reference to `_Mutex_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(eh_alloc.o): In function `__gthread_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(locale.o): In function `__gthread_mutex_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:135: undefined reference to `_Mutex_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++.a(locale.o): In function `__gthread_mutex_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/libstdc++-v3/include/arm-rtems4.12/bits/gthr-default.h:155: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/librtemscpu.a(libshell_a-main_ls.o): In function `display':<br>
             /home/igutek/rtems/sources/b-rtems-4.12/arm-rtems4.12/c/stm32f7x/cpukit/libmisc/../../../../../../rtems/c/src/../../cpukit/libmisc/shell/main_ls.c:663: undefined reference to `howmany'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fclose.o): In function `_fclose_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fclose.c:117: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fclose.c:86: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fclose.c:91: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fdopen.o): In function `_fdopen_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fdopen.c:130: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fdopen.c:96: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fflush.o): In function `_fflush_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fflush.c:282: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fflush.c:280: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fgetc.o): In function `_fgetc_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fgetc.c:117: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fgetc.c:115: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fgetc.o): In function `fgetc':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fgetc.c:134: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fgetc.c:132: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fgets.o): In function `_fgets_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fgets.c:142: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fgets.c:203: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fileno.o): In function `fileno':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fileno.c:81: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fileno.c:89: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__fp_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:297: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__fp_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:308: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sinit_lock_acquire':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:282: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sfp_lock_acquire':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:270: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sfp_lock_release':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:276: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:276: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sfp_lock_acquire':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:270: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sinit_lock_release':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:288: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:288: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sfp_lock_acquire':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:270: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sfp_lock_release':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:276: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sinit_lock_acquire':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:282: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sinit_lock_release':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:288: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-findfp.o): In function `__sfp_lock_release':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/findfp.c:276: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fopen.o): In function `_fopen_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fopen.c:152: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fopen.c:170: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fputc.o): In function `_fputc_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fputc.c:123: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fputc.c:121: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fputc.o): In function `fputc':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fputc.c:140: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fputc.c:138: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fputs.o): In function `_fputs_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fputs.c:133: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fputs.c:130: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fread.o): In function `_fread_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fread.c:289: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fread.c:272: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fread.c:194: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-freopen.o): In function `_freopen_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/freopen.c:249: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/freopen.c:111: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/freopen.c:116: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/freopen.c:224: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fseeko.o): In function `_fseeko_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fseeko.c:157: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fseeko.c:318: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fseeko.c:141: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-ftello.o): In function `_ftello_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/ftello.c:159: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/ftello.c:112: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/ftello.c:117: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fwrite.o): In function `_fwrite_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fwrite.c:175: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fwrite.c:168: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fwrite.c:172: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-getc.o): In function `_getc_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/getc.c:97: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/getc.c:95: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-getc.o): In function `getc':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/getc.c:113: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/getc.c:111: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-putc.o): In function `_putc_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/putc.c:102: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/putc.c:100: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-putc.o): In function `putc':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/putc.c:119: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/putc.c:117: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-puts.o): In function `_puts_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/puts.c:102: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/puts.c:99: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-setvbuf.o): In function `setvbuf':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/setvbuf.c:197: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/setvbuf.c:110: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/setvbuf.c:119: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-tzlock.o): In function `__tz_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/time/../../../../../../../../../gcc-6-20160228/newlib/libc/time/tzlock.c:46: undefined reference to `_Mutex_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-tzlock.o): In function `__tz_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/time/../../../../../../../../../gcc-6-20160228/newlib/libc/time/tzlock.c:54: undefined reference to `_Mutex_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-ungetc.o): In function `_ungetc_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/ungetc.c:205: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/ungetc.c:143: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/ungetc.c:128: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-ungetwc.o): In function `_ungetwc_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/ungetwc.c:101: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/ungetwc.c:85: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-vfprintf.o): In function `_vfprintf_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/vfprintf.c:874: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/vfprintf.c:860: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/vfprintf.c:1789: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/vfprintf.c:866: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-__atexit.o): In function `__register_exitproc':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdlib/../../../../../../../../../gcc-6-20160228/newlib/libc/stdlib/__atexit.c:77: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdlib/../../../../../../../../../gcc-6-20160228/newlib/libc/stdlib/__atexit.c:166: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdlib/../../../../../../../../../gcc-6-20160228/newlib/libc/stdlib/__atexit.c:103: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-__call_atexit.o): In function `__call_exitprocs':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdlib/../../../../../../../../../gcc-6-20160228/newlib/libc/stdlib/__call_atexit.c:78: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdlib/../../../../../../../../../gcc-6-20160228/newlib/libc/stdlib/__call_atexit.c:160: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-envlock.o): In function `__env_lock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdlib/../../../../../../../../../gcc-6-20160228/newlib/libc/stdlib/envlock.c:50: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-envlock.o): In function `__env_unlock':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdlib/../../../../../../../../../gcc-6-20160228/newlib/libc/stdlib/envlock.c:59: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fgetwc.o): In function `_fgetwc_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fgetwc.c:231: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fgetwc.c:228: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-fputwc.o): In function `_fputwc_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fputwc.c:231: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/fputwc.c:228: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/lib/thumb/armv7-m/fpv4-sp-d16/hard/libc.a(lib_a-vfiprintf.o): In function `_vfiprintf_r':<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/vfprintf.c:874: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/vfprintf.c:860: undefined reference to `_Mutex_recursive_Acquire'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/vfprintf.c:1789: undefined reference to `_Mutex_recursive_Release'<br>
             /home/igutek/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/armv7-m/fpv4-sp-d16/hard/newlib/libc/stdio/../../../../../../../../../gcc-6-20160228/newlib/libc/stdio/vfprintf.c:866: undefined reference to `_Mutex_recursive_Release'<br>
             collect2: error: ld returned 1 exit status<br>
             make[1]: *** [o-debug/nextgen.exe] Error 1<br>
             make: *** [debug] Error 2<br>
<br>
             _______________________________________________<br>
             users mailing list<br></div></div>
        <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a> <mailto:<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a>> <mailto:<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a> <mailto:<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a>>><br>
        <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
<br>
<br>
<br>
</blockquote>
</blockquote></div><br></div></div>