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 <ccoll...@apache.org> 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

Reply via email to