• Strange behaviour of ld saving vma and lma infos into elf

    mastupristi
    mastupristi

    The question concerns the vma and lma that can be expressed in the linker script with the keyword AT.

    let’s take the following linker script:

    /* Entry Point */
    ENTRY(main)
    
    /* Specify the memory areas */
    MEMORY
    {
      FLASH (rx)      : ORIGIN…

    • 6 months ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • printf retargetting for nano-specs Cortex M0

    eugch
    eugch

    With nano-specs I can't get printf statements like this to work where it needs to take in values from a variable.

    printf ("Data1 %d\n", data1);

    A simpler printf with just characters work ok.

    printf ("abc\n");

    Per the standard CMSDK…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Invalid assembly instruction MOV PC, R13 Cortex M3

    Umut Umut
    Umut Umut
    Note: This was originally posted on 24th March 2009 at http://forums.arm.com

    Hi,

    I am trying to compile linux kernel 2.27 with CodeSourcery GNU toolchain 4.3.2 and somehow I am getting assembler error for instruction

    MOV PC, R13

    Well, for some reason ARM…
    • over 7 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • How to clean the L1 cache from Linux user space?

    ann
    ann

    There is a requirment for me to clean the L1 cache from Linux user space.

    There is a DMAC in my SoC platform and this DMAC should read its mirco-code from L2 cache all the time.

    When I need to update the DMA mirco-code located in a main-memory, I have two…

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • ARM 7 TDMI

    Jagath
    Jagath

    Hello I am  new to this forum and new to Arm 7 programming.

    My question is - I have a programming (I think it is a Flash) file in hex ,which I downloaded to Arm 7 MCU through Rlink usb tool to run the programme.

    If I need to modify this programme how…

    • Answered
    • over 5 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Is there a maximum length of compile path ?

    Micheal Kang
    Micheal Kang

    Hi, I have a problem something weird.

    I made some cpp files in my project folder and made a Makefile to compile easier.

    The problem is that if compile path is longer than specific length, the compile error was occured.

    Only difference between success and…

    • Answered
    • over 5 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • 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
  • Why TUI mode is not supported in arm-none-eabi-gdb?

    Ismail
    Ismail

    I downloaded and used toolchains from the following page, and noticed that TUI is not supported in version 7-2018-q2 at Linux. What is the reason to not support TUI in arm-none-eabi-gdb? 

    https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downl…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Support for inline functions in C mode

    Regus Pregus
    Regus Pregus

    When trying to compile the following file using arm-none-eabi-gcc-7.3.1 I get a linker error.

    inline int test()
    {
    	return 0;
    }
    
    int main(int argc, char* argv[])
    {
    	test();
    	return 0;
    }
    

    Command line: arm-none-eabi-gcc.exe test.c --specs=nosys…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GNU8 cross-toolchain 8.2-2018.08: compile from source

    Andrej Gantvorg
    Andrej Gantvorg

    Hello,

    I would like to build the aforementioned toolchain from source. Previous releases by Linaro contained a framework called ABE that allowed to do it in a rather convenient way.

    The source tarball currently published here contains only raw sources…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GNU Arm Embedded ld with LTO support

    mastupristi
    mastupristi

    The current version 7-2018-q2-update of GNU Arm Embedded Toolchain contains arm-none-eabi-ld.bfd, so it does not support Link Time Optimization (LTO).
    Is there a problem if I try to compile the LTO version? Is the new linker lto hoping to work? Why wasn…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GCC 7.2.1 on Cortex-M4 - C++ exceptions not being caught

    David R.
    David R.

    Hi all, first post.  I've posted about this issue in the NXP forums, and it was suggested I post here, since this may be a GCC toolchain issue (if it's not somehow my own fault).  If there's a better place to post this, let me know.  (I didn…

    • Answered
    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Problems with pre-built GNU8 in Windows

    Jyrki K.
    Jyrki K.

    Hi,

    I tried to use gcc from gcc-arm-8.2-2018.08-i686-mingw32-aarch64-elf.tar.xz in Windows 10 but encountered the following problems:

    1. I was not able to extract the files from the above tar successfully in Windows because the tar contains symbolic and…
    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • "init (1): undefined instruction: pc=b6fce0a8" during mounting ARM BE Root file system

    Pankaj P
    Pankaj P

    Hi, 

    I am getting below  mentioned error when kernel is trying to mount Big endian NFS root filesystem.  

    [ 9.091012] devtmpfs: mounted
    [ 9.094985] Freeing unused kernel memory: 1024K
    [ 9.114876] init (1): undefined instruction: pc=b6fce0a8
    [ 9.120227] CPU…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • arm-none-eabi-ar: ../src/n1_main.o plugin needed to handle lto object

    HaleyXu
    HaleyXu

    Dear all,

    I use arm-none-eabi-gcc 7.2.1 in my project, when I want to use -flto option to optimize bin size, error shows:

    ../../../tools/gcc/linux/gcc-arm-none-eabi/bin/arm-none-eabi-ar: creating /proj/lib_m.a
    ../../../tools/gcc/linux/gcc-arm-none-eabi…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Occurrence of a Data Abort exception in bare board application executing on i.MX6 based board

    teamrtos
    teamrtos

    We have developed a bare board software on NXP’s i.MX6 based platform.  The bare board software enables MMU after initializing a single ARM Cortex-A9 processor to execute a small application.

    Initial State

    1. All caches are disabled.
    2. L1 prefetch d…
    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Any suggestion on the best way to include all the paths for header files using GCC and Eclipse plugin for GNU GCC ARM?

    Manoel De Souza
    Manoel De Souza

    Hello all..

    I've developed all my life using IAR and I was willing to give a try on GNU GCC for ARM.

    To start I have few folders and few files in a project which requires configuration to add the path for all header files using the -I key.

    Is there…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • __hardfp_xxx symbols not found by gcc linker

    fbcp
    fbcp

    I am working on a project where a static library is built with the ARM tool chain using the hard-float abi, and then is linked with other object files (generated with gcc). The linker is the gcc linker, and the linking stage takes place on a Raspberry…

    • Answered
    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Introducing section within a section in WinARM GCC tools...

    dsphani
    dsphani

    Hi,

    This question is on using WinARM, GCC and mainly on loader (.ld).  Please pardon me if the post does not suit the thread.

    I am using WinARM GCC tools for compiling, linking the code for LPC2378 (NXP Controller). This worked great until recently. Now…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Windows version of arm-linux-gnueabi and arm-linux-gnueabihf for gcc8

    Uban
    Uban

    Hello !

    It seems like the binaries for the windows version of arm-linux-gnueabi and arm-linux-gnueabihf has been removed in gcc8. Have the support for windows been removed or will it appear ?

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Prebuilt GNU8 - AArch64 GNU/Linux target (aarch64-linux-gnu)

    Nagaraju
    Nagaraju

    Hi,

    I have downloaded the new AArch64 GNU/Linux target (aarch64-linux-gnu) binaries and they are working fine.

    Can someone please let me know the the configurations flags used to build these toolchains.

    Earlier I have used ABE tool (from Linaro) to build…

    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • GCC and GDB for native compiling and debugging

    Lumin
    Lumin

    Hello,

    I 've a module with a Cortex-M4 Vybrid VF61 processor and an installed linux.

    The installed linux does not provide gcc and gdb for native compiling and debugging.

    Please, can anybody tell me, where I can download a prebuilt gcc and a prebuilt…

    • Answered
    • over 1 year ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Cygwin compile of bare metal ARMv8 cross-compiler

    CosmicPi
    CosmicPi

    I am trying to get a cross-compiler built to run on my Windows box.  One route I'm trying is to use Cygwin to build the compiler.

    I've tried several attempts with the latest sources but hit upon some compile snags.  Has this been done before?  Google…

    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Generating .elf files with ARM toolchain

    PMG100
    PMG100

    Hello.

    I'm fairly new to embedded software development, and could use some clarification on how to generate .elf files from .c files.

    I've recently downloaded the following toolchain installation:

    developer.arm.com/.../gcc-arm-none-eabi-7-2017…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • Incorrect Thumb operand strange behaviour

    Evgeniy Rahimov
    Evgeniy Rahimov

    Hello,

    I am trying to compile some asm code with operand unable to be used as immediate, but compiler does not generate error but produce strange binary code, hard to detect erroneous code.

    The source code

    int main(void)
    {

            asm volatile ( "mov r0, #0x1234…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • GNU Toolchain forum
  • View related content throughout Open Source Software and Platforms
  • More
  • Cancel
>