From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Mon, 31 Mar 2014 14:44:59 +0900 From: kokamoto@hera.eonet.ne.jp Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Python/Mercurial error Topicbox-Message-UUID: d31277f8-ead8-11e9-9d60-3106f5b1d025 > On Wed, Mar 26, 2014 at 6:08 PM, David du Colombier <0intro@gmail.com> wrote: >> You can easily fix the generated include/plan9/plan9_libc.h file by >> hand for now. It seems /sys/include/libc.h is slightly different on >> 9atom, so the include/plan9/mklibc.rc script have to be adapted. Don't >> forget to comment out the generation of plan9_libc.h in src/make.rc. > > I tried that, David. The build proceeds but I get a trap now. > > pkg/text/template/parse > pkg/text/template > pkg/go/doc > pkg/go/build > cmd/go > sys: trap: invalid opcode pc=0x4d9e9 > PC=4d9e9 > > goroutine 16 [running]: > runtime.cmpbody() > [.....] > and then it prints a bunch of registers (ax, bx, .. pc, flags, cs .. > gs) and their values. :( I also had the same result using the recent Go code. This is cause by the line of $GOTOOLDIR/go_bootstrap cleaan -i std in make.rc. It can also make the same result for the $GOTOOLDIR/go_bootstrap install ... line. My go_bootstrap file size is 5143780. Has anyone solved this successfully? How? Kenji