<?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>13940</bug_id>
          
          <creation_ts>2020-06-12 05:54:28 +0000</creation_ts>
          <short_desc>Cannot enable Go in GCC</short_desc>
          <delta_ts>2026-08-20 15:04:29 +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>devtools / tool chain</component>
          <version>3.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <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>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87472</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-06-12 05:54:28 +0000</bug_when>
    <thetext>If I add LANGUAGES_append = &quot;,go&quot; to local.conf, gcc-cross fails to build:

| In file included from ../../../../../../../../work-shared/gcc-10.1.0-r0/gcc-10.1.0/libgcc/libgcc2.c:27:
| ../../../../../../../../work-shared/gcc-10.1.0-r0/gcc-10.1.0/libgcc/../gcc/tsystem.h:87:10: fatal error: stdio.h: No such file or directory
|    87 | #include &lt;stdio.h&gt;
|       |          ^~~~~~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87507</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-06-18 07:34:27 +0000</bug_when>
    <thetext>Khem are interested in adding gcc go.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88004</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2020-08-20 21:53:31 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Khem are interested in adding gcc go.

are there users interested in using gccgo ? since we have go compiler already in core, it might need some more persuation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88041</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-08-26 14:44:52 +0000</bug_when>
    <thetext>gccgo would be an interesting way to bootstrap a proper Go without needing binaries.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95194</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-03-23 15:47:48 +0000</bug_when>
    <thetext>FWIW just tried again with master and gcc 12.2, same issue:

| In file included from ../../../../../../../../work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgcc/libgcc2.c:27:
| ../../../../../../../../work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgcc/../gcc/tsystem.h:87:10: fatal error: stdio.h: No such file or directory
|    87 | #include &lt;stdio.h&gt;
|       |          ^~~~~~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96957</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:51 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>