Exciting 4.12 link error

Joel Sherrill joel at rtems.org
Tue Mar 8 16:34:52 UTC 2016


On Tue, Mar 8, 2016 at 9:08 AM, Isaac Gutekunst <isaac.gutekunst at vecna.com>
wrote:

>
>
> On 03/07/2016 05:38 PM, Joel Sherrill wrote:
>
>>
>>
>> On Mon, Mar 7, 2016 at 3:10 PM, Isaac Gutekunst <
>> isaac.gutekunst at vecna.com <mailto:isaac.gutekunst at vecna.com>> wrote:
>>
>>
>>
>>     On 03/07/2016 03:54 PM, Joel Sherrill wrote:
>>
>>
>>
>>         On Mon, Mar 7, 2016 at 2:32 PM, Isaac Gutekunst <
>> isaac.gutekunst at vecna.com <mailto:isaac.gutekunst at vecna.com> <mailto:
>> isaac.gutekunst at vecna.com <mailto:isaac.gutekunst at vecna.com>>> wrote:
>>
>>              Hi All,
>>
>>              I've updated our BSP and added it to a local branch of
>> master. It now
>>              compiles fine, but linking fails with a variety of libstdc++
>> errors, as
>>              well as a taking up more space than we have available in
>> internal ROM,
>>              at least according to the error.
>>
>>
>>              Is there anything we should know about working off master at
>> the moment
>>              to make things work?
>>
>>
>>         It looks like it is missing the C library and RTEMS on the link.
>> Weird.
>>
>
> I can't seem to find the undefined symbols anywhere. Where are they
> supposed to live?
>
>>
>>
>>     I don't think so, as I don't know what those are :)
>>
>>     I'm using a Makefile that worked with 4.11.  Is there stuff that may
>> no longer work?
>>
>> No. It is just that we are encouraging the use of per-section arguments.
>> They can make
>> a difference in the size of linked executables -- especially C++
>> programs. When I first
>> experimented with these arguments we would sometimes see 40-50% even on
>> the
>> RTEMS tests. As we started to sweep these in recently, 10-20% seemed to
>> be the
>> win for C programs. Probably a reflection of other link-time dependencies
>> being
>> broken along the way.
>>
>> Add these to your .cfg file.
>>
>> CFLAGS_OPTIMIZE_V = -O2 -g
>> CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
>>
>> LDFLAGS = -Wl,--gc-sections
>>
>
> I've added these statements to our BSP and re-compiled. There image now
> fits. However, the
> linker errors are still present, although appear less numerous.
>
> Are the missing symbols, e.g.
> _Mutex_Acquire
> _Mutex_Release
> _Mutex_recursive_Acquire
> _Mutex_recursive_Release
>
> supposed to be implemented by RTEMS i.e. the 'backend' supporting the C++
> features?
>
>
These are in cpukit/score/src/mutex.c on the master but not 4.11 as I
recall.

Are you sure you are building against a compiled master? Maybe there is a
remnant
of another build left laying around.

By any chance, did you forget to install or install to a different prefix?



> I can't find them in any of the generated object files produced by the the
> RTEMS build. Is there something besides
> --enable-cxx I need to give configure to make RTEMS have these symbols?
>
>
I don't see any wrapper around the file at all in the Makefile.am. It
should be compiled
all the time.


> I searched in the build directory using this
>         find . -name "*.a" | xargs arm-rtems4.12-objdump -d -C  | grep
> _Mutex_Release
>
>
It turned up something for me.

joel at rtbf64c b-sis]$ find . -name librtemscpu.a
./sparc-rtems4.12/sis/lib/librtemscpu.a
./sparc-rtems4.12/c/sis/cpukit/wrapup/librtemscpu.a
[joel at rtbf64c b-sis]$ sparc-rtems4.12-objdump -d -C
./sparc-rtems4.12/sis/lib/librtemscpu.a | grep _Mutex_Release
Disassembly of section .text._Mutex_Release_critical:
00000000 <_Mutex_Release_critical>:
  1c: 12 80 00 06 bne  34 <_Mutex_Release_critical+0x34>
  ...................................
 130: 10 bf ff f9 b  114 <_Mutex_Release_critical+0x114>
Disassembly of section .text._Mutex_Release:
00000000 <_Mutex_Release>:



> I also searched in the RTEMS tree for the symbols and couldn't find them
> there either.
>
> Weird. They are there.

https://git.rtems.org/rtems/tree/cpukit/score/src/mutex.c


>
>> There is some guidance here:
>>
>> https://devel.rtems.org/wiki/GCI/Coding/AddPerSectionSupportToBSPs
>>
>> I think
>>
>>
>>     We also have a bunch of CPU specific flags that may not be getting to
>> the right place.
>>
>>     We have this in the makefile:
>>     CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 -march=armv7-m -mthumb
>>
>>     I know that ideally these should be in a bsp specific
>> make/bspname.conf file.
>>
>>
>> RTEMS itself and your application need to use the per function section
>> arguments.
>>
>> But nothing is wrong with what you have done unless you end up linking
>> incompatible object files.
>>
>
> 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.
> Here is an example of how our build system creates object files:
>
> I don't think the CPU_CFL:AGS are causing this. It would likely be a link
error for
incompatible objects.

