<?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>14632</bug_id>
          
          <creation_ts>2021-11-16 23:16:09 +0000</creation_ts>
          <short_desc>glibc fails in do_configure on tune-i586 with --enable-cet option</short_desc>
          <delta_ts>2021-11-24 10:13: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>OE-Core</product>
          <component>core</component>
          <version>3.4</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>4.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Orling">tim.orling</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>raj.khem</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</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>92020</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2021-11-16 23:16:09 +0000</bug_when>
    <thetext>While building core-image-minimal on the &apos;honister-3.4&apos; tag of poky for tune-i586 (for the legacy kernel lab hands-on):

| checking whether CET can be enabled... no
| configure: error: i586-poky-linux-gcc  -m32 -march=i586  -Wdate-time --sysroot=/path/to/poky/build/tmp/work/i586-poky-linux/glibc/2.34-r0/recipe-sysroot doesn&apos;t support CET

The &apos;--enable-cet&apos; option is set since commit:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/glibc?h=honister&amp;id=51cf44884971d6fc919f2a799fb08ee61acf7518

but apparently this is not supported on i586 (needs i686+ apparently)
https://github.com/aristocratos/btop/issues/106#issuecomment-948722970

We could obviously do tune specific enablement, but that is messy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92021</commentid>
    <comment_count>1</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2021-11-16 23:28:11 +0000</bug_when>
    <thetext>perhaps we should just remove

EXTRA_OECONF_append_x86 = &quot; --enable-cet&quot;

and fix it for once.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92064</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-11-24 10:13:58 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=78bb5ff94300d058bf231e2b03c0464a379e9181</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>