[arm-gnu] undefined reference to _init

Brad Badke BBadke at hemispheregps.com
Sat Oct 27 01:45:11 UTC 2012


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



More information about the arm-gnu mailing list