I was concerned that you were missing the -B option. But I see you have it.


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
>
>
> 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
>
>
>>
>>     Otherwise, these seem like C++ errors.
>>
>> I am suspicious the linking gcc command has an issue for the link errors
>> plus you
>> obviously ran out of memory.
>>
>> Please post the actual GCC command invoked to link and we can see if
>> something
>> looks wrong with it.
>>
>
> 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++
>
> I'm not sure where the -O0 is coming from, since the BSP itself is
> definitely getting the -O2 flags from the cfg file.
>

When you have working code to check, -Os can be beneficial. Depending on
the application,
it may not result in much difference in speed anyway. Fewer instructions is
often just as
beneficial as other optimizations. This could get you another 10% in size.

>
>
>> This is the last message in a per function section discussion.
>>
>> https://lists.rtems.org/pipermail/devel/2015-June/011756.html
>>
>> Peter Dufault got a 44% reduction on his real world application. The
>> thread has a
>> lot of good information in it.
>>
>>     Here are some of the parts of our Makefile I think are important. In
>> reality, we also link
>>     some additional static libraries, but I don't *think* those are the
>> problem. We have
>>     recompiled the static libraries with the new CFLAGS.
>>
>>
>>     PGM=${ARCH}/nextgen.exe
>>
>>     # optional managers required
>>     MANAGERS=all
>>
>>     # C source names
>>     CSRCS = init.c          \
>>              heartbeat_led.c \
>>              rtems_shell.c   \
>>              web_server.c    \
>>              FilesystemImage.c
>>
>>
>>
>>     COBJS = $(CSRCS:%.c=${ARCH}/%.o)
>>
>>     PROJECT_ROOT=$(RTEMS_MAKEFILE_PATH)
>>
>>     CLEAN_ADDITIONS += stamp-fs-image
>>     CLEAN_ADDITIONS += FilesystemImage FilesystemImage.c FilesystemImage.h
>>
>>
>>     include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
>>     include $(RTEMS_CUSTOM)
>>     include $(PROJECT_ROOT)/make/leaf.cfg
>>
>>     BSP_PATH=$(RTEMS_MAKEFILE_PATH)/lib/include/bsp
>>
>>
>>
>>     OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
>>
>>     all:    ${ARCH} $(PGM)
>>
>>     $(PGM): $(OBJS)
>>          $(make-cxx-exe)
>>
>>
>>
>>
>>         Do you have per-section compile and link options turned on?
>>
>>         --joel
>>
>>              Thanks,
>>
>>              Isaac
>>
>>
>>              Link Error for reference:
>>
>>
>>              COLLECT_GCC=arm-rtems4.12-g++
>>
>>  COLLECT_LTO_WRAPPER=/home/igutek/rtems/compiler/4.12/libexec/gcc/arm-rtems4.12/6.0.0/lto-wrapper
>>              Target: arm-rtems4.12
>>              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
>>
>>  --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,
>>              i
>>
>>  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++
>>              Thread model: rtems
>>              gcc version 6.0.0 20160228 (RTEMS 4.12, RSB
>> b537e5536459e207fc8e56a1df3774c1700606d5, Newlib 2.3.0.20160226) (GCC)
>>
>>  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/
>>
>>  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/
>>              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/'
>>
>>  /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
>>
>>  -L/home/igutek/rtems/compiler/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/l
>>              i
>>              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
>>
>>  /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'
>>
>>  /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
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>              Makefile:83: recipe for target 'o-debug/nextgen.exe' failed
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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>&)':
>>
>>  /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'
>>              make[1]: Leaving directory
>> '/home/igutek/rtems/applications/nextgen'
>>
>>  /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()':
>>
>>  /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'
>>
>>  /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()':
>>
>>  /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'
>>              /home/igutek/rtems/lib-rtems/make/leaf.cfg:31: recipe for
>> target 'debug' failed
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /home/igutek/rtems/lib-rtems/arm-rtems4.12/stm32f7x/lib/librtemscpu.a(libshell_a-main_ls.o):
>> In function `display':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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':
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>
>>  /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'
>>              collect2: error: ld returned 1 exit status
>>              make[1]: *** [o-debug/nextgen.exe] Error 1
>>              make: *** [debug] Error 2
>>
>>              _______________________________________________
>>              users mailing list
>>         users at rtems.org <mailto:users at rtems.org> <mailto:users at rtems.org
>> <mailto:users at rtems.org>>
>>         http://lists.rtems.org/mailman/listinfo/users
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160308/c4ff2db1/attachment-0002.html>


More information about the users mailing list