• address sanitizer in ARM GNU-A 8.2-2018.11 arm-linux-gnueabihf

    ichigo663
    ichigo663

    Hi all,

    I'm trying to compile my application with -fsanitize but when linking it fails complaining that it cannot find any library for the linker flag '-lasan'. I did check and it seems that the ARM toolchain 8.2-2018.11 does not ship with…

    • Answered
    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • what library used on arm gcc none eabi ?

    Ben Chen
    Ben Chen

    1. Does arm-gcc-none-eabi and newlib is packed?

    2. Why arm-gcc-none-eabi need glibc 2.14?

    I have a problem when I use arm gcc none eabi cross compiler.

    "version GLIBC_2.14 not found"

    Then I install glibc 2.14 and add to LD_LIBRARY_PATH. It's perfect…

    • Answered
    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • Using Compute Library in a c++ project as static library, build with linaro gcc 7.3

    Yunus Y.
    Yunus Y.

    Hi again;

    I've built ComputeLibrary in an Linux Environment using gcc 7.x version targetted for bare_metal and armv7a. Build was succesfull and I have 3 library (.a extension) files called

    'arm_compute__core-static'

    'arm_compute_graph…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Multiple Application Code with Bootloader

    eugch
    eugch

    Hello,

    Looking for some pointers on the scenario below. I'm fairly new to firmware and bare-metal programming.

    In the system I'm working on, I am looking to get a bootloader and 2 application programs compiled. The 2 application programs will be placed…

    • Answered
    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain 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
  • How to assign own glibc path to aarch64-elf-gcc

    YL Shen
    YL Shen

    1.
    aarch64-elf-gcc need use glibc2.14 while our central version up to glibc-2.12 only
    2.
    I have downloaded glibc-2.14 in my local directory
    3.
    There is a limitation in my environment that if I add glibc-2.14 path into LD_LIBRARY_PATH directly, DS-5 eclipse…

    • Answered
    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • How to use aarch64-elf-gcc to print hello world

    YL Shen
    YL Shen

    1.
    aarch64-elf-gcc need use glibc2.14 while our central version up to glibc-2.12 only
    2.
    I have downloaded glibc-2.14 in my local directory

    3
    I try to set LD_LIBRARY_PATH to my local glibc-2.14 directory then isuue following command:


    >>>>>>>>>>>>>>>>>>…

    • Answered
    • over 1 year ago
    • Software Tools
    • Arm Development Studio forum
  • Problem with GCC and string.h and stdlib

    nehal nehal
    nehal nehal
    Note: This was originally posted on 8th October 2008 at http://forums.arm.com

    Hi everyone,

    i have following trouble with keil arm gnu compiler. i have recently moved to gnu and now i am having hard time to set it up.

    description of problem: i am using real…
    • over 7 years ago
    • Software Tools
    • Keil forum
  • Cortex A8 Problem with RVDS or ARM GCC?

    Ranjith Kumar
    Ranjith Kumar
    Note: This was originally posted on 4th March 2009 at http://forums.arm.com

    Hi All,

              My application is not running in ARM Cortex A8. But same application is working in ARM9e. I have compiled using --cpu=cortex-a8 or --cpu = 7-a. Is their any specific…
    • over 7 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Pass in an immediate value to an inline assembly function

    Mike Handler
    Mike Handler
    Note: This was originally posted on 6th March 2009 at http://forums.arm.com

    Hi,

    I would like to pass in an immediate value to an inline assembly function, such as in this example:

    inline int foo(int a, int b, const int immed)
    {
       register int result;…
    • over 7 years ago
    • Software Tools
    • Arm Compilers forum
  • ARM GCC Retarget dosen't work in coresight example

    Ben Chen
    Ben Chen

    I have not seen any axi transfer when I run coresight example helloworld.

    And the cpu program counter stopping in some code

    I have some questions when I check my IMAGE0.lst file

    1 .why printf is branch to putchar instead of printf in coresight example?

    2. Is…

    • Answered
    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • Shifted binary produced by arm-none-eabi-objcopy

    en2senpai
    en2senpai

    Greetings, 

    Im currently trying to fix a strange behavior of objcopy, which sometimes generates invalid output binary image with 0x4 byte shift. 

    I found this issue because this shift was affecting my __init_array_start__ table (which is indeed pointing…

    • over 1 year ago
    • Processors
    • Cortex-A / A-Profile forum
  • Shifted binary generated by arm-none-eabi-objcopy

    en2senpai
    en2senpai

    Moved to:

    https://community.arm.com/developer/ip-products/processors/f/cortex-a-forum/43775/shifted-binary-produced-by-arm-none-eabi-objcopy

    • Answered
    • over 1 year ago
    • Processors
    • Classic processors forum
  • [CMSIS-Driver] Rationale of volatile in type of GetStatus

    Zeb
    Zeb

    Dears,

    Whould you please help me understanding why "volatile" has been introduced since CMSIS-Driver v2.2 into the "status" type?

    For instance, here : https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/Driver/Include/Driver_I2C…

    • over 1 year ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Optimization difference between C and C++

    B_Cartier
    B_Cartier

    I  noticed a optimization difference between compiling a simple source code with ARM GCC in C and C++. The C++ version seems to optimize a lot less stack usage.

    To demonstrate this problem, I compiled the following code with arm-none-eabi-gcc version gcc…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Cross-compiling for Cortex-A9 with GCC

    dsanz006
    dsanz006

    Arm offers 2 different GCC toolchains: one for Cortex-M/R devices and the other one for Cortex-A devices. However, in the Cortex-M/R toolchain documentation, it is specified that Cortex-A targets are accepted too, so this confuses me: why is there another…

    • Answered
    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • Warning: It blocks containing 32-bit Thumb instructions are deprecated in ARMv8 with GCC 4.9

    Carlos Delfino
    Carlos Delfino

    Dear colleagues.

    I am compiling the Intel TBB in an effort to optimize my code to the Cortex-M53, however, because I was still forced to use GCC 4.9 I'm getting some warning messages about the use of  32bit Thumb Instrucions in IT blocks:

    Warning…
    • Answered
    • over 4 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Support for std::thread and other synchronization primitives, e.g. std::mutex...

    lt72
    lt72

    I would like to know if any of the compilers/libraries for Cortex-M support the std::thread type (from the <thread> header) or if there is any plan to support that in the near future. I am interested in both Keil MDK / DS-5 or GCC for ARM. Thank you!…

    • Answered
    • over 3 years ago
    • Software Tools
    • Keil forum
  • Code reuse attacks: the compiler story

    Luke Cheeseman
    Luke Cheeseman

    How does a developer prevent an attacker from taking control of a program when the developer is providing the tools to the attacker? What are code reuse attacks and how can the Arm Architecture remove the vulnerabilities? How can someone use these architectural…

    • over 1 year ago
    • Software Tools
    • Tools, Software and IDEs blog
  • multiple definition of `__stack_chk_fail'

    Alexandre Gonzalo
    Alexandre Gonzalo

    Hi,
    I am trying to migrate GCC from 7.2.1 to 8.3.
    To do so, I took the prebuilt binaries from your website
    developer.arm.com/.../downloads

    I used to take the packages from Linaro in the past.
    I am using the bare metal binaries for AArch64.
    I have the following…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • arm-none-eabi-gcc (bleeding-edge-toolchain) 9.1.0

    Freddie Chopin
    Freddie Chopin

    I've just created another release of my bleeding-edge-toolchain script, which builds a complete toolchain for ARM microcontrollers. This toolchain uses the most recent versions of all possible components:

    • gcc-9.1.0
    • newlib-3.1.0
    • binutils-2.32
    • gdb…
    • Answered
    • over 1 year ago
    • Processors
    • Cortex-M / M-Profile forum
  • how do i install gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 in ubuntu 18

    jenewari
    jenewari

    how do i install  gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 in ubuntu 18.

    I have unzipped it to a directory as explained but I couldn't use it.

    any help, thanks

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • gcc-arm-none-eabi-8: GDB segmentation fault

    Moretti
    Moretti

    I'm seeing a segmentation fault in gcc-arm-none-eabi-8-2018-q4-major when I try to debug a binary written in Rust (it's actually the TockOS kernel).

    Rust is actually using LLVM nightly to generate the binary. I wonder if that's causing issues…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • gcc 8.3-2019.03 windows i686-mingw32_arm-linux-gnueabihf?

    alt_f4
    alt_f4

    hello,

    we use the linaro build: gcc-linaro-4.9.4-2017.01-i686-mingw32_arm-linux-gnueabihf and want now to update to v8.3.

    is the new version, or similar version gcc v8.3 also available for windows?

    i found only the bare-metal versions for windows.

    thanks…

    • over 1 year ago
    • Software Tools
    • Arm Compilers forum
  • Resetting the stack pointer in "noreturn" functions?

    Tarjeik
    Tarjeik

    Architecture: Cortex-M0

    Toolchain: gcc-arm-none-eabi-6-2017-q2-update, gcc-arm-none-eabi-8-2018-q4-major

    In an attempt to mitigate the possibility of stack overflow I would like to reset the stack pointer after entering a function that will never return…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
<>