<?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>1490</bug_id>
          
          <creation_ts>2011-09-16 11:33:46 +0000</creation_ts>
          <short_desc>Failure when adding or modifying a toolchain component with multilibs active</short_desc>
          <delta_ts>2011-09-21 18:27:58 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.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>16271</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-09-16 11:33:46 +0000</bug_when>
    <thetext>When adding or modifying toolchain components in a multilib configuration, &quot;configure&quot; may fail.

I modified eglibc&apos;s recipe and told bitbake to build.  It noticed the modification and tried to build the new eglibc resulting in:


checking how to run the C preprocessor... i586-oemllib32-linux-gcc -E 
--sysroot=/home/mhatle/git/oss/oe-core/build-x86_64/tmp-eglibc/sysroots/lib32-qemux86-tcbootstrap -m32 

configure: error: in`/home/mhatle/git/oss/oe-core/build-x86_64/tmp-eglibc/work/x86-oemllib32-linux/lib32-eglibc-2.13-r15+svnr14157/build-i586-oemllib32-linux&apos;:

configure: error: C preprocessor &quot;i586-oemllib32-linux-gcc -E --sysroot=/home/mhatle/git/oss/oe-core/build-x86_64/tmp-eglibc/sysroots/lib32-qemux86-tcbootstrap -m32&quot; fails sanity check

To reproduce this failure:

Configure a system such as:


MULTILIB_IMAGE_INSTALL = &quot;lib32-connman-gnome lib32-task-base-3g lib32-task-base-wifi lib32-task-base-bluetooth&quot;
require conf/multilib.conf
MULTILIBS = &quot;multilib:lib32&quot;
DEFAULTTUNE_virtclass-multilib-lib32 = &quot;x86&quot;
MACHINE_virtclass-multilib-lib32 = &quot;qemux86&quot;

MACHINE = &quot;qemux86_64

build core-image-minimal

Then edit the PR in eglibc.

build core-image-minimal a second time.

An alternative way of causing this failure:

configure MACHINE = &quot;qemux86_64&quot;

build core-image-minimal

edit the conf/local.conf and add the multilib items from above.

again attempt to build core-image-minimal

it will fail in a similar way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16282</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-09-19 00:24:32 +0000</bug_when>
    <thetext>I&apos;m not convinced this MACHINE_&lt;multilib-override&gt; stuff is a good idea at all. Shouldn&apos;t we be selecting different tune&apos;s instead?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16374</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-09-21 18:18:08 +0000</bug_when>
    <thetext>I tested this without the MACHINE_&lt;xxx&gt; variable change and was unable to reproduce. I think this is an artifact of specific patch which was rejected and an alternative merged. I&apos;m therefore closing this out unless someone can reproduce this against master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16375</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-09-21 18:27:58 +0000</bug_when>
    <thetext>I agree.  I have done similar configurations in the past few days and everything appears to be working properly now.  I&apos;m not sure what changed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>