On Fri, Feb 10, 2017 at 3:58 AM, marko kiiskila <[email protected]> wrote:
> Hi Denis,
>
> I think Chris meant output of ‘newt -ldebug build my_blinky_sim’
>
> What looks confusing is the the contents of build_log.rtf.
> It looks as if the file in question was getting processed twice:
> First with gcc-6, and then with clang. And it’s the second invocation that’s
> causing this error.
>
> Obviously, only the first step should take place. So there’s possibly
> something funky going on with newt. But I don’t know what could
> cause this kind of error. Can you double-check the go version
> you’re using?
>
> Also, could you try with the latest beta2 (close to being released)?
>
> cd $GOPATH/src/newt/mynewt.apache.org/newt
> git checkout mynewt_1_0_0_b2_rc1_tag
> cd newt
> go build; go install
>
> And then go through the project creation part again.
>
>
>> On Feb 9, 2017, at 5:40 PM, Denis Magda <[email protected]> wrote:
>>
>> Hi Chris,
>>
>> Please find requested data attached here:
>> https://drive.google.com/open?id=0B0qn42TRMz5EV1JobzBqM1loa3c
>> <https://drive.google.com/open?id=0B0qn42TRMz5EV1JobzBqM1loa3c>
>>
>> As for “-ldebug” it has no effect for me. Tried to add it to many parameters
>> from compiler.yml with no success.
>> However, “-v” command generated verbose output at the time the compilation
>> of the assembly file failed.
>>
>> —
>> Denis
>>
>>
>>> On Feb 9, 2017, at 8:48 AM, Christopher Collins <[email protected]> wrote:
>>>
>>> Hi Denis,
>>>
>>> On Wed, Feb 08, 2017 at 09:39:10PM -0800, Denis Magda wrote:
>>>> Hello Mynewt community,
>>>>
>>>> I tried to play with your product strictly following the getting started
>>>> guide [1] but can’t compile the default blinky app
>>>>
>>>> Deniss-MBP:test dmagda$ newt build my_blinky_sim
>>>> Building target targets/my_blinky_sim
>>>> Assembling os_arch_stack_frame.s
>>>> Error: os_arch_stack_frame.s:34:17: error: unexpected token in directive
>>>> .globl CNAME(os_arch_frame_init)
>>>> ^
>>>> os_arch_stack_frame.s:39:26: error: unexpected token in argument list
>>>> CNAME(os_arch_frame_init):
>>>> ^
>>>> os_arch_stack_frame.s:84:19: error: unexpected token in memory operand
>>>> call CNAME(sigsetjmp) /* sigsetjmp(sf->sf_jb, 0) */
>>>> ^
>>>> os_arch_stack_frame.s:98:19: error: unexpected token in memory operand
>>>> call CNAME(os_arch_task_start) /* os_arch_task_start(sf, rc) */
>>>
>>> Hmm, that's odd. I don't have any theories, but I'll look into it.
>>> Could you please post the following:
>>>
>>> * Contents of compiler/sim/compiler.yml
>>> * Output of "gcc-6 -v" (or whatever your gcc binary is called)
>>>
>>> Another option that could be helpful is to try building with the
>>> "-ldebug" command line switch. This will enable a lot of debug output,
>>> including the actual command used to assemble that .s file.
>>>
>>> Thanks,
>>> Chris
>>>
>>>
>>>>
>>>>
>>>> The dev environment is the following:
>>>> * macOS Sierra
>>>> * newt, gcc and gdb are natively installed
>>>> - newt version: Apache Newt (incubating) version: 1.0.0-dev
>>>> - gcc version: gcc version 6.3.0 (Homebrew GCC 6.3.0_1)
>>>> * gcc-5 replaced with gcc-6 in compiler.yml according to this doc [2].
>>>>
>>>>
>>>> Am I missing something or doing something wrong?
>>>>
>>>> [1] https://mynewt.incubator.apache.org/os/get_started/project_create/
>>>> [2] https://mynewt.incubator.apache.org/os/get_started/native_tools/
>>>>
>>>> —
>>>> Denis
>>
>
Today, I faced this same problem on my Linux host. Good news was
that the suggested solution to use rc1 release worked in my case as well.
Please see the logs below:
setup: Native Linux (Fedora 23)
[amit@discworld newt]$ uname -a
Linux discworld 4.8.13-100.fc23.x86_64 #1 SMP Fri Dec 9 14:51:40 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
[amit@discworld myproj]$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --enable-multilib
--with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array --disable-libgcj --with-isl --enable-libmpx
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 5.3.1 20160406 (Red Hat 5.3.1-6) (GCC)
[amit@discworld newt]$ pwd
/home/amit/dev/go/src/mynewt.apache.org/newt/newt
[amit@discworld newt]$ git branch
* master
[amit@discworld myproj]$ tail project.yml
- apache-mynewt-core
# Use github's distribution mechanism for core ASF libraries.
# This provides mirroring automatically for us.
#
repository.apache-mynewt-core:
type: github
vers: 1-latest
user: apache
repo: incubator-mynewt-core
[amit@discworld myproj]$ newt clean all
[amit@discworld myproj]$ newt build my_blinky_sim
Building target targets/my_blinky_sim
Compiling main.c
Archiving blinky.a
Compiling hal_bsp.c
Compiling sbrk.c
Archiving native.a
Compiling uart.c
Archiving uart.a
Compiling uart_hal.c
Archiving uart_hal.a
Compiling hal_common.c
Compiling hal_flash.c
Archiving hal.a
Compiling hal_flash.c
Compiling hal_gpio.c
Compiling hal_hw_id.c
Compiling hal_reset_cause.c
Compiling hal_system.c
Compiling hal_timer.c
Compiling hal_uart.c
Compiling hal_watchdog.c
Archiving native.a
Compiling endian.c
Compiling os.c
Compiling os_callout.c
Compiling os_cputime.c
Compiling os_dev.c
Compiling os_eventq.c
Compiling os_heap.c
Compiling os_mbuf.c
Compiling os_mempool.c
Compiling os_msys_init.c
Compiling os_mutex.c
Compiling os_sanity.c
Compiling os_sched.c
Compiling os_sem.c
Compiling os_task.c
Compiling os_time.c
Compiling os_arch_sim.c
Compiling os_fault.c
Assembling os_arch_stack_frame.s
Error: os_arch_stack_frame.s: Assembler messages:
os_arch_stack_frame.s:34: Error: junk at end of line, first
unrecognized character is `('
os_arch_stack_frame.s:39: Error: invalid character '(' in mnemonic
os_arch_stack_frame.s:84: Error: junk `(sigsetjmp)' after expression
os_arch_stack_frame.s:98: Error: junk `(os_arch_task_start)' after expression
--------------NOW WITH THE SUGGESTED SOLUTION-------------
[amit@discworld newt]$ git checkout mynewt_1_0_0_b2_rc1_tag -b rc1
Switched to a new branch 'rc1'
[amit@discworld newt]$ git branch
master
* rc1
[amit@discworld newt]$ pwd
/home/amit/dev/go/src/mynewt.apache.org/newt/newt
[amit@discworld newt]$ go build
[amit@discworld newt]$ go install
[amit@discworld myproj]$ pwd
/home/amit/Documents/devel/myproj
[amit@discworld myproj]$ newt clean all
[amit@discworld myproj]$ newt build my_blinky_sim
Building target targets/my_blinky_sim
Compiling repos/apache-mynewt-core/hw/drivers/uart/src/uart.c
Compiling repos/apache-mynewt-core/hw/bsp/native/src/sbrk.c
Compiling apps/blinky/src/main.c
Compiling repos/apache-mynewt-core/hw/drivers/uart/uart_hal/src/uart_hal.c
Compiling repos/apache-mynewt-core/hw/hal/src/hal_common.c
Compiling repos/apache-mynewt-core/hw/hal/src/hal_flash.c
Compiling repos/apache-mynewt-core/hw/bsp/native/src/hal_bsp.c
Compiling repos/apache-mynewt-core/hw/mcu/native/src/hal_gpio.c
Compiling repos/apache-mynewt-core/hw/mcu/native/src/hal_flash.c
Compiling repos/apache-mynewt-core/hw/mcu/native/src/hal_hw_id.c
Compiling repos/apache-mynewt-core/hw/mcu/native/src/hal_reset_cause.c
Compiling repos/apache-mynewt-core/hw/mcu/native/src/hal_watchdog.c
Compiling repos/apache-mynewt-core/hw/mcu/native/src/hal_timer.c
Compiling repos/apache-mynewt-core/hw/mcu/native/src/hal_system.c
Compiling repos/apache-mynewt-core/hw/mcu/native/src/hal_uart.c
Compiling repos/apache-mynewt-core/kernel/os/src/endian.c
Compiling repos/apache-mynewt-core/kernel/os/src/os.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_callout.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_cputime.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_dev.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_eventq.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_heap.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_mbuf.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_msys_init.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_mempool.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_mutex.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_sanity.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_sem.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_sched.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_time.c
Compiling repos/apache-mynewt-core/kernel/os/src/os_task.c
Assembling repos/apache-mynewt-core/kernel/os/src/arch/sim/os_arch_stack_frame.s
Compiling repos/apache-mynewt-core/kernel/os/src/arch/sim/os_arch_sim.c
Compiling repos/apache-mynewt-core/kernel/os/src/arch/sim/os_fault.c
Compiling bin/targets/my_blinky_sim/generated/src/my_blinky_sim-sysflash.c
Compiling bin/targets/my_blinky_sim/generated/src/my_blinky_sim-sysinit-app.c
Compiling repos/apache-mynewt-core/net/ip/mn_socket/src/mn_socket_aconv.c
Compiling repos/apache-mynewt-core/net/ip/native_sockets/src/native_itf.c
Compiling repos/apache-mynewt-core/net/ip/mn_socket/src/mn_socket.c
Compiling repos/apache-mynewt-core/sys/console/full/src/prompt.c
Compiling repos/apache-mynewt-core/net/ip/native_sockets/src/native_sock.c
Compiling repos/apache-mynewt-core/sys/console/full/src/cons_fmt.c
Compiling repos/apache-mynewt-core/sys/console/full/src/ticks.c
Compiling repos/apache-mynewt-core/sys/console/full/src/cons_tty.c
Compiling repos/apache-mynewt-core/sys/flash_map/src/flash_map.c
Compiling repos/apache-mynewt-core/sys/sysinit/src/sysinit.c
Compiling repos/apache-mynewt-core/sys/mfg/src/mfg.c
Compiling repos/apache-mynewt-core/util/mem/src/mem.c
Archiving apps_blinky.a
Archiving hw_bsp_native.a
Archiving hw_drivers_uart.a
Archiving hw_drivers_uart_uart_hal.a
Archiving hw_hal.a
Archiving hw_mcu_native.a
Archiving kernel_os.a
Archiving my_blinky_sim-sysinit-app.a
Archiving net_ip_mn_socket.a
Archiving net_ip_native_sockets.a
Archiving sys_console_full.a
Archiving sys_flash_map.a
Archiving sys_mfg.a
Archiving sys_sysinit.a
Archiving util_mem.a
Linking
/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/app/apps/blinky/blinky.elf
Target successfully built: targets/my_blinky_sim <-- (builds fine)
[amit@discworld myproj]$ newt test @apache-mynewt-core/sys/config
Testing package @apache-mynewt-core/sys/config/test-nffs
Compiling repos/apache-mynewt-core/fs/fs/src/fs_cli.c
...
...
...
Passed tests: [sys/config/test-nffs sys/config/test-fcb]
All tests passed
Also, attached here is the full build log (-ldebug) for the failed build
on master branch.
Thanks,
Amit
--
Sent from Bahamas, while drinking chi-chi and piña colada.
2017/03/04 22:51:42 [DEBUG] Searching for project file
/home/amit/Documents/devel/myproj/project.yml
2017/03/04 22:51:42 [DEBUG] Loaded repository apache-mynewt-core (type: github,
user: apache, repo: incubator-mynewt-core)
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/apps/blinky/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/targets/my_blinky_sim/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/targets/unittest/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/blecent/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/blehci/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/bleprph/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/bleprph_oic/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/blesplit/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/bletest/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/bletiny/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/bleuart/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/boot/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/fat2native/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/ffs2native/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/ocf_sample/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/slinky/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/slinky_oic/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/spitest/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/splitty/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/testbench/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/apps/timtest/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/boot/boot_serial/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/boot/boot_serial/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/boot/bootutil/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/boot/bootutil/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/boot/split/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/boot/split_app/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/arm-none-eabi-m0/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/arm-none-eabi-m4/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/mips/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/sim/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/sim-mips/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/crypto/mbedtls/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/crypto/mbedtls/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/crypto/tinycrypt/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/encoding/base64/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/encoding/base64/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/encoding/cborattr/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/encoding/cborattr/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/encoding/json/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/encoding/json/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/encoding/tinycbor/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/fs/disk/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/fs/fatfs/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/fs/fcb/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/fs/fcb/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/fs/fs/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/fs/nffs/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/fs/nffs/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/arduino_primo_nrf52/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/bmd200/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/bmd300eval/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/ci40/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/frdm-k64f/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/nrf51-arduino_101/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/nrf51-blenano/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/nrf51dk/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/nrf51dk-16kbram/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/nrf52840pdk/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/nrf52dk/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/nucleo-f401re/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/olimex_stm32-e407_devboard/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/rb-nano2/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/stm32f4discovery/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/usbmkw41z/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/cmsis-core/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/adc/adc_stm32f4/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/adc/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/flash/at45db/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/lwip/stm32f4_eth/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/mmc/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/nimble/native/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/nimble/nrf51/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/nimble/nrf52/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_bitbang/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_hal/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/hal/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/mips/danube/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/native/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/nordic/nrf51xxx/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/nordic/nrf52xxx/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/nordic/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/nxp/MK64F12/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/nxp/mkw41z/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/nxp/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/stm/stm32f4xx/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/test/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/libc/baselibc/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/mgmt/imgmgr/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/mgmt/mgmt/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/mgmt/newtmgr/nmgr_os/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/mgmt/newtmgr/transport/ble/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/mgmt/newtmgr/transport/nmgr_shell/
2017/03/04 22:51:42 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/mgmt/newtmgr/transport/nmgr_uart/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/mgmt/newtmgr/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/mgmt/oicmgr/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/inet_def_service/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/lwip_base/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/mn_socket/test/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/mn_socket/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/native_sockets/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/controller/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/profiles/lls/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/services/ans/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/services/bleuart/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/services/gap/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/services/gatt/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/services/ias/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/services/lls/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/services/tps/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/store/ram/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/test/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/host/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/transport/ram/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/transport/uart/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/nimble/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/oic/test/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/oic/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/wifi/wifi_mgmt/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/config/test-fcb/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/config/test-nffs/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/config/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/console/full/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/console/stub/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/coredump/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/defs/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/flash_map/test/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/flash_map/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/id/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/log/full/test/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/log/full/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/log/stub/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/mfg/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/reboot/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/shell/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/stats/full/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/stats/stub/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/sysinit/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/targets/unittest/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/test/crash_test/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/test/flash_test/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/test/runtest/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/test/testutil/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/time/datetime/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/util/cbmem/test/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/util/cbmem/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/util/crc/
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/util/mem/
Building target targets/my_blinky_sim
2017/03/04 22:51:43 [DEBUG] Loading configuration for package
/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/
2017/03/04 22:51:43 [DEBUG] API requirement satisfied; pkg=hw/mcu/native
API=(console, @apache-mynewt-core/sys/console/full)
2017/03/04 22:51:43 [DEBUG] API requirement satisfied; pkg=kernel/os
API=(console, @apache-mynewt-core/sys/console/full)
2017/03/04 22:51:43 [DEBUG] syscfg settings (29 entries):
2017/03/04 22:51:43 [DEBUG] CONSOLE_BAUD=115200 [sys/console/full:115200]
2017/03/04 22:51:43 [DEBUG] CONSOLE_ECHO=1 [sys/console/full:1]
2017/03/04 22:51:43 [DEBUG] CONSOLE_FLOW_CONTROL=UART_FLOW_CTL_NONE
[sys/console/full:UART_FLOW_CTL_NONE]
2017/03/04 22:51:43 [DEBUG] CONSOLE_HIST_ENABLE=0 [sys/console/full:0]
2017/03/04 22:51:43 [DEBUG] CONSOLE_PROMPT=0 [sys/console/full:0]
2017/03/04 22:51:43 [DEBUG] CONSOLE_RX_BUF_SIZE=128 [sys/console/full:128]
2017/03/04 22:51:43 [DEBUG] CONSOLE_TICKS=1 [sys/console/full:1]
2017/03/04 22:51:43 [DEBUG] CONSOLE_TX_BUF_SIZE=32 [sys/console/full:32]
2017/03/04 22:51:43 [DEBUG] FLASH_MAP_MAX_AREAS=10 [sys/flash_map:10]
2017/03/04 22:51:43 [DEBUG] MSYS_1_BLOCK_COUNT=12 [kernel/os:12]
2017/03/04 22:51:43 [DEBUG] MSYS_1_BLOCK_SIZE=292 [kernel/os:292]
2017/03/04 22:51:43 [DEBUG] MSYS_2_BLOCK_COUNT=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] MSYS_2_BLOCK_SIZE=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] MSYS_3_BLOCK_COUNT=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] MSYS_3_BLOCK_SIZE=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] MSYS_4_BLOCK_COUNT=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] MSYS_4_BLOCK_SIZE=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] MSYS_5_BLOCK_COUNT=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] MSYS_5_BLOCK_SIZE=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] OS_CLI=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] OS_COREDUMP=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] OS_CPUTIME_FREQ=1000000 [kernel/os:1000000]
2017/03/04 22:51:43 [DEBUG] OS_CPUTIME_TIMER_NUM=0 [kernel/os:0]
2017/03/04 22:51:43 [DEBUG] OS_MAIN_STACK_SIZE=1024 [kernel/os:1024]
2017/03/04 22:51:43 [DEBUG] OS_MAIN_TASK_PRIO=127 [kernel/os:127]
2017/03/04 22:51:43 [DEBUG] OS_SCHEDULING=1 [kernel/os:1]
2017/03/04 22:51:43 [DEBUG] SANITY_INTERVAL=15000 [kernel/os:15000]
2017/03/04 22:51:43 [DEBUG] SYSINIT_CONSTRAIN_INIT=1 [sys/sysinit:1]
2017/03/04 22:51:43 [DEBUG] WATCHDOG_INTERVAL=30000 [kernel/os:30000]
2017/03/04 22:51:43 [DEBUG] syscfg unchanged; not writing header file
(/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/generated/include/syscfg/syscfg.h).
2017/03/04 22:51:43 [DEBUG] API requirement satisfied; pkg=hw/mcu/native
API=(console, @apache-mynewt-core/sys/console/full)
2017/03/04 22:51:43 [DEBUG] API requirement satisfied; pkg=hw/mcu/native
API=(console, @apache-mynewt-core/sys/console/full)
2017/03/04 22:51:43 [DEBUG] API requirement satisfied; pkg=kernel/os
API=(console, @apache-mynewt-core/sys/console/full)
2017/03/04 22:51:43 [DEBUG] Feature set: [CONSOLE_BAUD CONSOLE_ECHO
CONSOLE_FLOW_CONTROL CONSOLE_RX_BUF_SIZE CONSOLE_TICKS CONSOLE_TX_BUF_SIZE
FLASH_MAP_MAX_AREAS MSYS_1_BLOCK_COUNT MSYS_1_BLOCK_SIZE OS_CPUTIME_FREQ
OS_MAIN_STACK_SIZE OS_MAIN_TASK_PRIO OS_SCHEDULING SANITY_INTERVAL
SYSINIT_CONSTRAIN_INIT WATCHDOG_INTERVAL]
2017/03/04 22:51:43 [DEBUG] API set:
2017/03/04 22:51:43 [DEBUG] * console (@apache-mynewt-core/sys/console/full)
2017/03/04 22:51:43 [DEBUG] Dependency graph:
2017/03/04 22:51:43 [DEBUG] * apps/blinky [@apache-mynewt-core/kernel/os
@apache-mynewt-core/hw/hal @apache-mynewt-core/sys/console/full]
2017/03/04 22:51:43 [DEBUG] * compiler/sim []
2017/03/04 22:51:43 [DEBUG] * hw/bsp/native
[@apache-mynewt-core/hw/mcu/native @apache-mynewt-core/hw/drivers/uart/uart_hal
@apache-mynewt-core/net/ip/native_sockets]
2017/03/04 22:51:43 [DEBUG] * hw/drivers/uart []
2017/03/04 22:51:43 [DEBUG] * hw/drivers/uart/uart_hal
[@apache-mynewt-core/hw/hal @apache-mynewt-core/hw/drivers/uart]
2017/03/04 22:51:43 [DEBUG] * hw/hal [@apache-mynewt-core/kernel/os]
2017/03/04 22:51:43 [DEBUG] * hw/mcu/native
[@apache-mynewt-core/sys/console/full @apache-mynewt-core/hw/hal
@apache-mynewt-core/compiler/sim]
2017/03/04 22:51:43 [DEBUG] * kernel/os
[@apache-mynewt-core/sys/console/full @apache-mynewt-core/sys/sysinit
@apache-mynewt-core/util/mem]
2017/03/04 22:51:43 [DEBUG] * my_blinky_sim-sysinit-app []
2017/03/04 22:51:43 [DEBUG] * net/ip/mn_socket
[@apache-mynewt-core/kernel/os]
2017/03/04 22:51:43 [DEBUG] * net/ip/native_sockets
[@apache-mynewt-core/kernel/os @apache-mynewt-core/net/ip/mn_socket]
2017/03/04 22:51:43 [DEBUG] * sys/console/full [@apache-mynewt-core/hw/hal
@apache-mynewt-core/kernel/os @apache-mynewt-core/hw/drivers/uart]
2017/03/04 22:51:43 [DEBUG] * sys/defs []
2017/03/04 22:51:43 [DEBUG] * sys/flash_map [@apache-mynewt-core/sys/defs
@apache-mynewt-core/sys/mfg]
2017/03/04 22:51:43 [DEBUG] * sys/mfg [@apache-mynewt-core/kernel/os
@apache-mynewt-core/sys/flash_map]
2017/03/04 22:51:43 [DEBUG] * sys/sysinit [@apache-mynewt-core/kernel/os
@apache-mynewt-core/sys/flash_map]
2017/03/04 22:51:43 [DEBUG] * targets/my_blinky_sim []
2017/03/04 22:51:43 [DEBUG] * util/mem [@apache-mynewt-core/kernel/os]
2017/03/04 22:51:43 [DEBUG] Generating build flags for target
targets/my_blinky_sim
2017/03/04 22:51:43 [DEBUG] Generating build flags for app apps/blinky
2017/03/04 22:51:43 [DEBUG] Generating build flags for bsp
@apache-mynewt-core/hw/bsp/native
2017/03/04 22:51:43 [DEBUG] API requirement satisfied; pkg=hw/mcu/native
API=(console, @apache-mynewt-core/sys/console/full)
2017/03/04 22:51:43 [DEBUG] sysinit unchanged; not writing src file
(/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/generated/src/my_blinky_sim-sysinit-app.c).
2017/03/04 22:51:43 [DEBUG] flash map unchanged; not writing file
(/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/generated/src/my_blinky_sim-sysflash.c).
2017/03/04 22:51:43 [DEBUG] flash map unchanged; not writing file
(/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/generated/include/sysflash/sysflash.h).
2017/03/04 22:51:43 [DEBUG] Generating build flags for package apps/blinky
2017/03/04 22:51:43 [DEBUG] Generating build flags for compiler
2017/03/04 22:51:43 [INFO] Compiling C if outdated
(/home/amit/Documents/devel/myproj/apps/blinky/src/*.c) main.c
2017/03/04 22:51:43 [INFO] Compiling CC if outdated
(/home/amit/Documents/devel/myproj/apps/blinky/src/*.cc)
2017/03/04 22:51:43 [INFO] Copying archive if outdated
(/home/amit/Documents/devel/myproj/apps/blinky/src/*.a)
2017/03/04 22:51:43 [DEBUG] Generating build flags for package
@apache-mynewt-core/compiler/sim
2017/03/04 22:51:43 [DEBUG] Generating build flags for package
@apache-mynewt-core/hw/bsp/native
2017/03/04 22:51:43 [DEBUG] Generating build flags for compiler
2017/03/04 22:51:43 [INFO] Compiling C if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/src/*.c)
hal_bsp.c sbrk.c
2017/03/04 22:51:43 [INFO] Compiling CC if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/src/*.cc)
2017/03/04 22:51:43 [INFO] Copying archive if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/src/*.a)
2017/03/04 22:51:43 [DEBUG] Generating build flags for package
@apache-mynewt-core/hw/drivers/uart
2017/03/04 22:51:43 [DEBUG] Generating build flags for compiler
2017/03/04 22:51:43 [INFO] Compiling C if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/src/*.c)
uart.c
2017/03/04 22:51:43 [INFO] Compiling CC if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/src/*.cc)
2017/03/04 22:51:43 [INFO] Copying archive if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/src/*.a)
2017/03/04 22:51:43 [DEBUG] Generating build flags for package
@apache-mynewt-core/hw/drivers/uart/uart_hal
2017/03/04 22:51:43 [DEBUG] Generating build flags for compiler
2017/03/04 22:51:43 [INFO] Compiling C if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_hal/src/*.c)
uart_hal.c
2017/03/04 22:51:43 [INFO] Compiling CC if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_hal/src/*.cc)
2017/03/04 22:51:43 [INFO] Copying archive if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_hal/src/*.a)
2017/03/04 22:51:43 [DEBUG] Generating build flags for package
@apache-mynewt-core/hw/hal
2017/03/04 22:51:43 [DEBUG] Generating build flags for compiler
2017/03/04 22:51:43 [INFO] Compiling C if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/hal/src/*.c)
hal_common.c hal_flash.c
2017/03/04 22:51:43 [INFO] Compiling CC if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/hal/src/*.cc)
2017/03/04 22:51:43 [INFO] Copying archive if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/hal/src/*.a)
2017/03/04 22:51:43 [DEBUG] Generating build flags for package
@apache-mynewt-core/hw/mcu/native
2017/03/04 22:51:43 [DEBUG] Generating build flags for compiler
2017/03/04 22:51:43 [INFO] Compiling C if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/native/src/*.c)
hal_flash.c hal_gpio.c hal_hw_id.c hal_reset_cause.c hal_system.c hal_timer.c
hal_uart.c hal_watchdog.c
2017/03/04 22:51:43 [INFO] Compiling CC if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/native/src/*.cc)
2017/03/04 22:51:43 [INFO] Copying archive if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/native/src/*.a)
2017/03/04 22:51:43 [DEBUG] Generating build flags for package
@apache-mynewt-core/kernel/os
2017/03/04 22:51:43 [DEBUG] Generating build flags for compiler
2017/03/04 22:51:43 [INFO] Compiling C if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src/*.c)
endian.c os.c os_callout.c os_cputime.c os_dev.c os_eventq.c os_heap.c
os_mbuf.c os_mempool.c os_msys_init.c os_mutex.c os_sanity.c os_sched.c
os_sem.c os_task.c os_time.c
2017/03/04 22:51:43 [INFO] Compiling CC if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src/*.cc)
2017/03/04 22:51:43 [INFO] Copying archive if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src/*.a)
2017/03/04 22:51:43 [INFO] Compiling C if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src/arch/sim/*.c)
os_arch_sim.c os_fault.c
2017/03/04 22:51:43 [INFO] Compiling CC if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src/arch/sim/*.cc)
2017/03/04 22:51:43 [INFO] Compiling assembly if outdated
(/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src/arch/sim/*.s)
os_arch_stack_frame.s
2017/03/04 22:51:43 [DEBUG] gcc -DAPP_NAME="blinky" -DAPP_blinky
-DARCH_NAME="sim" -DARCH_sim -DBSP_NAME="native" -DBSP_native -DMN_LINUX
-I/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/generated/include
-O0 -Wall -Werror -ggdb -m32
-I/home/amit/Documents/devel/myproj/apps/blinky/include
-I/home/amit/Documents/devel/myproj/apps/blinky/include/blinky/arch/sim
-I/home/amit/Documents/devel/myproj/apps/blinky/src/
-I/home/amit/Documents/devel/myproj/apps/blinky/src//arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/sim/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/sim/include/sim/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/include/native/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/src/
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/src//arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/include/uart/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_hal/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_hal/include/uart_hal/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/hal/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/hal/include/hal/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/native/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/native/include/native/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/include/os/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src/
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src//arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/mn_socket/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/mn_socket/include/mn_socket/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/native_sockets/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/native_sockets/include/native_sockets/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/console/full/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/console/full/include/full/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/defs/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/defs/include/defs/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/flash_map/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/flash_map/include/flash_map/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/mfg/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/mfg/include/mfg/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/sysinit/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/sysinit/include/sysinit/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/util/mem/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/util/mem/include/mem/arch/sim
-I/home/amit/Documents/devel/myproj/targets/my_blinky_sim/include
-I/home/amit/Documents/devel/myproj/targets/my_blinky_sim/include/my_blinky_sim/arch/sim
-I/home/amit/Documents/devel/myproj/targets/my_blinky_sim/src/
-I/home/amit/Documents/devel/myproj/targets/my_blinky_sim/src//arch/sim -MM -MG
os_arch_stack_frame.s >
/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/app/kernel/os/os_arch_stack_frame.d
2017/03/04 22:51:43 [DEBUG] o=
Assembling os_arch_stack_frame.s
2017/03/04 22:51:43 [DEBUG] gcc -c -o
/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/app/kernel/os/os_arch_stack_frame.o
os_arch_stack_frame.s -DAPP_NAME="blinky" -DAPP_blinky -DARCH_NAME="sim"
-DARCH_sim -DBSP_NAME="native" -DBSP_native -DMN_LINUX
-I/home/amit/Documents/devel/myproj/bin/targets/my_blinky_sim/generated/include
-O0 -Wall -Werror -ggdb -m32
-I/home/amit/Documents/devel/myproj/apps/blinky/include
-I/home/amit/Documents/devel/myproj/apps/blinky/include/blinky/arch/sim
-I/home/amit/Documents/devel/myproj/apps/blinky/src/
-I/home/amit/Documents/devel/myproj/apps/blinky/src//arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/sim/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/compiler/sim/include/sim/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/include/native/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/src/
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/bsp/native/src//arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/include/uart/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_hal/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/drivers/uart/uart_hal/include/uart_hal/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/hal/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/hal/include/hal/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/native/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/hw/mcu/native/include/native/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/include/os/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src/
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/kernel/os/src//arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/mn_socket/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/mn_socket/include/mn_socket/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/native_sockets/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/net/ip/native_sockets/include/native_sockets/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/console/full/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/console/full/include/full/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/defs/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/defs/include/defs/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/flash_map/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/flash_map/include/flash_map/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/mfg/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/mfg/include/mfg/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/sysinit/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/sys/sysinit/include/sysinit/arch/sim
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/util/mem/include
-I/home/amit/Documents/devel/myproj/repos/apache-mynewt-core/util/mem/include/mem/arch/sim
-I/home/amit/Documents/devel/myproj/targets/my_blinky_sim/include
-I/home/amit/Documents/devel/myproj/targets/my_blinky_sim/include/my_blinky_sim/arch/sim
-I/home/amit/Documents/devel/myproj/targets/my_blinky_sim/src/
-I/home/amit/Documents/devel/myproj/targets/my_blinky_sim/src//arch/sim
2017/03/04 22:51:43 [DEBUG] o=os_arch_stack_frame.s: Assembler messages:
os_arch_stack_frame.s:34: Error: junk at end of line, first unrecognized
character is `('
os_arch_stack_frame.s:39: Error: invalid character '(' in mnemonic
os_arch_stack_frame.s:84: Error: junk `(sigsetjmp)' after expression
os_arch_stack_frame.s:98: Error: junk `(os_arch_task_start)' after expression
2017/03/04 22:51:43 [DEBUG] goroutine 1 [running]:
mynewt.apache.org/newt/util.NewNewtError(0xc82008f600, 0x15b, 0x15b)
/home/amit/dev/go/src/mynewt.apache.org/newt/util/util.go:76 +0x103
mynewt.apache.org/newt/util.ShellCommand(0xc820221000, 0xf54, 0x0, 0x0, 0x0,
0x0, 0x0)
/home/amit/dev/go/src/mynewt.apache.org/newt/util/util.go:317 +0x37e
mynewt.apache.org/newt/newt/toolchain.(*Compiler).CompileFile(0xc8201fe900,
0xc820406e20, 0x15, 0x1, 0x0, 0x0)
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/toolchain/compiler.go:451
+0x4c5
mynewt.apache.org/newt/newt/toolchain.(*Compiler).CompileAs(0xc8201fe900, 0x0,
0x0)
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/toolchain/compiler.go:587
+0x6b7
mynewt.apache.org/newt/newt/toolchain.(*Compiler).RecursiveCompile(0xc8201fe900,
0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/toolchain/compiler.go:698
+0x428
mynewt.apache.org/newt/newt/builder.buildDir(0xc8201efb30, 0x48, 0xc8201fe900,
0xc820299280, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/builder/build.go:208
+0x84f
mynewt.apache.org/newt/newt/builder.(*Builder).buildPackage(0xc820074340,
0xc82028de30, 0x0, 0x0)
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/builder/build.go:283
+0x747
mynewt.apache.org/newt/newt/builder.(*Builder).Build(0xc820074340, 0x0, 0x0)
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/builder/build.go:458
+0xaf
mynewt.apache.org/newt/newt/builder.(*TargetBuilder).Build(0xc8203c8600, 0x0,
0x0)
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/builder/targetbuild.go:352
+0x114
mynewt.apache.org/newt/newt/cli.buildRunCmd(0xc820093440, 0xc8202311e0, 0x1,
0x2)
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/cli/build_cmds.go:152
+0x5bf
github.com/spf13/cobra.(*Command).execute(0xc820093440, 0xc820231020, 0x2, 0x2,
0x0, 0x0)
/home/amit/dev/go/src/github.com/spf13/cobra/command.go:648 +0x8f8
github.com/spf13/cobra.(*Command).ExecuteC(0xc820092fc0, 0xc820093440, 0x0, 0x0)
/home/amit/dev/go/src/github.com/spf13/cobra/command.go:734 +0x56b
github.com/spf13/cobra.(*Command).Execute(0xc820092fc0, 0x0, 0x0)
/home/amit/dev/go/src/github.com/spf13/cobra/command.go:693 +0x2d
main.main()
/home/amit/dev/go/src/mynewt.apache.org/newt/newt/newt.go:146 +0x2a2
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/golang/src/runtime/asm_amd64.s:1721 +0x1
goroutine 5 [syscall]:
os/signal.loop()
/usr/lib/golang/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/lib/golang/src/os/signal/signal_unix.go:28 +0x37
Error: os_arch_stack_frame.s: Assembler messages:
os_arch_stack_frame.s:34: Error: junk at end of line, first unrecognized
character is `('
os_arch_stack_frame.s:39: Error: invalid character '(' in mnemonic
os_arch_stack_frame.s:84: Error: junk `(sigsetjmp)' after expression
os_arch_stack_frame.s:98: Error: junk `(os_arch_task_start)' after expression