Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] undefined reference to `d6'


  • To: Tyler Conant <tconant@xxxxxxxxx>
  • Subject: Re: [arm-gnu] undefined reference to `d6'
  • From: Richard Earnshaw <rearnsha@xxxxxxx>
  • Date: Wed, 03 Feb 2010 09:57:54 +0000

On Tue, 2010-02-02 at 14:36 -0700, Tyler Conant wrote:
> I forgot to include the version:
> arm-none-linux-gnueabi-gcc --version
> arm-none-linux-gnueabi-gcc (CodeSourcery Sourcery G++ Lite 2007q3-51)
> 4.2.1
> 
> 

I seam to recall that being a bug in the assembler of that version.
You'll need to upgrade to a more recent release.

R.

> 
> On 2/2/10 1:33 PM, "Tyler Conant" <tconant@xxxxxxxxx> wrote:
> 
>         I’m compiling FAAC with the following options:
>         -Wall -O3 -g -mcpu=cortex-a8 -mfpu=neon -ftree-vectorize
>         -mfloat-abi=softfp -ffast-math -fsingle-precision-constant
>         -I/home/tconant/rr_sdk/branch/v1.88/fs/fsdev/usr/include
>         -I/home/tconant/rr_sdk/branch/v1.88/fs/fsdev/include
>         
>         I’ve changed the FAAC to use single precision rather than
>         doubles. When compiling I get the linker error:
>         ../libfaac/.libs/libfaac.so: undefined reference to `d6'
>         
>         Am I building against the wrong library? Are there separate
>         libraries for neon support?