• How to generate assembly file in DS5 for arm 6 compiler

    core
    core

    I tried using --disassembly, --asm and --S option in compiler setting but it's not working ?

    Can someone help me to generate .asm file in DS5 for arm 6 compilers.

    • 20 hours ago
    • Software Tools
    • Arm Compilers forum
  • ARM clang compiler errors out as - error: unknown register name 'cp15:0:c9:c12:0'

    Anupam_on
    Anupam_on

    I am trying to migrate my source code compilation from armcc compiler v5.06 to armclang v6. And I see armclang errors out saying it can not recognize cp15 registers. It looks like there might be a change in armcc vs clang as how to declare the registers…

    • Answered
    • 23 days ago
    • Software Tools
    • Arm Compilers forum
  • How to migrate retarget.c from ARM Compiler 5 to ARM Compiler 6?

    coldspark
    coldspark

    I want to migrate an older project into the ARM Compiler 6, but I am getting errors in the retarget.c

    /* Short version of retarget.c - Minimum code to support simple printf in Keil
    MDK-ARM */
    /*******************************************************…

    • Answered
    • 26 days ago
    • Software Tools
    • Arm Compilers forum
  • Is the optimizer qualified in the compiler version AC 6.6.x for functional safety?

    MuRa
    MuRa

    Hello,

    I work in a project in the Rail Industry, where it was decided to use a qualified compiler to meet the safety standard (SIL2) according to EN50657.

    In this project the compiler optimization plays a very important role, because time critical functions…

    • Answered
    • 2 months ago
    • Software Tools
    • Arm Compilers forum
  • Clang static analyzer produces linker error L6007U

    kkrambo
    kkrambo

    I'm using Keil uVision v5.29 and ARM compiler v6.13.1 (ArmClang).  I was looking for a static code analyzer and found that Clang includes a static analyzer that is run with the --analyze option (see http://clang.llvm.org/docs/UsersManual.html).  I added…

    • Answered
    • 5 months ago
    • Software Tools
    • Arm Compilers forum
  • How to force string (rodata.str) alignment with ARM 6.6.3

    42Bastian Schick
    42Bastian Schick

    Hi

    is there a way to force constant strings to be aligned on 4 byte boundary?

    For example: createTask("Taskname");

    I tried the linker option "OVERALIGN", but it just generates a warning.

    Cheers

    • 5 months ago
    • Software Tools
    • Arm Compilers forum
  • "armclang: error" in Simulink when using FVP target

    pg5033
    pg5033

    Hello,

    I'm trying to follow the tutorial here (community.arm.com/.../develop-embedded-control-systems-efficiently-in-matlab-with-arm-models-and-compiler-integration) to run the Simulink example 'ArmCortexM_FM_pil_top' on an FVP of the Cortex-M4.…

    • Answered
    • 7 months ago
    • Software Tools
    • Arm Compilers forum
  • Uninitialized variables is getting assigned to DATA section instead of BSS section in ARM Compiler 6.6

    Darshan Muniswamy
    Darshan Muniswamy

    Uninitialized variables is getting assigned to DATA section instead of BSS section in ARM Compiler 6.6.

    How to resolve this other than placing the variable in .bss.<section_name>?

    Is there any other linker/Compiler options available for this?

    • 10 months ago
    • Software Tools
    • Arm Compilers forum
  • Whether Can ARM compiler 5 project call the library compiled by ARM compiler 6?

    huaiwen
    huaiwen

    HI, all,

    To optimize an algorith(coded by C) performance, I compiled the algorithm as  a library with ARM compiler 6.

    But another problem appears that the library will be called by older ARM compiler 5 project.

    I want to know:

    1) Whether Can ARM compiler…

    • 10 months ago
    • Software Tools
    • Arm Compilers forum
  • How to build an OpenCV project using ARM compiler 6

    TakiEddine
    TakiEddine

    I am trying to build a C++ OpenCV project with ARM compiler 6 in ARM development studio ide. I already, downloaded version 3.2.0 from the GitHub repository of OpenCV and built it for the  MinGW compiler using CMake GUI in windows. When I configure my project…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • How to check images created by different ARM Compilers (Specifically CLANG 6.13.1 vs 6.12)

    Seng Tak GOH
    Seng Tak GOH

    Hi,

    I have a strange issue, that on a bootloading project of mine worked if compiled with ARM Compiler 6.12 but did not if compiled with 6.13.1.

    The function of the firmware is very simple: when it boots, it checks a (volatile) memory  location for new…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • Migrating from armcc to armclang causes section type conflict

    embedded.kyle
    embedded.kyle

    I am trying to migrate an existing project from armcc to armclang using Keil. Most of the new errors generated by simply switching the compiler have been easily cleaned up with help from their migration guides. But I cannot seem to fix the following error…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • ARM Linker defined symbols are not counted as referred from a steering file.

    Andrii
    Andrii

    I'm making XEN hypervisor being able to be built with ARM Compile 6 (6.6.3 in particular).

    When built with GNU tools XEN hypervisor uses number of symbols defined in a linker script. E.g. [1].

    Unfortunately, I did not find how to define symbols in…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • ARM Compiler 6 compiles data only C file with SoftVFP attribute.

    Andrii
    Andrii

    I'm making XEN hypervisor being able to be built with ARM Compile 6 (6.6.3 in particular).

    During the work, it was discovered a weird armclang compiler beahviour. When compiling a C file with only a data definition (no executable code, e.g. [1]), resulting…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • How to rename sections using ARM Compiler 6 tools?

    Andrii
    Andrii

    I'm making XEN hypervisor being able to be built with ARM Compile 6 (6.6.3 in particular). While the hypervisor sources are compiled with armclang and linked with armlink into functional binary, some intermediate steps still require GNU toolchain.…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • __arm macro meaning and purpose

    msbidari
    msbidari

    Hi,

    We observe that there are several macros being defined in ARMCLANG. It would be helpful, if we know the meaning or purpose of these macros and will help us to use these macros judiciously:

    [11864215]__arm64
    [11864216]__arm64__
    [11903057]__arm
    [11903060…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • CoreLink DMA-330 compiler/assembler

    alemannia
    alemannia

    Hi,

    I'm working on SoC with ARM Cortex A9 processor and a CoreLink DMA-330 IP. The DMA controller has its own assembly instructions. My question is: How do I compile this DMA specific instruction set? DO I simply use the ARM Compiler (6) or do I need…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • Interoperability for c++ between armclang and gcc(linaro)

    Yunus Y.
    Yunus Y.

    Hi;

    I have built 'Compute Library'  as said in Bare Metal Building section of documentation by using Linaro toolchain on Ubuntu. I'm targetting bare-metal.

    On another machine, I want to use this library but this machine has an Arm Compiler…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • Linker Internal fault: [0xe81a5a:6120001]

    klogg
    klogg

    Hello

    While compiling Xen hypervisor with ARM DS 2019.0 (arm compiler 6.12) I am getting Internal fault: [0xe81a5a:6120001] with linker. Full build log attached.

    Any pointers?

    Diff for build can be found in the xen-devel mailing list https://lists.xenproject…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • ARM Compiler 6 - Optimization guidelines

    ToddS
    ToddS

    In the V5 to V6 compiler migration document is the following with respect to optimzations

    -O0 No Optimization. Not recommended for use in ARM Compiler 6.6

    -O1 Limited Optimization. This is currently the recommended level for source level debugging.

    …
    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • ARM Linker warning L6776W

    amanning
    amanning

    I am using the ARM clang tool chain version 6.10.1.

    The linker is showing the following warning:

    Warning: L6776W: The debug frame in .debug_frame(CHostComm.o) does not describe an executable section.

    I have no idea why this is coming or how to solve the…

    • Answered
    • over 2 years ago
    • Software Tools
    • Arm Compilers forum
  • Understanding defect fixes listed in Compiler Release Notes

    Michael Hul
    Michael Hul

    I see that the lists of corrections / known defects in the release notes of each new compiler revision are tagged with a unique identifier (ex. SDCOMP-15294). Is it possible to find further information about these items such as steps to reproduce? Or…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • ARM Compiler V6 (Clang) license terms

    dotanziv
    dotanziv

    Hi,

    I was wondering if the V6 compiler (LLVM based) is free to use or it is required a license (uVision, DS-5, etc)?

    Assuming my customer doesn't work with ARM tools (for example, Eclipse open OCD). Can he still work with V6 arm compilation tools?

    …
    • over 3 years ago
    • Software Tools
    • Arm Compilers forum
  • ARM Compiler 6 (CLANG) and bit-banding

    Marco Stucchi
    Marco Stucchi

    Hi, did Compiler 6 CLANG drop support for bit-banding for Cortex M3 and M4 ? I can't find any reference to such a feature.

    Thank you,

     Marco

    • Answered
    • over 3 years ago
    • Software Tools
    • Arm Compilers forum
  • I need a compiler

    ahmednader
    ahmednader

    I downloaded the DS-5 community to build my OS on ARM cpus but I don't have a free compiler for C so i downloaded the ARM c compiler 6 but can't work for no license . now what do i do ? i need help

    • over 3 years ago
    • Software Tools
    • Arm Compilers forum
  • View related content throughout Software Tools
  • More
  • Cancel
>