[#4848] Building shared-flat oprofile failed at not finding bfd library

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

[#4848] Building shared-flat oprofile failed at not finding bfd library

Submitted By: Vivi Li

Open Date

2009-02-03 02:57:31     Close Date

2009-03-02 05:48:07

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Make Errors     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-2009-01-19

App binary format:

N/A     

Summary: Building shared-flat oprofile failed at not finding bfd library

Details:

 

Build oprofile in shared-flat format, it failed at not finding bfd library.

 

Bellow is the message:

--

checking compile and link profiling code... no^M

checking whether to enable gunzip support... yes^M

checking for gunzip... /usr/bin/gunzip^M

checking whether to enable access control support... no^M

checking whether to compile and link debugging code... yes^M

checking whether to disable verbose/debug logging... yes^M

checking whether to link with the Dmalloc memory debugger/profiler... no^M

checking whether to link with the Electric Fence memory debugger... no^M

checking whether to enable the use of the sendfile(2) system call... yes^M

checking sys/sendfile.h usability... no^M

configure: error: bfd library not found^M

yes^M

checking sys/sendfile.h presence...   DOC     busybox.pod^M

make[4]: *** [build-oprofile-0.9.2.1rc1/Makefile] Error 1^M

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/oprofile'^M

make[3]: *** [all] Error 2^M

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps'^M

--

 

Follow-ups

 

--- Graf Yang                                                2009-02-04 04:20:50

Flat format build is OK. But shared-flat failed.

 

When configure script compile the conftest.c (attached below) failed, it report

"configure: error: bfd library not found".

 

I think it is a tool chain bug, reported at:

 

  blackfin.uclinux.org/gf/project/toolchain/tracker/?action=TrackerItemEdit&tracker_item_id=4853

 

--- Sonic Zhang                                              2009-03-02 05:40:55

Graf, please input the bug number which this bug is duplicated with. Then, close

this bug.

 

--- Graf Yang                                                2009-03-02 05:48:07

It duplicates with toolchain bug 4853, close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

conftest.c    text/x-csrc    110    Graf Yang

Attachments

Outcomes