[arm-gnu] undefined reference to _init

Brad Badke BBadke at hemispheregps.com
Sat Oct 27 02:09:19 UTC 2012


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???

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

-----Original Message-----
From: arm-gnu-bounces at codesourcery.com [mailto:arm-gnu-bounces at codesourcery.com] On Behalf Of Brad Badke
Sent: Friday, October 26, 2012 6:45 PM
To: Carlos O'Donell
Cc: arm-gnu at codesourcery.com
Subject: Re: [arm-gnu] undefined reference to _init

Well, I installed your 30 day trial. I would have thought I could just redirect my makefile and ld file to the new compiler and linker and all would work just fine, but I get two linker errors:

undefined reference to `__cxa_pure_virtual'

and 

undefined reference to `abort'

I can make my own abort easy enough but the `__cxa_pure_virtual' is a problem.

-----Original Message-----
From: Carlos O'Donell [mailto:carlos_odonell at mentor.com]
Sent: Thursday, October 25, 2012 5:35 PM
To: Brad Badke
Cc: arm-gnu at codesourcery.com
Subject: Re: [arm-gnu] undefined reference to _init

On 10/25/2012 8:29 PM, Brad Badke wrote:
> So I have my application/RTOS running on an ARM Cortex-A8 using the 
> free version of Code Sourcery (arm-none-eabi /4.6.3). My 
> application/RTOS fully supports hardware floating point (neon). With 
> the free version of the Code Sourcery math libraries the performance 
> is pretty slow compared to the same code built with the ARM RVDS4.1 
> tool chain.
> 
> 
> 
> So I am curious if anyone can comment on how much performance would 
> improve with the optimized libraries that come with the 
> Personal/Standard/Professional editions. My application performs a lot 
> of math.

You're application is the best benchmark.

Go get a 30-day evaluation of the tools and try it out?

http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/overview

Cheers,
Carlos.
--
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell at mentor.com
carlos at codesourcery.com
+1 (613) 963 1026
_______________________________________________
arm-gnu mailing list
arm-gnu at codesourcery.com
http://sourcerytools.com/cgi-bin/mailman/listinfo/arm-gnu



More information about the arm-gnu mailing list