[#6257] For 2010r1-rc2, all files in gcc.target/bfin/builtins/ can't compile due to "cannot find -lbffastfp"

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6257] For 2010r1-rc2, all files in gcc.target/bfin/builtins/ can't compile due to "cannot find -lbffastfp"

Submitted By: Vivi Li

Open Date

2010-09-16 05:29:05     Close Date

2010-09-29 03:36:10

Priority:

Medium High     Assignee:

Vivi Li

Stuart Henderson

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

2010r1-rc2     kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: For 2010r1-rc2, all files in gcc.target/bfin/builtins/ can't compile due to "cannot find -lbffastfp"

Details:

 

For 2010r1-rc2, all files in gcc.target/bfin/builtins/ can't compile with "-ffast-math -mfast-fp -O2" or "-mfast-fp -O2" options, as it says "cannot find -lbffastfp".

 

Bellow are examples:

--

spawn bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.target/bfin/builtins/abs_fr1x16-1.c -w -ffast-math -mfast-fp -O2 -W -Wall -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -fno-show-column -lm -mcpu=bf527-0.2 -o /home/test/work/cruise/temp/regtest_build4.3/gcc_build/testsuite/abs_fr1x16-1.x6

 

/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.5/../../../../bfin-linux-uclibc/bin/ld: cannot find -lbffastfp

collect2: ld returned 1 exit status^M

compiler exited with status 1

--

 

--

spawn bfin-linux-uclibc-gcc /home/test/work/cruise/checkouts/toolchain/gcc-4.3/gcc/testsuite/gcc.target/bfin/builtins/abs_fr1x16-1.c -w -mfast-fp -O2 -W -Wall -DSTACK_SIZE=0x1f000 -DNO_TRAMPOLINES -fno-show-column -lm -mcpu=bf527-0.2 -o /home/test/work/cruise/temp/regtest_build4.3/gcc_build/testsuite/abs_fr1x16-1.x7

 

/opt/uClinux/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.3.5/../../../../bfin-linux-uclibc/bin/ld: cannot find -lbffastfp

collect2: ld returned 1 exit status

compiler exited with status 1

--

 

Follow-ups

 

--- Stuart Henderson                                         2010-09-16 08:41:35

i can't reproduce this.

 

are you getting this on more than one test machine?  could be a config issue.

 

--- Stuart Henderson                                         2010-09-16 09:52:47

ok, reproduced this now.  this occurs when using uclibc-full as well.

 

--- Stuart Henderson                                         2010-09-17 20:35:06

looking at the spec and config files for uclibc-full, it looks like we need the

following changes:

1-libdsp.tar.bz2 needs to be added to blackfin-toolchain-uclibc-full.spec

2-the KERNEL_HEADERS field needs to be updated in full-config

 

i'm testing the changes locally.

 

--- Mike Frysinger                                           2010-09-17 21:19:45

the kernel path is irrelevant.  the build script takes care of setting to the

right place.  there is no way of knowing ahead of time what the exact path is

going to be at build time.

 

--- Stuart Henderson                                         2010-09-20 09:21:35

ok, i've added the missing libdsp sources to the spec on trunk and branch.  this

will be fixed in RC3.

 

--- Vivi Li                                                  2010-09-29 03:36:10

OK on RC3.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

gcc_log.tar.gz    application/x-gzip    840122    Vivi Li

Attachments

Outcomes