• 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
  • 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
  • Compiling Xen for Juno

    armdev
    armdev

    Hi,

    I am trying to run Xen on Juno r0 board and while compiling the Xen code getting following error -

    make xen XEN_ARCH_TARGET=arm64 debug=y CONFIG_EARLY_PRINTK=juno

    make -C xen install

    make[1]: Entering directory `/home/nishaj/Xen/xen/xen'

    make -f Rules…

    • Answered
    • over 5 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Xen/dom0 on Juno

    Justin
    Justin

    Hey all,

    I have been playing around with Xen and Dom0 on a Juno r0 board. Currently dom0 is failing to initailize USB. This is an issue because the rootfs depends on the usb.

    usb 1-1: new high-speed USB device number 2 using ehci-platform

    usb 1-1: device…

    • Answered
    • over 4 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Exception running Bare metal code on JUNO r0 platform

    Amit
    Amit

    Hi,
    I am using Juno platform to run example Baremetal codes provided by DS-5 software examples. I have followed the steps as suggested in www.community.arm.com/.../tutorial-baremetal-development-on-the-juno. I have used precompiled Image copied on MMC…

    • Answered
    • over 3 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Help configuring PMU's

    luismartins
    luismartins

    Hi,

    I'm trying to enable PMU's on arm versatile juno r2 development board.

    I've already read this manuals from arm:
    ARM ® Cortex ® -A72 MPCore Processor
    ARM® Cortex ® -A53 MPCore Processor
    Juno r2 ARM® Development Platform SoC…

    • Answered
    • over 2 years ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • Crosscompiling C++ Ubuntu / Raspberry Pi

    anneranch
    anneranch

    I am using Eclipse IDE to crosscomplie C++ code.

    When I croosscompile Linux / Ubuntu C++ code for Raspberry Pi 3B (ARM7) I have no issues with actually running the code  on the target.  It all works as expected. I am using just plain "hello word " as test…

    • over 1 year ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • aarch64 Cross compilation error (GLIBCXX_3.4)

    FendtC
    FendtC

    Hi,

    I've a software successfully cross compiled with the ARMHF cross compilation toolchain and i try to port it on AARCH64...

    Compilation works, but link failed with some "undefined reference ...@GLIBCXX_3.4"

    i try the command " strings…

    • over 1 year ago
    • Open Source Software and Platforms
    • Arm Development Platforms 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
  • View related content from anywhere
  • More
  • Cancel
>