Skip to content

Instantly share code, notes, and snippets.

@turbinenreiter
Created March 2, 2018 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save turbinenreiter/50a1c822fb8bfc96f32c5d146c0bdcc2 to your computer and use it in GitHub Desktop.
Save turbinenreiter/50a1c822fb8bfc96f32c5d146c0bdcc2 to your computer and use it in GitHub Desktop.
+ BOARD=stm32f4_disco
+ export ZEPHYR_BASE=/home/plam/Projects/zephyr
+ ZEPHYR_BASE=/home/plam/Projects/zephyr
+ '[' /home/plam/Projects/zephyr == PLEASE_SET_ZEPHYR_BASE ']'
+++ dirname build.sh
++ cd .
++ pwd
+ DIR=/home/plam/Projects/kotlin-native/samples/zephyr
+ source /home/plam/Projects/kotlin-native/samples/zephyr/../konan.sh
++ '[' -z '' ']'
++ PATH=/home/plam/Projects/kotlin-native/samples/zephyr/../../dist/bin:/home/plam/Projects/kotlin-native/samples/zephyr/../../bin:/home/plam/.cargo/bin:/home/plam/.cargo/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/home/plam/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/plam/.cabal/bin:/var/lib/snapd/snap/bin:/home/plam/Projects/Nim/bin:/home/plam/Projects/Nim/:/home/plam/Projects/esp-idf/build/xtensa-esp32-elf/bin:/home/plam/Projects/flutter/bin:/home/plam/kotlin-native-linux-0.6/bin:/home/plam/.local/bin:/home/plam/bin:/home/plam/Projects/Nim/bin:/home/plam/Projects/Nim/:/home/plam/Projects/esp-idf/build/xtensa-esp32-elf/bin:/home/plam/Projects/flutter/bin:/home/plam/kotlin-native-linux-0.6/bin:/home/plam/.local/bin:/home/plam/bin
++ KONAN_USER_DIR=/home/plam/.konan
++ KONAN_DEPS=/home/plam/.konan/dependencies
+ '[' x == x ']'
+ case "$OSTYPE" in
+ TOOLCHAIN=gcc-arm-none-eabi-7-2017-q4-major-linux
+ GCC_ARM=/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux
+ rm -rf /home/plam/Projects/kotlin-native/samples/zephyr/build
+ mkdir -p /home/plam/Projects/kotlin-native/samples/zephyr/build
+ cd /home/plam/Projects/kotlin-native/samples/zephyr/build
+ export ZEPHYR_GCC_VARIANT=gccarmemb
+ ZEPHYR_GCC_VARIANT=gccarmemb
+ export GCCARMEMB_TOOLCHAIN_PATH=/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux
+ GCCARMEMB_TOOLCHAIN_PATH=/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux
+ '[' -f CMakeCache.txt ']'
+ cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DBOARD=stm32f4_disco ..
CMake Deprecation Warning at /home/plam/Projects/zephyr/cmake/app/boilerplate.cmake:38 (cmake_policy):
The OLD behavior for policy CMP0000 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:1 (include)
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.4", minimum required is "3.4")
-- Selected BOARD stm32f4_disco
Zephyr version: 1.10.99
Parsing Kconfig tree in /home/plam/Projects/zephyr/Kconfig
Using /home/plam/Projects/zephyr/boards/arm/stm32f4_disco/stm32f4_disco_defconfig as base
Merging /home/plam/Projects/kotlin-native/samples/zephyr/prj.conf
CMake Warning at /home/plam/Projects/zephyr/cmake/toolchain.cmake:13 (message):
ZEPHYR_GCC_VARIANT is deprecated, please use ZEPHYR_TOOLCHAIN_VARIANT
instead
Call Stack (most recent call first):
/home/plam/Projects/zephyr/cmake/app/boilerplate.cmake:242 (include)
CMakeLists.txt:1 (include)
-- Generating zephyr/include/generated/generated_dts_board.h
-- The C compiler identification is GNU 7.2.1
-- The CXX compiler identification is GNU 7.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc
-- Performing Test toolchain_is_ok
-- Performing Test toolchain_is_ok - Success
-- Performing Test check_nostartfiles
-- Performing Test check_nostartfiles - Success
-- Performing Test check_nodefaultlibs
-- Performing Test check_nodefaultlibs - Success
-- Performing Test check_nostdlib
-- Performing Test check_nostdlib - Success
-- Performing Test check_static
-- Performing Test check_static - Success
-- Performing Test check_no_pie
-- Performing Test check_no_pie - Success
-- Performing Test check_fno_asynchronous_unwind_tables_C
-- Performing Test check_fno_asynchronous_unwind_tables_C - Success
-- Performing Test check_fno_pie_C
-- Performing Test check_fno_pie_C - Success
-- Performing Test check_fno_pic_C
-- Performing Test check_fno_pic_C - Success
-- Performing Test check_fno_strict_overflow_C
-- Performing Test check_fno_strict_overflow_C - Success
-- Performing Test check_Wno_pointer_sign_C
-- Performing Test check_Wno_pointer_sign_C - Success
-- Performing Test check_Wno_unused_but_set_variable_C
-- Performing Test check_Wno_unused_but_set_variable_C - Success
-- Performing Test check_fno_reorder_functions_C
-- Performing Test check_fno_reorder_functions_C - Success
-- Performing Test check_fno_defer_pop_C
-- Performing Test check_fno_defer_pop_C - Success
-- Performing Test check_Werror_implicit_int_C
-- Performing Test check_Werror_implicit_int_C - Success
-- Performing Test check_Wl__X
-- Performing Test check_Wl__X - Success
-- Performing Test check_Wl__N
-- Performing Test check_Wl__N - Success
-- Performing Test check_Wl___gc_sections
-- Performing Test check_Wl___gc_sections - Success
-- Performing Test check_Wl___build_id_none
-- Performing Test check_Wl___build_id_none - Success
-- Performing Test check_ffunction_sections_C
-- Performing Test check_ffunction_sections_C - Success
-- Performing Test check_fdata_sections_C
-- Performing Test check_fdata_sections_C - Success
-- Performing Test check_Wl___print_memory_usage
-- Performing Test check_Wl___print_memory_usage - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/plam/Projects/kotlin-native/samples/zephyr/build
+ make zephyr
/usr/bin/cmake -H/home/plam/Projects/kotlin-native/samples/zephyr -B/home/plam/Projects/kotlin-native/samples/zephyr/build --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 zephyr
make[1]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
/usr/bin/cmake -H/home/plam/Projects/kotlin-native/samples/zephyr -B/home/plam/Projects/kotlin-native/samples/zephyr/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/plam/Projects/kotlin-native/samples/zephyr/build/CMakeFiles 52
make -f CMakeFiles/Makefile2 zephyr/CMakeFiles/zephyr.dir/all
make[2]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
make -f zephyr/CMakeFiles/syscall_list_h_target.dir/build.make zephyr/CMakeFiles/syscall_list_h_target.dir/depend
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
cd /home/plam/Projects/kotlin-native/samples/zephyr/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/plam/Projects/kotlin-native/samples/zephyr /home/plam/Projects/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/CMakeFiles/syscall_list_h_target.dir/DependInfo.cmake --color=
Scanning dependencies of target syscall_list_h_target
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
make -f zephyr/CMakeFiles/syscall_list_h_target.dir/build.make zephyr/CMakeFiles/syscall_list_h_target.dir/build
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 1%] Generating always_rebuild
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && cmake -E echo Building for board stm32f4_disco
Building for board stm32f4_disco
[ 3%] Generating misc/generated/syscalls.json
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && /usr/bin/python3 /home/plam/Projects/zephyr/scripts/parse_syscalls.py --include /home/plam/Projects/zephyr/include --json-file /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/misc/generated/syscalls.json
[ 5%] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && /usr/bin/python3 /home/plam/Projects/zephyr/scripts/gen_syscalls.py --json-file /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/misc/generated/syscalls.json --base-output include/generated/syscalls --syscall-dispatch include/generated/syscall_dispatch.c > /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/syscall_list.h
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 5%] Built target syscall_list_h_target
make -f zephyr/CMakeFiles/syscall_macros_h_target.dir/build.make zephyr/CMakeFiles/syscall_macros_h_target.dir/depend
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
cd /home/plam/Projects/kotlin-native/samples/zephyr/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/plam/Projects/kotlin-native/samples/zephyr /home/plam/Projects/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/CMakeFiles/syscall_macros_h_target.dir/DependInfo.cmake --color=
Scanning dependencies of target syscall_macros_h_target
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
make -f zephyr/CMakeFiles/syscall_macros_h_target.dir/build.make zephyr/CMakeFiles/syscall_macros_h_target.dir/build
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 7%] Generating include/generated/syscall_macros.h
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && /usr/bin/python3 /home/plam/Projects/zephyr/scripts/gen_syscall_header.py > /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/syscall_macros.h
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 7%] Built target syscall_macros_h_target
make -f zephyr/CMakeFiles/offsets.dir/build.make zephyr/CMakeFiles/offsets.dir/depend
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
cd /home/plam/Projects/kotlin-native/samples/zephyr/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/plam/Projects/kotlin-native/samples/zephyr /home/plam/Projects/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/CMakeFiles/offsets.dir/DependInfo.cmake --color=
Scanning dependencies of target offsets
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
make -f zephyr/CMakeFiles/offsets.dir/build.make zephyr/CMakeFiles/offsets.dir/build
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 9%] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/offsets/offsets.c
[ 11%] Linking C static library liboffsets.a
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && /usr/bin/cmake -P CMakeFiles/offsets.dir/cmake_clean_target.cmake
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && /usr/bin/cmake -E cmake_link_script CMakeFiles/offsets.dir/link.txt --verbose=1
ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-ar qc liboffsets.a CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-ranlib liboffsets.a
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 11%] Built target offsets
make -f zephyr/CMakeFiles/offsets_h.dir/build.make zephyr/CMakeFiles/offsets_h.dir/depend
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
cd /home/plam/Projects/kotlin-native/samples/zephyr/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/plam/Projects/kotlin-native/samples/zephyr /home/plam/Projects/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/CMakeFiles/offsets_h.dir/DependInfo.cmake --color=
Scanning dependencies of target offsets_h
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
make -f zephyr/CMakeFiles/offsets_h.dir/build.make zephyr/CMakeFiles/offsets_h.dir/build
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 13%] Generating include/generated/offsets.h
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && /usr/bin/python3 /home/plam/Projects/zephyr/scripts/gen_offset_header.py -i /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -o /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/offsets.h
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 13%] Built target offsets_h
make -f zephyr/CMakeFiles/zephyr.dir/build.make zephyr/CMakeFiles/zephyr.dir/depend
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
cd /home/plam/Projects/kotlin-native/samples/zephyr/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/plam/Projects/kotlin-native/samples/zephyr /home/plam/Projects/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/CMakeFiles/zephyr.dir/DependInfo.cmake --color=
Scanning dependencies of target zephyr
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
make -f zephyr/CMakeFiles/zephyr.dir/build.make zephyr/CMakeFiles/zephyr.dir/build
make[3]: Entering directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[ 15%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/common/isr_tables.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/common/isr_tables.c.obj -c /home/plam/Projects/zephyr/arch/common/isr_tables.c
[ 17%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/stm32f4/soc.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/stm32f4/soc.c.obj -c /home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/soc.c
[ 19%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/stm32f4/soc_gpio.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/stm32f4/soc_gpio.c.obj -c /home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/soc_gpio.c
[ 21%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/common/arm_mpu_regions.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/common/arm_mpu_regions.c.obj -c /home/plam/Projects/zephyr/arch/arm/soc/st_stm32/common/arm_mpu_regions.c
[ 23%] Building ASM object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/exc_exit.S.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -xassembler-with-cpp -D_ASMLANGUAGE -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/exc_exit.S.obj -c /home/plam/Projects/zephyr/arch/arm/core/exc_exit.S
[ 25%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/irq_init.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/irq_init.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/irq_init.c
[ 26%] Building ASM object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/swap.S.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -xassembler-with-cpp -D_ASMLANGUAGE -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/swap.S.obj -c /home/plam/Projects/zephyr/arch/arm/core/swap.S
[ 28%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/fault.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/fault.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/fault.c
[ 30%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/irq_manage.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/irq_manage.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/irq_manage.c
[ 32%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/thread.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/thread.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/thread.c
[ 34%] Building ASM object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cpu_idle.S.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -xassembler-with-cpp -D_ASMLANGUAGE -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cpu_idle.S.obj -c /home/plam/Projects/zephyr/arch/arm/core/cpu_idle.S
[ 36%] Building ASM object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/fault_s.S.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -xassembler-with-cpp -D_ASMLANGUAGE -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/fault_s.S.obj -c /home/plam/Projects/zephyr/arch/arm/core/fault_s.S
[ 38%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/fatal.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/fatal.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/fatal.c
[ 40%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/sys_fatal_error_handler.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/sys_fatal_error_handler.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/sys_fatal_error_handler.c
[ 42%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/thread_abort.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/thread_abort.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/thread_abort.c
[ 44%] Building ASM object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/isr_wrapper.S.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -xassembler-with-cpp -D_ASMLANGUAGE -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/isr_wrapper.S.obj -c /home/plam/Projects/zephyr/arch/arm/core/isr_wrapper.S
[ 46%] Building ASM object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/vector_table.S.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -xassembler-with-cpp -D_ASMLANGUAGE -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/vector_table.S.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/vector_table.S
[ 48%] Building ASM object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/reset.S.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -xassembler-with-cpp -D_ASMLANGUAGE -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/reset.S.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/reset.S
[ 50%] Building ASM object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/nmi_on_reset.S.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -xassembler-with-cpp -D_ASMLANGUAGE -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/nmi_on_reset.S.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/nmi_on_reset.S
[ 51%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/prep_c.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/prep_c.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/prep_c.c
[ 53%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/scb.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/scb.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/scb.c
[ 55%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/nmi.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/nmi.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/nmi.c
[ 57%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/exc_manage.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/exc_manage.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/exc_manage.c
[ 59%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/mpu/arm_core_mpu.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/mpu/arm_core_mpu.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c
[ 61%] Building C object zephyr/CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/mpu/arm_mpu.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/mpu/arm_mpu.c.obj -c /home/plam/Projects/zephyr/arch/arm/core/cortex_m/mpu/arm_mpu.c
[ 63%] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc16_sw.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/lib/crc/crc16_sw.c.obj -c /home/plam/Projects/zephyr/lib/crc/crc16_sw.c
[ 65%] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc8_sw.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/lib/crc/crc8_sw.c.obj -c /home/plam/Projects/zephyr/lib/crc/crc8_sw.c
[ 67%] Building C object zephyr/CMakeFiles/zephyr.dir/misc/printk.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/misc/printk.c.obj -c /home/plam/Projects/zephyr/misc/printk.c
[ 69%] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/misc/generated/configs.c.obj -c /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/misc/generated/configs.c
[ 71%] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/soc/system_stm32f4xx.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/soc/system_stm32f4xx.c.obj -c /home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc/system_stm32f4xx.c
[ 73%] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal.c.obj -c /home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal.c
[ 75%] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_rcc.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_rcc.c.obj -c /home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_rcc.c
[ 76%] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_tim.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_tim.c.obj -c /home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_tim.c
[ 78%] Building C object zephyr/CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_ll_utils.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_ll_utils.c.obj -c /home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_ll_utils.c
[ 80%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj -c /home/plam/Projects/zephyr/drivers/console/uart_console.c
[ 82%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/interrupt_controller/exti_stm32.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/interrupt_controller/exti_stm32.c.obj -c /home/plam/Projects/zephyr/drivers/interrupt_controller/exti_stm32.c
[ 84%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/stm32_ll_clock.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/clock_control/stm32_ll_clock.c.obj -c /home/plam/Projects/zephyr/drivers/clock_control/stm32_ll_clock.c
[ 86%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/stm32f4x_ll_clock.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/clock_control/stm32f4x_ll_clock.c.obj -c /home/plam/Projects/zephyr/drivers/clock_control/stm32f4x_ll_clock.c
[ 88%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/gpio/gpio_stm32.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/gpio/gpio_stm32.c.obj -c /home/plam/Projects/zephyr/drivers/gpio/gpio_stm32.c
[ 90%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/pinmux/stm32/pinmux_stm32.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/pinmux/stm32/pinmux_stm32.c.obj -c /home/plam/Projects/zephyr/drivers/pinmux/stm32/pinmux_stm32.c
[ 92%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/pwm/pwm_stm32.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/pwm/pwm_stm32.c.obj -c /home/plam/Projects/zephyr/drivers/pwm/pwm_stm32.c
[ 94%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/serial/uart_stm32.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/serial/uart_stm32.c.obj -c /home/plam/Projects/zephyr/drivers/serial/uart_stm32.c
[ 96%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj -c /home/plam/Projects/zephyr/drivers/timer/sys_clock_init.c
[ 98%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/cortex_m_systick.c.obj
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-gcc -DKERNEL -DSTM32F407xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I/home/plam/Projects/zephyr/kernel/include -I/home/plam/Projects/zephyr/arch/arm/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -I/home/plam/Projects/zephyr/include -I/home/plam/Projects/zephyr/include/drivers -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include -isystem /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed -I/home/plam/Projects/zephyr/drivers -I/home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/arm-none-eabi/include -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -std=c99 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -ffunction-sections -fdata-sections -mabi=aapcs -mthumb -mcpu=cortex-m4 -o CMakeFiles/zephyr.dir/drivers/timer/cortex_m_systick.c.obj -c /home/plam/Projects/zephyr/drivers/timer/cortex_m_systick.c
[100%] Linking C static library libzephyr.a
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && /usr/bin/cmake -P CMakeFiles/zephyr.dir/cmake_clean_target.cmake
cd /home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr && /usr/bin/cmake -E cmake_link_script CMakeFiles/zephyr.dir/link.txt --verbose=1
ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-ar qc libzephyr.a CMakeFiles/zephyr.dir/arch/common/isr_tables.c.obj CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/stm32f4/soc.c.obj CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/stm32f4/soc_gpio.c.obj CMakeFiles/zephyr.dir/arch/arm/soc/st_stm32/common/arm_mpu_regions.c.obj CMakeFiles/zephyr.dir/arch/arm/core/exc_exit.S.obj CMakeFiles/zephyr.dir/arch/arm/core/irq_init.c.obj CMakeFiles/zephyr.dir/arch/arm/core/swap.S.obj CMakeFiles/zephyr.dir/arch/arm/core/fault.c.obj CMakeFiles/zephyr.dir/arch/arm/core/irq_manage.c.obj CMakeFiles/zephyr.dir/arch/arm/core/thread.c.obj CMakeFiles/zephyr.dir/arch/arm/core/cpu_idle.S.obj CMakeFiles/zephyr.dir/arch/arm/core/fault_s.S.obj CMakeFiles/zephyr.dir/arch/arm/core/fatal.c.obj CMakeFiles/zephyr.dir/arch/arm/core/sys_fatal_error_handler.c.obj CMakeFiles/zephyr.dir/arch/arm/core/thread_abort.c.obj CMakeFiles/zephyr.dir/arch/arm/core/isr_wrapper.S.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/vector_table.S.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/reset.S.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/nmi_on_reset.S.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/prep_c.c.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/scb.c.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/nmi.c.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/exc_manage.c.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/mpu/arm_core_mpu.c.obj CMakeFiles/zephyr.dir/arch/arm/core/cortex_m/mpu/arm_mpu.c.obj CMakeFiles/zephyr.dir/lib/crc/crc16_sw.c.obj CMakeFiles/zephyr.dir/lib/crc/crc8_sw.c.obj CMakeFiles/zephyr.dir/misc/printk.c.obj CMakeFiles/zephyr.dir/misc/generated/configs.c.obj CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/soc/system_stm32f4xx.c.obj CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal.c.obj CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_rcc.c.obj CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_hal_tim.c.obj CMakeFiles/zephyr.dir/ext/hal/st/stm32cube/stm32f4xx/drivers/src/stm32f4xx_ll_utils.c.obj CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj CMakeFiles/zephyr.dir/drivers/interrupt_controller/exti_stm32.c.obj CMakeFiles/zephyr.dir/drivers/clock_control/stm32_ll_clock.c.obj CMakeFiles/zephyr.dir/drivers/clock_control/stm32f4x_ll_clock.c.obj CMakeFiles/zephyr.dir/drivers/gpio/gpio_stm32.c.obj CMakeFiles/zephyr.dir/drivers/pinmux/stm32/pinmux_stm32.c.obj CMakeFiles/zephyr.dir/drivers/pwm/pwm_stm32.c.obj CMakeFiles/zephyr.dir/drivers/serial/uart_stm32.c.obj CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj CMakeFiles/zephyr.dir/drivers/timer/cortex_m_systick.c.obj
ccache /home/plam/.konan/dependencies/gcc-arm-none-eabi-7-2017-q4-major-linux/bin/arm-none-eabi-ranlib libzephyr.a
make[3]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
[100%] Built target zephyr
make[2]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
/usr/bin/cmake -E cmake_progress_start /home/plam/Projects/kotlin-native/samples/zephyr/build/CMakeFiles 0
make[1]: Leaving directory '/home/plam/Projects/kotlin-native/samples/zephyr/build'
+ . /home/plam/Projects/kotlin-native/samples/zephyr/c_interop/platforms/stm32f4_disco.sh
++ '[' xstm32f4_disco == x ']'
++ cinterop -def /home/plam/Projects/kotlin-native/samples/zephyr/c_interop/platforms/stm32f4_disco.def -pkg platform.zephyr.stm32f4_disco -copt '-Xclang -DSTM32F407xx' -copt -I/home/plam/Projects/zephyr/kernel/include -copt -I/home/plam/Projects/zephyr/arch/arm/include -copt -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4 -copt -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/stm32f4/include -copt -I/home/plam/Projects/zephyr/arch/arm/soc/st_stm32/include -copt -I/home/plam/Projects/zephyr/boards/arm/stm32f4_disco -copt -I/home/plam/Projects/zephyr/include -copt -I/home/plam/Projects/zephyr/include/drivers -copt -I/home/plam/Projects/zephyr/ext/hal/cmsis/Include -copt -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/soc -copt -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include -copt -I/home/plam/Projects/zephyr/ext/hal/st/stm32cube/stm32f4xx/drivers/include/Legacy -copt -I/home/plam/Projects/zephyr/drivers -copt -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated -copt -I/home/plam/Projects/kotlin-native/samples/zephyr/build/zephyr/include/generated/syscalls -o /home/plam/Projects/kotlin-native/samples/zephyr/c_interop/platforms/build/stm32f4_disco -target zephyr_stm32f4_disco
+ rm -f program.o
+ mkdir -p /home/plam/Projects/kotlin-native/samples/zephyr/build/kotlin
+ konanc /home/plam/Projects/kotlin-native/samples/zephyr/src/main.kt -target zephyr_stm32f4_disco -r /home/plam/Projects/kotlin-native/samples/zephyr/c_interop/platforms/build -l stm32f4_disco -opt -g -o /home/plam/Projects/kotlin-native/samples/zephyr/build/kotlin/program
/home/plam/Projects/kotlin-native/samples/zephyr/src/main.kt:22:16: error: unresolved reference: LED0_GPIO_PORT
val port = LED0_GPIO_PORT
^
+ exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment