<?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>4148</bug_id>
          
          <creation_ts>2013-03-28 22:20:56 +0000</creation_ts>
          <short_desc>Add a mechanism to build a package that is the same bitsize as the machine</short_desc>
          <delta_ts>2021-02-04 02:27:42 +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>unspecified</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>enhancement</bug_severity>
          <target_milestone>3.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>frederico.cadete</cc>
    
    <cc>jeff.polk</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31283</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2013-03-28 22:20:56 +0000</bug_when>
    <thetext>There are a few cases where the userspace application has to be built as the same bitsize (32-bit/64-bit) as the kernel.  In a multilib configuration where the default multilib does not match the kernel&apos;s bitsize this is very difficult for a new user to do.

For example:

a powerpc64 kernel would usually have a 32-bit (powerpc) filesystem.  Something like &apos;crash&apos; needs to be built 64-bit in this case.  So the user is forced to know they have to build &quot;lib64-crash&quot; and not just &apos;crash&apos;.

There should be a way the user can ask for &apos;crash&apos;, and instead they get &apos;lib64-crash&apos; to build and be installed as necessary.

This is important because image / packagegroup recipes may have things like &apos;crash&apos; hardcoded into them, but that package won&apos;t actually work on the target system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79223</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2018-01-25 16:22:27 +0000</bug_when>
    <thetext>Jackie, Is this still a problem for the crash package?
If so, it would be good to fix early in 2.6 unless you have a low risk change now for oe-core-2.5M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79228</commentid>
    <comment_count>2</comment_count>
    <who name="Jackie Huang">jackie.huang</who>
    <bug_when>2018-01-26 08:24:33 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Jackie, Is this still a problem for the crash package?

Yes, it still be a problem.

&gt; If so, it would be good to fix early in 2.6 unless you have a low risk
&gt; change now for oe-core-2.5M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88492</commentid>
    <comment_count>3</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2020-10-26 18:49:28 +0000</bug_when>
    <thetext>I think it could be fixed by adding crash to NON_MULTILIB_RECIPES which is introduced by commit 25f7c6c329038b443d36074fff45a30ba3712f7a.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89132</commentid>
    <comment_count>4</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2021-02-04 02:27:42 +0000</bug_when>
    <thetext>Fixed by
https://git.openembedded.org/meta-openembedded/commit/?id=d80fe97166347006fcfee2dae9bc80ec666174ae</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>