<?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>12795</bug_id>
          
          <creation_ts>2018-06-19 01:11:55 +0000</creation_ts>
          <short_desc>[2.6 M1] gcc/g++ doesn&apos;t work on beaglebone black</short_desc>
          <delta_ts>2018-07-23 00:47:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>2.6</version>
          <rep_platform>BeagleBone</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Khem Raj">raj.khem</assigned_to>
          <cc>ee.peng.yeoh</cc>
    
    <cc>raj.khem</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>80807</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2018-06-19 01:11:55 +0000</bug_when>
    <thetext>Git rev: master/ddbd7b0cd6580ee26e11aa87e426fb294b372d64
Image location: https://autobuilder.yocto.io/pub/releases/yocto-2.6_M1.rc1/machines/beaglebone-yocto/

The gcc/g++ doesn&apos;t work on beaglebone black:

$ gcc -o test test.c
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU




$ cat test.c
#include &lt;stdio.h&gt;

int main()
{
        printf(&quot;Hello world!\n&quot;);
        return 0;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80823</commentid>
    <comment_count>1</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2018-06-20 02:25:13 +0000</bug_when>
    <thetext>Can you post the following.

log.do_configure and log.do_compile for target gcc ?

There was such an issue in gcc8 but it was fixed and I checked we
have that fix on OE gcc 8, therefore it must be something new</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80827</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2018-06-20 05:22:57 +0000</bug_when>
    <thetext>Patch is on ml
https://patchwork.openembedded.org/patch/151841/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80864</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-06-21 09:00:23 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d3139c29e332887d35892a1cbd4f799ed9a62327</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81161</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2018-07-23 00:47:38 +0000</bug_when>
    <thetext>Verified with 2.6 M2 RC1 build.
Poky git rev: b0f2f690a3513e4c9fa30fee1b8d7ac2d7140657</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>