.file_attr 1="1";

Building a project imported from CCES 1.1.0 to 2.3.0 I get this error:

[Error ea5004] "C:\Users\G\AppData\Local\Temp\acc3554de5a000\acc3554de5a001.s":659 Syntax Error in :
.file_attr 1="1";
syntax error is at or near text '1'.
Attempting error recovery by ignoring text until the ';'

It doesn't seem to be associated with the particular source file being compiled, it moves around. I can't view the temporary .s file as it is deleted immediately after the error. Any ideas what could be causing this?

Parents
  • Hi Gideon,

    I moved this thread to the "CrossCore Embedded Studio and Add-ins" forum as it appears a tools related issue.

    I suspect that one of the automatic file attributes is being replaced by a macro define in the compiler generated assembly. If that is the case, using the "-no-auto-attrs" compiler switch should avoid it. I don't understand why this problem would move around though so it would be good to understand why this is happening. 

    To help debug the problem, can you try adding "-save-temps -ED -v" to the compiler options. Having done this, when you get the problem again can you make available:

    - The preprocessed source file for the error, it will have a ".i" suffix.

    - The assembly file with the error.

    - The build console showing the error and the compiler options used.

    If you would prefer to keep your source private you can send it to processor.tools.support@analog.com with a link to this

    thread. Otherwise you can attach the files here.

    Regards,

    Stuart S.

Reply
  • Hi Gideon,

    I moved this thread to the "CrossCore Embedded Studio and Add-ins" forum as it appears a tools related issue.

    I suspect that one of the automatic file attributes is being replaced by a macro define in the compiler generated assembly. If that is the case, using the "-no-auto-attrs" compiler switch should avoid it. I don't understand why this problem would move around though so it would be good to understand why this is happening. 

    To help debug the problem, can you try adding "-save-temps -ED -v" to the compiler options. Having done this, when you get the problem again can you make available:

    - The preprocessed source file for the error, it will have a ".i" suffix.

    - The assembly file with the error.

    - The build console showing the error and the compiler options used.

    If you would prefer to keep your source private you can send it to processor.tools.support@analog.com with a link to this

    thread. Otherwise you can attach the files here.

    Regards,

    Stuart S.

Children
No Data