<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>214</bug_id>
          
          <creation_ts>2010-08-17 09:31:08 +0000</creation_ts>
          <short_desc>oprofile recipe is failing to build on arm</short_desc>
          <delta_ts>2010-12-21 06:09:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Kevin Tian">kevin.tian</assigned_to>
          <cc>josh</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9317</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-17 09:31:08 +0000</bug_when>
    <thetext>$ MACHINE=qemuarm bitbake oprofile
.
.
.
file-0.9.6/libregex/tests&apos;
| make[2]: Leaving directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/libregex&apos;
| Making all in libpp
| make[2]: Entering directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/libpp&apos;
| make[2]: Nothing to be done for `all&apos;.
| make[2]: Leaving directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/libpp&apos;
| Making all in opjitconv
| make[2]: Entering directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/opjitconv&apos;
| /bin/sh ../arm-poky-linux-gnueabi-libtool --tag=CC   --mode=link ccache arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi -W -Wall -fno-common -Wdeclaration-after-statement -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types  -Wl,-O1 -Wl,--as-needed -o opjitconv opjitconv.o conversion.o parse_dump.o jitsymbol.o create_bfd.o debug_line.o ../libutil/libutil.a -lbfd -liberty -ldl
| arm-poky-linux-gnueabi-libtool: link: cannot find the library `/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/lib/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi/libz.la&apos; or unhandled argument `/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/lib/home/nitin/build/build-eglibc/tmp/sysroots/armv5te-poky-linux-gnueabi/libz.la&apos;
| make[2]: *** [opjitconv] Error 1
| make[2]: Leaving directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6/opjitconv&apos;
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/nitin/build/build-eglibc/tmp/work/armv5te-poky-linux-gnueabi/oprofile-0.9.6-r0/oprofile-0.9.6&apos;
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: package oprofile-0.9.6-r0: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
.
.
.
ERROR: &apos;/home/nitin/prj/poky.git/meta/packages/oprofile/oprofile_0.9.6.bb&apos; failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9356</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-08-24 03:51:12 +0000</bug_when>
    <thetext>Is this failing only with eglibc?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9362</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-08-24 07:21:47 +0000</bug_when>
    <thetext>It was not specific to eglibc. I think there is a commit done by Kevin in the master to fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9363</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-08-24 07:35:50 +0000</bug_when>
    <thetext>Kevin, can you update on whether you&apos;ve fixed this bug?

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9367</commentid>
    <comment_count>4</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-08-24 17:03:29 +0000</bug_when>
    <thetext>yes, I think it has been fixed. Sorry that I don&apos;t know there&apos;s a bug reported before:

commit 4cdaa1789a82a89121c0c2b91724848755f12863
Author: Kevin Tian &lt;kevin.tian@intel.com&gt;
Date:   Fri Aug 20 13:13:36 2010 +0800

    gdb: disable installation of bfd/iberty/opcodes

    Those are assumed to be provided by binutils, so we disable installation
    here. Without doing so, a broken libbfd.la from gdb is installed to sysroot
    which overrides binutils version and then hurt other packages such as
    oprofile

    also fix --with-readline to --with-system-readline

    Signed-off-by: Kevin Tian &lt;kevin.tian@intel.com&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>