[arm-gnu] undefined reference to _init

Carlos O'Donell carlos_odonell at mentor.com
Sat Oct 27 13:31:22 UTC 2012


On 10/26/2012 10:09 PM, Brad Badke wrote:
> The linker error was only in my debug build not my release build. Why, I don't know!
> 
> The bigger problem is that I have now built with your eval edition and my app does not run any faster at all!
> 
> So I started looking through your directories for the math libraries and I see that all the directories related to VFP and NEON are empty.
> 
> Do you not give these out with the eval???

We do give them out.

> Hard for me to evaluate and compare against ARM RVDS4.1 if I do not have the libraries I need.

As an evaluator you can file support tickets to get help from our support team and engineering.

In this case the answer to your problem is as follows:

(a) Make sure you set the right flags to enable using the runtimes you want.

See Chapter 3 "Base Library Configurations"

also see: https://sourcery.mentor.com/GNUToolchain/kbentry29

and

(b) Make sure you install any additional runtimes you want to use.

See Chapter 2 "Installing Add-ons"

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell at mentor.com
carlos at codesourcery.com
+1 (613) 963 1026



More information about the arm-gnu mailing list