<?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>11351</bug_id>
          
          <creation_ts>2017-04-13 09:36:41 +0000</creation_ts>
          <short_desc>go-native: do_compile failed when len(tmp) = 410</short_desc>
          <delta_ts>2020-07-07 15:58:16 +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.3</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>3.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Jeremy A. Puhlman">jpuhlman</assigned_to>
          <cc>jpuhlman</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>72438</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2017-04-13 09:36:41 +0000</bug_when>
    <thetext>Log data follows:
| DEBUG: Executing shell function do_compile
| # Building C bootstrap tool.
| cmd/dist
|
| # Building compilers and Go bootstrap tool for host, linux/amd64.
| lib9
| gcc -isystem/buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/x86_64-linux/go-bootstrap-native/1.4.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wall -Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 -c -m64 -I /buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/x86_64-linux/go-bootstrap-native/1.4.3-r0/go/include -DPLAN9PORT -I /buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/x86_64-linux/go-bootstrap-native/1.4.3-r0/go/src/lib9 -o $WORK/_exits.o /buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/x86_64-linux/go-bootstrap-native/1.4.3-r0/go/src/lib9/_exits.c
| exec gcc: No such file or directory
| gcc -isystem/buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/x86_64-linux/go-bootstrap-native/1.4.3-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wall -Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 -c -m64 -I /buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/x86_64-linux/go-bootstrap-native/1.4.3-r0/go/include -DPLAN9PORT -I /buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/x86_64-linux/go-bootstrap-native/1.4.3-r0/go/src/lib9 -o $WORK/_p9dir.o /buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/x86_64-linux/go-bootstrap-native/1.4.3-r0/go/src/lib9/_p9dir.c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72439</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2017-04-13 09:44:36 +0000</bug_when>
    <thetext>I suggest assign it to the one who is familiar with go language.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87675</commentid>
    <comment_count>2</comment_count>
    <who name="Jeremy A. Puhlman">jpuhlman</who>
    <bug_when>2020-07-02 11:11:39 +0000</bug_when>
    <thetext>Taking for now. This is resolved in 3.2 already due to the specific recipe not being used anymore. Building go-native is successful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87706</commentid>
    <comment_count>3</comment_count>
    <who name="Jeremy A. Puhlman">jpuhlman</who>
    <bug_when>2020-07-07 15:58:16 +0000</bug_when>
    <thetext>This specific issue seems to be resolved for 3.2.

go-binary-native seems to have replaced go-bootstrap-native. 

Building go-native works okay as well. I think this has been resolved by the reorganization of the go build itself.

Moving to fixed.

Exact fix here:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2a7a37e70d3709a0e2ca96d0341bbde102ee9978.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>