<?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>632</bug_id>
          
          <creation_ts>2011-01-05 07:49:07 +0000</creation_ts>
          <short_desc>gcc 4.2.4 (ubuntu) goes into busyloop on building elfutils_0.148</short_desc>
          <delta_ts>2011-02-14 20:44:06 +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>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aleksandr Koltsoff">aleksandr.koltsoff</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>aleksandr.koltsoff</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>11400</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksandr Koltsoff">aleksandr.koltsoff</who>
    <bug_when>2011-01-05 07:49:07 +0000</bug_when>
    <thetext>Using hardy (8.04) and building minimal image for qemuarm leads cc into busyloop. Quite likely a bug in gcc-4.2.4 (Ubuntu 4.2.4-1ubuntu4).

Three hosts were tested:
 * x86_64 running 8.04 (mostly clean install)
 * i686 running 8.04 (vm, clean pristine install with all updates)
 * i686 running 10.04 (vm, clean pristine install with all updates)

Both 8.04 end up in cc1 using 100% CPU without making any system calls (busyloop) indefinitely. The directory which gcc is building is libdwfl. 10.04/Lucid works without problems (newer gcc).

Also, on x86_64 tested the same target using master, with same results, so issue is not 0.9/4.0-specific.

Steps to recreate:
 1. Get a clean 8.04 and do all updates
 2. Using the yocto project quick start document, install the recommended packages.
 3. Get and extract laverne-4.0 as per instructions.
 4. Install python2.6 as per https://lists.yoctoproject.org/pipermail/yocto/2010-December/000447.html
 5. source poky-laverne-4.0/poky-init-build-env poky-4.0-build (as per quick start)
 6. The following modifications were done to local.conf:
DL_DIR ?= /auto/oe-sources
MACHINE ?= &quot;qemuarm&quot;
SDKMACHINE ?= &quot;i586&quot; (for non-x86-64 targets)
 6. bitbake elfutils-native-0.148-r1
 7. Fix the 2 remaining issues that bitbake env check complains about (vm.mmap start, default shell)
 8. elfutils-native-0.148-r1
 9. Get a lot of coffee and come back to observe cc1 stuck at 100%

Other things ruled out so far (changing these had no effect):
 * parallel builds / parallel threads
 * ccache
 * psyco
 * using master vs 0.9 tarball</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11401</commentid>
    <comment_count>1</comment_count>
    <who name="Aleksandr Koltsoff">aleksandr.koltsoff</who>
    <bug_when>2011-01-05 07:51:05 +0000</bug_when>
    <thetext>Step 8 should read:
 8. bitbake elfutils-native-0.148-r1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11532</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-01-19 17:30:35 +0000</bug_when>
    <thetext>is there a hardy (8.04) system for me to use. All the systems I work on are Fedora.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11533</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-01-19 17:31:25 +0000</bug_when>
    <thetext>is there a hardy (8.04) system for me to use. All the systems I work on are Fedora.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11658</commentid>
    <comment_count>4</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-02-01 17:30:06 +0000</bug_when>
    <thetext>I see the latest hardy is 8.04.4 LTS, does it happen on it ? I am about to install ubuntu on a system, just checking which is right ubuntu to install.

Thanks,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11696</commentid>
    <comment_count>5</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-02-08 14:26:10 +0000</bug_when>
    <thetext>Can not reproduce :( met python error with current poky master branch.

$ bitbake elfutils
Pseudo is not present but is required, building this first before the main build
Sorry, python 2.6.0 or later is required for this version of bitbake</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11698</commentid>
    <comment_count>6</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-02-08 15:10:50 +0000</bug_when>
    <thetext>updated hardy gave me this:
# python --version
Python 2.5.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11741</commentid>
    <comment_count>7</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-02-14 16:19:25 +0000</bug_when>
    <thetext>So from python&apos;s point of view, the hardy distro is too old to run our bitbake. So is it worth going after the older distro for this bug ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11766</commentid>
    <comment_count>8</comment_count>
    <who name="Aleksandr Koltsoff">aleksandr.koltsoff</who>
    <bug_when>2011-02-14 20:44:06 +0000</bug_when>
    <thetext>It&apos;s possible to get a working python also on Hardy. However, since Hardy on Desktop is coming to its end-of-life soon (end of security updates for desktop), maybe you&apos;re right to move this into obsolete (I&apos;m ok with it).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>