<?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>9359</bug_id>
          
          <creation_ts>2016-03-31 00:03:24 +0000</creation_ts>
          <short_desc>man configure script uses cross-compiler for tests</short_desc>
          <delta_ts>2016-04-01 17:03:08 +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>core</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bill Randle">bill.randle</reporter>
          <assigned_to name="Bill Randle">bill.randle</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60560</commentid>
    <comment_count>0</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-03-31 00:03:24 +0000</bug_when>
    <thetext>The configure script for &apos;man&apos; uses $CC (the cross-compiler) instead of $BUILD_CC (the build compiler). As a result, any configure test that rely on a working executable fail when target arch is not the same as the host arch.

It also bases its config settings on the host features, rather than target features. This could result in compile errors if the host and target architecture and/or compilers are significantly different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60564</commentid>
    <comment_count>1</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-03-31 05:09:04 +0000</bug_when>
    <thetext>Change the script to use the build compiler, but use the target include files to check for the target features. This works because the feature testing is using include file contents and not the actual result of the test compile.

Patch submitted to OE mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60693</commentid>
    <comment_count>2</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-04-01 17:03:08 +0000</bug_when>
    <thetext>Merged to master and verified by Richard Purdie.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-extended/man?id=5293b834c1f5bfdf45d86485cd63b98c6b1bce5c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>