Questions tagged [eabi]

Relating to ARM, MIPS, PowerPC, etc EABI calling conventions and interoperability. Tag with architecture as well.

ABI stands for Application Binary interface. EABI is for embedded use. The ABI covers calling conventions, data alignments, OS call formats and often language and tool interoperability issues.

In the context of ARM Linux, a system call convention change was made. This is typically an OABI versus EABI.

The ABI effects code generation of compilers and can relate to threading, floating point, stack traces, shared libraries and stack overflows.

See also:

79 questions
0
votes
1 answer

Identify Compiler Versions with arm-none-eabi cross compiling

I'm trying to figure out the compiler versions that are used in my project (to sync them across the team). I'm using ChibiOS on an STM32 and it uses a makefile to compile. In the Makefile it uses TRGT = arm-none-eabi- CC = $(TRGT)gcc Which makes…
Julian
  • 915
  • 8
  • 24
0
votes
1 answer

why is there a b (branch) instruction just before the end of a procedure in many arm64 procedures?

This is from linux source arch/arm64/kernel/head.S showing the kernel start. The code first calls preserve_boot_args and next calls el2_setup using bl(branch and link). I showed the procedure preserve_boot_args also. SYM_CODE_START(primary_entry) …
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
0
votes
0 answers

Tensorflow lite build fails for ARM926 processor

All, I am trying to build the tensorflow lite for my target processor ARM926EJ-S processor (ARM5te architecture). I've replicated the build script and build settings for my target processor from Rasp PI build script and settings. Here are my build…
arm
  • 117
  • 1
  • 3
  • 10
0
votes
1 answer

ARM C++ Cross-Compiling: usual default includes available?

I am x-compiling bare metal C++ for ARM Cortex_M7 with the arm-none-eabi-gcc/g++ toolchains and it works fine, flashing nice firmware on my board. Now, when/if I want to include to "good old" C++ , , ... files, I get…
bli
  • 93
  • 6
0
votes
0 answers

How can I be sure a library doesn't use wchar_t

While I worked to link a library on a new platform, I got the following error: foo.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail I searched stackoverflow and found this thread: How to…
yeger
  • 351
  • 2
  • 15
0
votes
1 answer

Is there a way to build cpputest with pthreads disabled?

I'm planning to use cpputest as a testing framework in my project which I need to cross compile as it will be used on ARM platform. The compiler I'm using for ARM development is arm-gcc which is built with pthreads disabled. Due to this, I need to…
M.K.
  • 1
  • 1
0
votes
2 answers

How to prevent vector operation optimization over this function with arm-none-eabi-gcc compiler?

My code I am working with a simple code that uses this function in an academic project: void calculateDistanceMatrix(const float data[M][N], float distance[M][N]) { float sum = 0.0; for(int i = 0; i < M; i++) { …
0
votes
2 answers

Cannot flash ARM device - "The Intel Hex file does not start with ':'"

I have a codebase that has been working fine with arm-none-eabi-gcc. I wanted to keep most of my source files in C while adding C++. I had some issues compiling this but finally seemed to successfully compile for my device (Atmel ATSAMG55). However,…
0
votes
0 answers

How to use arm-none-eabi with multiple files?

I'm trying to make a modified version of the FlySky FS-i6 firmware. After a bit of searching, I found someone who decompiled the source code here. I'm trying to compile using arm-none-eabi, which I already have installed from the Arduino IDE. Here's…
Pecacheu
  • 368
  • 1
  • 3
  • 13
0
votes
0 answers

Cannot link `__aeabi_X` functions without linking in newlib

Code: double a = 1.1; double b = 2.2; void test(void) { double c = a + b; // <-- This line generates the __aeabi_dadd function. } When I try to compile, I get undefined reference to __aeabi_dadd. I don't want to use newlib, but it looks like I…
user6754053
0
votes
1 answer

Using FreeScale Code Warrior to link GCC object files with __eabi calls in main

I'm linking with FreeScale Code Warrior 5.9 for MPC5554, which is a PPC chip with an e500mc core. I'm compiling with GCC 4.6.4 compiled for powerpc-none-eabi. I am compiling some C code for my project, including the file with main, using a GCC…
seanmk
  • 1,934
  • 15
  • 28
0
votes
0 answers

Compiling using GNU Tools for windows

I am trying to compile a thumb code using gcc (from GNU Tools ARM Embedded). by typing the command line gcc.exe C:\foo.c -o foo.o -mthumb I get the following errors: c:/program files (x86)/gnu tools arm embedded/5.2…
ASmith
  • 21
  • 2
0
votes
1 answer

Error running cross-compiled code with pthread

I'm uing ARM_EABI cross-compiler to compile a code that makes use of pthreads to run at an ARM Cortex A9 simulation. While I'm able to compile it with no problems (just as I've did with others non-pthread applications, which ran fine in the…
GennSev
  • 1,586
  • 4
  • 20
  • 29
0
votes
1 answer

shared library function not getting called in lollipop

I have got the .so library from a third party company which used android ndk to build that and I am supposed to call some functions defined in this library. I am able to compile the code and linking also happens properly. However the function call…
newbie_old
  • 500
  • 5
  • 19
0
votes
0 answers

error when building the arm-none-eabi toolchain

FOREWORD : My build system is based on Ubuntu 14.04 LTS server edition I have bumped into a common issue while cross-compiling binutils for the arm-none-eabi toolchain. After downloading the sources from…
user2457613
  • 61
  • 1
  • 6