> On Wed, Mar 26, 2014 at 6:08 PM, David du Colombier <[email protected]> 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


Reply via email to