[#4696] oprofile kernel building failed with gcc4.3 toolchain in trunk

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

[#4696] oprofile kernel building failed with gcc4.3 toolchain in trunk

Submitted By: Vivi Li

Open Date

2008-12-04 05:06:58     Close Date

2008-12-15 21:08:52

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:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain 4.3 - 2008_Dec_04

App binary format:

N/A     

Summary: oprofile kernel building failed with gcc4.3 toolchain in trunk

Details:

 

Built of oprofile kernel failed in trunk with gcc4.3 toolchain in trunk.

 

Bellow is the log:

--

bfin-uclinux-g++ -DHAVE_CONFIG_H -I. -I.. -I../../oprofile-0.9.2.1rc1/libutil++  -I ../../oprofile-0.9.2.1rc1/libutil -I ../../oprofile-0.9.2.1rc1/libop -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist.537  -mcpu=bf537-0.2 -W -Wall -fno-common -ftemplate-depth-50 -pipe -Wall  -mcpu=bf537-0.2 -c -o bfd_support.o ../../oprofile-0.9.2.1rc1/libutil++/bfd_support.cpp

In file included from ../../oprofile-0.9.2.1rc1/libutil++/bfd_support.cpp:13:

../../oprofile-0.9.2.1rc1/libutil++/op_bfd.h:160: warning: type qualifiers ignored on function return type

../../oprofile-0.9.2.1rc1/libutil++/bfd_support.cpp: In function ‘bool<unnamed>::get_debug_link_info(bfd*, std::string&, long unsigned int&)’:

../../oprofile-0.9.2.1rc1/libutil++/bfd_support.cpp:82: error: ‘strlen’ was not declared in this scope

../../oprofile-0.9.2.1rc1/libutil++/bfd_support.cpp: In function ‘bool interesting_symbol(asymbol*)’:

../../oprofile-0.9.2.1rc1/libutil++/bfd_support.cpp:344: error: ‘strcmp’ was not declared in this scope

../../oprofile-0.9.2.1rc1/libutil++/bfd_support.cpp: In destructor ‘bfd_info::~bfd_info()’:

../../oprofile-0.9.2.1rc1/libutil++/bfd_support.cpp:398: error: ‘free’ was not declared in this scope

make[7]: *** [bfd_support.o] Error 1

make[7]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist.537/user/blkfin-apps/oprofile/build-oprofile-0.9.2.1rc1/libutil++'

--

 

Follow-ups

 

--- Graf Yang                                                2008-12-11 02:27:09

We need include cstdlib and cstring when compile oprofile 0.9.1 and 0.9.2.1rc1.

 

--- Vivi Li                                                  2008-12-15 21:08:52

This problem is fixed now.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes