Exciting 4.12 link error

Joel Sherrill joel at rtems.org
Mon Mar 7 22:38:46 UTC 2016


On Mon, Mar 7, 2016 at 3:10 PM, Isaac Gutekunst <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>> 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 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

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.

>
> 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.

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>
>>     http://lists.rtems.org/mailman/listinfo/users
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160307/bedd523a/attachment-0002.html>


More information about the users mailing list