This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ARM Compiler problem



Hi,

Today I got the following compiler error message building a file for AM335x:

The Code section in the file cp15.asm is the following:




ARM Compiler version is V5.1.2. With compiler version V5.0.5 the code section gets assembled without any problems (and the code works). But the same problem with compiler version V5.1.1.
Any idea whats wrong with this code section?

Thanks for your support.

Best regards,
Patrick

  • This looks like a problem which was reported recently.  It is recorded as SDSCM00048732  in the SDOWP system.  Feel free to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George

  • Hi,

    Today I checked the bug SDSCM00048732 in the SDOWP system. Now this bug is marked "Declinded". What does it mean? We still have the problem to compile the file. If this is not a bug, what is wrong with the code in the first post?
    We would like to switch Code Generation Tools from V5.0.5 to V5.1.x but are not able because of this problem.

    Any news on this topic?

    Thanks,
    Patrick

  • I apologize.  It turns out the cause of SDSCM00048732 is user error.  This was not apparent at the time of your original post.  Based on what I see here, you have not made the same error.  Thus, despite the similarity I saw at first, this is probably a distinct issue.

    To do anything further, we need a test case which allows us to reproduce the error message.  Please post cp15.asm.  Hopefully, it doesn't include any other files.  If it does, you need to post them as well. You also need to show the exact build options.  

    Thanks and regards,

    -George

  • George,

    The file is attached as well as the compiler options.
    With this settings compilation of the file "cp15.asm" will produce the error with the Compiler V5.1.2.

    I hope you can reproduce the error message. Feedback would be appreciated.

    Thanks and best regards,
    Patrick

    -mv7A8 --code_state=32 --float_support=VFPv3 --abi=eabi -me -O3 --opt_for_speed=4
    --include_path="C:/CCStudio_V5/ccsv5/tools/compiler/arm_5.1.2/include"
    -g --gcc --define=am335x --diag_warning=225 --display_error_number --gen_func_subsections=on --neon --opt_for_cache -k

    8507.cp15.asm
     

  • Thank you for submitting those files.  I can reproduce this issue.  I filed SDSCM00049443 in the SDOWP system to have this investigated.  Feel free to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George

  • George,

    Thanks. I will close this post and will follow the issue on SDOWP.
    By the way: Since my first post we changed the file "cp15.asm" in such a way that the function that has to be aligned is the first function in the file. This was done for space saving pupose. This new file gets compiled with V5.1.2 without any problems. This may be of interest for the people who needs to solve the problem.
    The new file is attached as well.

    Best regards,
    Patrick

    3731.cp15.asm